Multicasting  A message can be unicast, multicast, or broadcast.

Slides:



Advertisements
Similar presentations
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 12 Multicasting And Multicast.
TCP/IP Protocol Suite 1 Chapter 15 Upon completion you will be able to: Multicasting and Multicast Routing Protocols Differentiate between a unicast, multicast,
Dynamic Host Configuration Protocol (DHCP)
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers due.
BOOTP and DHCP Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
MULTICASTING Network Security.
Host Configuration: BOOTP and DHCP
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Multicasting And Multicast Routing Protocols.
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Bootstrap and Autoconfiguration (DHCP)
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
CMPT 471 Networking II DHCP © Janice Regan,
資 管 Lee Application Layer and Client-Server Model A3.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Computer Networks22-1 Chapter 22. Network Layer: Delivery, Forwarding, and Routing 21.1 Delivery 21.2 Forwarding 21.3 Unicast Routing Protocols 21.4 Multicast.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
DHCP Dynamic Host Configuration Protocol (RFC 2131) Michael Sadowsky CISC University of Delaware October 12, 2004 BOOTP Bootstrap Protocol (RFC.
Sublayers Under the Network Layer: BOOTP & DHCP
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
Bootstrap and Autoconfiguration Chapter 23. Introduction Each computer attached to a TCP/IP internet needs to know: –its IP address –the address of a.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 15 Multicasting and Multicast Routing
© J. Liebeherr, All rights reserved 1 Multicast Routing.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
TCP/IP Protocol Suite 1 Chapter 16 Upon completion you will be able to: Host Configuration: BOOTP and DHCP Know the types of information required by a.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Chapter 17 BOOTP and DHCP.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Chapter 18 Host Configuration : DHCP
Chapter 22 Bootstrap and Auto configuration (DHCP) History of Bootstrap -Bootstrap is used to assign IP address to the computer. -Constant changes in the.
1 Network Address Translation (NAT) and Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about private networks and NAT.
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
©The McGraw-Hill Companies, Inc., 2000© Adapted for use at JMU by Mohamed Aboutabl, 2003Mohamed Aboutabl1 1 Chapter 14 Multicasting And Multicast Routing.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
Information and Communication engineering (ICE) MUT ITEC4610 Network Switching and Routing ดร. ประวิทย์ ชุมชู หัวหน้าสาขาวิชาวิศวกรรมสารสนเทศและการสื่อสาร.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Dynamic Host Configuration Protocol (DHCP) DHCP provides a temporary IP address for a limited period of time DHCP has two databases. First one has static.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
TCP/IP Protocol Suite 1 Multicasting and Multicast Routing Protocols Differentiate between a unicast and a multicast message Understand multicast link.
22.1 Network Layer Delivery, Forwarding, and Routing.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
Dynamic Host Configuration Protocol (DHCP)
Multicasting protocols
(How the routers’ tables are filled in)
Host Configuration: BOOTP and DHCP
Dynamic Host Configuration Protocol (DHCP)
BOOTP and DHCP Objectives
Net 431 D: ADVANCED COMPUTER NETWORKS
UNIT III ROUTING.
Host Configuration: BOOTP and DHCP
Multicasting and Multicast Routing Protocols
Chapter 18 Host Configuration : DHCP
Chapter 16 Host Configuration : BOOTP and DHCP
Chapter 18 Host Configuration : DHCP
IP Multicast COSC /5/2019.
Dynamic Host Configuration Protocol (DHCP)
Chapter 12 Multicasting And Multicast Routing Protocols
Presentation transcript:

Multicasting  A message can be unicast, multicast, or broadcast.

Unicasting In unicasting, the router forwards the received packet through only one of its interfaces.

Multicasting

 In multicasting, the router may forward the received packet through several of its interfaces.  In multicasting communications there is one source and a group of destinations  In broadcasting there is one source but all of other hosts are the destinations

Multicasting and multiple unicasting  Multicasting starts with one single packet from the source that is duplicated by the router  The destination address in each packet is the same for all duplicates  In multiple unicasting several packets starts from the source. Destination address will be different in each packet  There may be multiple copies traveling between two routers---E.g.  There will be a delay between packets in MU

Multicasting versus multiple unicasting

Multicast Applications  Multicasting has many applications today such as  access to distributed databases  information dissemination  teleconferencing  distance learning

Multicast Routing  In multicast routing, each involved router needs to construct a shortest path tree for each group  When a router receives a multicast packet it forwards to different networks Two types  Source based tree  Group shared tree

Source Based Tree  In the source-based tree approach, each router needs to have one shortest path tree for each group.  If the number of groups is m, each router needs to have m shortest path trees, one for each group

Source-based tree approach

Group Shared Tree  In the group-shared tree approach, only the core router, which has a shortest path tree for each group, is involved in multicasting.  Instead of each router having m shortest path tree, only one designated router called the centre core or rendezvous router, takes the responsibility of distributing multicast traffic

Group-shared tree approach

Taxonomy of common multicast protocols

Mulitcast link state routing  Multicast link state routing uses the source- based tree approach.  Information about a group comes from IGMP

Multicast Open Shortest Path First (MOSPF)  Multicast Open Shortest Path First protocol is an extension of OSPF protocol that uses multicast link state routing to create source based tree.

Multicast distance vector routing  Multicast distance vector routing uses source based tree  But router never makes the routing table  When a router receives a multicast packet it forwards the packet as though it is consulting a routing table.

Flooding  A router receives a packet and without even looking at the destination group address, send it out from every interface except the one from which it was received.

Reverse path forwarding(RPF)  In RPF a router forwards only the copy that has traveled the shortest path from the source to the router.  No loops  But duplicate copies may receive

RPF

Figure 15.9 Problem with RPF

Reverse Path Broadcasting(RPB)

Figure RPF versus RPB

Reverse path multicating(RPM)  RPM adds pruning and grafting to RPB to create a multicast shortest path tree that supports dynamic membership changes

RPF, RPB, and RPM

Distance Vector Multicast Routing Protocol (DVMRP)  Is an implementation of multicast distance vector routing.  It is a source based routing protocol

CBT  The Core-Based Tree (CBT) protocol is a group-shared protocol that uses a core as the root of the tree. The autonomous system is divided into regions and a core (center router or rendezvous router) is chosen for each region.

 Every router is informed of the unicast address of the selected rendezvous router  Each router then sends a unicast join message  Intermediate router extracts information such as unicast address of sender and interfaces through which it has passed  When all message received a tree is formed at rendezvous router

Group-shared tree with rendezvous router

Sending a multicast packet to the rendezvous router

In CBT, the source sends the multicast packet (encapsulated in a unicast packet) to the core router. The core router decapsulates the packet and forwards it to all interested interfaces

 If router wants to leave the group it sends a leave message to upstream router.  Difference between DVMRP  1) tree is first made and then pruned but in CBT initial no tree, joining gradually makes the tree  2) made from the root up but CBT formed from the leaves down

