Top Banner
Multicasting A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet
66

Multicasting A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Jan 08, 2018

Download

Documents

Samantha Weaver

Multicasting
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Multicasting A message can be unicast, multicast, or

broadcast. Let us clarify these terms as they relate to the Internet

Page 2: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Unicasting

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

Page 3: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Multicasting

Page 4: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 5: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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. Email

There will be a delay between packets in MU

Page 6: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Multicasting versus multiple unicasting

Page 7: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Multicast Applications Multicasting has many applications today such

as access to distributed databases information dissemination teleconferencing distance learning

Page 8: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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 networksTwo types Source based tree Group shared tree

Page 9: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 10: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Source-based tree approach

Page 11: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 12: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Group-shared tree approach

Page 13: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Taxonomy of common multicast protocols

Page 14: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Mulitcast link state routing Multicast link state routing uses the source-

based tree approach. Information about a group comes from

IGMP

Page 15: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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.

Page 16: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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.

Page 17: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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.

Page 18: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 19: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

RPF

Page 20: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Figure 15.9 Problem with RPF

Page 21: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Reverse Path Broadcasting(RPB)

Page 22: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Figure 15.10 RPF versus RPB

Page 23: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Reverse path multicating(RPM) RPM adds pruning and grafting to RPB to

create a multicast shortest path tree that supports dynamic membership changes

Page 24: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

RPF, RPB, and RPM

Page 25: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Distance Vector Multicast Routing Protocol (DVMRP) Is an implementation of multicast

distance vector routing. It is a source based routing protocol

Page 26: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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.

Page 27: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 28: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Group-shared tree with rendezvous router

Page 29: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Sending a multicast packet to the rendezvous router

Page 30: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 31: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

If router wants to leave the group it sends a leave message to upstream router.

Difference 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

Page 32: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Host Configuration: BOOTP and DHCP

Page 33: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 34: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

same network

Page 35: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 36: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Client and server on the same network

Page 37: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Client and server on two different networks

Page 38: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Use of UDP ports

Page 39: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 40: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 41: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

BOOTP packet format

Page 42: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 43: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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: 99.130.83.99

Page 44: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Option format

Page 45: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Options for BOOTP

Page 46: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

DHCP In BOOTP binding is predetermined The Dynamic Host Configuration Protocol

(DHCP) provides static and dynamic address allocation that can be manual or automatic

Page 47: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Static Address allocation

Backward compatible with BOOTP A DHCP server has a database that

statically binds physical address to IP address

Page 48: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Dynamic Address Allocation Use a second database When a DHCP client requests a

temporary IP address, the DHCP server goes to the pool of available(unused) IP address and assigns an IP address for a negotiable period of time.

First check the static database

Page 49: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 50: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Packet Format

Page 51: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

DHCP packet

Page 52: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Flag 1 bit flag – to let the client specify a

forced broadcast reply from the server

Page 53: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Options Tag 53

Page 54: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Options Other option include

51 :Lease time58 : Renewal (T1) time value59 : Rebinding (T2) time value

Page 55: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Transition States DHCP client transitions from one state to

another depending on the message it receives of sends

Page 56: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

DHCP transition diagram

Page 57: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Initializing state When the DHCP client first starts, it is in

the initializing state. Client broadcast the DHCPDISCOVER

message Using port 67

Page 58: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 59: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 60: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 61: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Renewal state Client remains in the renewal state until

one of two events happens1) It can receive a DHCPACK, which renews the lease agreementClient reset the timergoes back to bound state

Page 62: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

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

Page 63: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Rebinding state The client remains in rebinding state until of three

events happens1) Client receives a DHCPNACK2) The lease time expires3) DHCPACKIn the first two it goes to initializing state and try to

get another IP addressIn the third it goes to bound state

Page 64: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.

Exchanging messages

Page 65: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Page 66: Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.