Docsity

Broadcast and Multicast - Computer Networks and Protocols - Lecture Notes, Study notes of Computer Networks

Partial preview of the text

Download Broadcast and Multicast - Computer Networks and Protocols - Lecture Notes and more Study notes Computer Networks in PDF only on Docsity!

Broadcast: sending something to all

nodes in a localized domain of nodes.

Multicast: sending something to a

dynamically defined, distributed domain

of nodes that are not part of a single

locale.

Broadcast and multicast

Broadcast and multicast

Thursday, October 20, 2005

8:47 AM

Docsity.com

 Link: ethernet

 IP: subnet

Kinds of broadcast

 send to wire address: ff:ff:ff:ff:ff:ff

role of switch: forward to all connected

links

problem: what if you forward something

from whence it came?

Ethernet broadcast:

Kinds of broadcast

Thursday, October 20, 2005

8:48 AM

Docsity.com

destination.

IP broadcast is UDP only.

Limitations of broadcast occur at both link and

network layers.

Caveats:

Docsity.com

 Address resolution: ARP

 network bootstrapping: DHCP

 resource exposure and discovery: RIP

Uses of broadcast

Uses of broadcast

Thursday, October 20, 2005

8:48 AM

Docsity.com

Assigns internet addresses according to ethernet

address

 Allows pooled addressing and sharing of addresses

 Maintains a MAC/IP mapping (the lease table)

 Arranges for IP address reuse.

DHCP: dynamic host configuration protocol

 new host has no IP address.

 Destination host: 255.255.255.

Source host: 0.0.0. 

 Fake packet: can't do real UDP yet.

UDP wire broadcast sent as etherbroadcast: what

is my IP?

 Source host: DHCP server.

 Destination host: real IP address of host.

 Ether address: MAC address of host.

Forged packet: UDP doesn't work yet! 

Directed response to ether-address: you are:

{ IP/gateway/DNS/WINS/etc }

Host response: configure itself with given

parameters.

 avoiding manual numbering.

 centralizing numbering.

 using pool addressing.

 Uses of DHCP:

Function of DHCP

DHCP

Thursday, October 20, 2005

8:49 AM

Docsity.com

Local domain (UDP) broadcast: to

connected subnets

Contains routing information for other

routers and hosts to use.

RIP: routing information protocol

RIP

Thursday, October 20, 2005

8:50 AM

Docsity.com

special address: all 1's in variant part of

subnet address.

e.g., broadcast address for

130.64.23.0/24 is 130.64.23.

In practice: converted to etherbroadcast

at subnet level; sent on ethernet;

received and interpreted as UDP.

Subnet broadcast (UDP)

Subnet broadcast

Thursday, October 20, 2005

8:52 AM

Docsity.com

Broadcasting is easy if one is on "one

wire" with no switches: use pure

etherbroadcast.

If switches are in path, must constrain

broadcast to avoid "broadcast storms"

(typically via spanning tree).

If broadcasting to multiple subnets, must

somehow forward packets to other

subnets without redundancy.

If broadcasting to a wireless ad-hoc

domain, must forward packets through all

intermediate nodes

Broadcast caveats

Notes on broadcast

Thursday, October 27, 2005

6:08 AM

Docsity.com

maximize reachability : the ratio of hosts in

the domain that receive the broadcast to

all hosts in the domain (max 1.0).

minimize overhead : the number of packets

utilized to send the broadcast. Also known

as retransmissions.

The broadcasting game

The broadcasting game

Thursday, March 15, 2012

5:42 PM

Docsity.com

Kinds of broadcast in multi-subnet situations

 unconstrained flooding

 by spanning tree

 by sequence number

 by reverse-path flooding (RPF).

 choked/controlled flooding

and ad-hoc routing:

Kinds of broadcast

Thursday, October 20, 2005

8:52 AM

Docsity.com

Example of reverse path forwarding

Thursday, March 15, 2012

5:43 PM

Docsity.com

Non-local multiple machine

communications

clients subscribe to a multicast

address.

content-provider then "pushes"

content to subscribers only.

 publish-subscribe model

Multicast:

Multicast

Thursday, October 20, 2005

9:00 AM

Docsity.com

Multicast address : a special IP address with a reserved

meaning ("class D address")

http://www.iana.org/assignments/multicast-addresses

 224/8 to 239/

Internet Group Management Protocol (IGMP: RFC

3376): manages multicast subscriptions

Internet group : a set of subscribers.

Basics of Multicast

membership_query (router to host): are you a

member of this multicast group?

membership_report: (host to router) yes or no (also

serves as join_group message).

leave_group (host to router): I'm not in this group

anymore.

IGMP operations

Basics of Multicast

Thursday, October 20, 2005

9:01 AM

Docsity.com

Dynamics of multicast

Thursday, October 20, 2005

9:01 AM

Docsity.com