32 PIM Protocol Independent Multicast (PIM) is the name given to two independent multicast routing protocols: Protocol Independent Multicast, Dense Mode (PIM-DM) and Protocol Independent Multicast, Sparse Mode (PIM-SM).

33 PIM-DM is used in a dense multicast environment, such as a LAN.

34 PIM-DM uses RPF and pruning/grafting strategies to handle multicasting. Like DVMRP,However, it is independent from the underlying unicast protocol.

35 PIM-SM is used in a sparse multicast environment such as a WAN.

36 PIM-SM is similar to CBT but uses a simpler procedure.  Does not require acknowledgement  Creates backup set of rendezvous point for each region to cover RP failures  Can switch from group shared tree to source based tree

 Host Configuration: BOOTP and DHCP

BOOTP  The Bootstrap Protocol (BOOTP) is a client/server protocol that configures a diskless computer or a computer that is booted for the first time.  BOOTP provides the IP address, subnet mask, the address of a default router, and the address of a name server.  Configuration file

 RARP provides only IP address  Both client and server should be on same network

Operations  BOOTP server issues a passive open command on UDP port number 67 and waits for client  A BOOTP client issues an active open command on port number 68  This message is encapsulated in UDP datagram and in turn encapsulated in IP datagram  IP addresses of client and server will be all zeros and all ones  Server responds

Client and server on the same network

Client and server on two different networks

Use of UDP ports

Using TFTP  In the reply message server defines the path name of a file in which the client can find complete booting information.  Client then uses TFTP to obtain the rest of information

Error Control  BOOTP requires UDP uses the checksum  BOOTP client uses timers and a retransmission policy if it does not receive the BOOTP reply to a request.  Timers will be set randomly

BOOTP packet format

 Operation Code: 8 bit: 1 request 2 reply  Hardware type: type of physical network for Ethernet value is 1  Hardware Length: 8 bit: length of physical address  Hop count: 8bit Specifies max no of hops a packet can travel  Transaction ID: 4 byte: integer  Number of seconds: 16 bit: elapsed since the client started to boot  Client IP address : 4 byte  Your IP address : 4 byte

 Server IP address : 4 byte  Gateway IP address: 4 byte: IP address of router  Client hardware address: Physical address of client  Server name: optional 64 byte : contains domain name of the server  Bootfile name: optional 128 byte: full path name of the bootfile  Options: 64 byte: only in reply it is used server uses a number called magic cookie in the format of IP address with the value:

Option format

Options for BOOTP

DHCP  In BOOTP binding is predetermined  The Dynamic Host Configuration Protocol (DHCP) provides static and dynamic address allocation that can be manual or automatic

Static Address allocation Backward compatible with BOOTP A DHCP server has a database that statically binds physical address to IP address

Dynamic Address Allocation  Use a second database- pool of IP addresses  When a DHCP client requests  First check the static database  If not, the DHCP server selects a temporary IP address from the pool of available(unused) and assigns an IP address for a negotiable period of time.

Manual and automatic configuration  Mapping the IP address to physical address configuration  In BOOTP it is manual  In DHCP it has both manual and automatic  Static addresses are created manually  Dynamic addresses are created automatically

Packet Format

DHCP packet

Flag  1 bit flag – to let the client specify a forced broadcast reply from the server

Options  Tag 53

Options  Other option include 51 :Lease time 58 : Renewal (T1) time value 59 : Rebinding (T2) time value

Transition States  DHCP client transitions from one state to another depending on the message it receives or sends

DHCP transition diagram

Initializing state  When the DHCP client first starts, it is in the initializing state.  Client broadcast the DHCPDISCOVER message  Using port 67

Selecting State  After sending DHCPDISCOVER message client goes to selecting state  Servers respond with DHCPOFFER  Offers IP address, Lease time  Default lease time is 1hour  Client select the offer of one server and send DHCPREQUEST message  Client goes to requesting state

Requesting State  The client remains in the requesting state until it receives a DHCPACK message from the server which creates a binding between the client physical address and its IP address.  After the receipt of DHCPACK client goes to bound state

Bound State  Client uses the IP address until the lease expires  When 50% of the lease period is reached, client sends another DHCPREQUEST to ask for renewal.  Then goes to renewal state

Renewal state  Client remains in the renewal state until one of two events happens 1) It can receive a DHCPACK, which renews the lease agreement Client reset the timer goes back to bound state

2) No DHCPACK is received and 87.5 % of the lease time expires, the client goes to rebinding state

Rebinding state  The client remains in rebinding state until of three events happens 1) Client receives a DHCPNACK 2) The lease time expires 3) DHCPACK In the first two it goes to initializing state and try to get another IP address In the third it goes to bound state

Exchanging messages