CS 204: Multicast
Jiasi Chen Lectures: MWF 12:10-1pm in WCH 139 http://www.cs.ucr.edu/~jiasi/teaching/cs204_spring16/
1
CS 204: Multicast Jiasi Chen Lectures: MWF 12:10-1pm in WCH 139 - - PowerPoint PPT Presentation
CS 204: Multicast Jiasi Chen Lectures: MWF 12:10-1pm in WCH 139 http://www.cs.ucr.edu/~jiasi/teaching/cs204_spring16/ 1 Overview Basics Routing algorithms Flooding Spanning trees RPB TRPB RPM Implementations of
Jiasi Chen Lectures: MWF 12:10-1pm in WCH 139 http://www.cs.ucr.edu/~jiasi/teaching/cs204_spring16/
1
2
same content
unicast do?
3
Multicast source Multicast destination User not part of multicast group
4
Multicast source Multicast destination User not part of multicast group
subscribed to
5
6
7
8
Unique part of MAC address 224.10.8.5 May not be unique
9
10
How do hosts talk to routers?
11
12
Router
“Which groups are you part of?” Each client: “I am part of group g”
timer T
g
g
g expires, send my report
13
14
Source-based trees Shared tree What kind of distribution tree? Flood-and-prune Core-based tree Who is part of my multicast group?
15
How to route the packets?
16
Benefits
Disadvantages
17
Advantages
Disadvantages
18
a) If received packet on my shortest path to source b) to all “downstream” routers c) to hosts on your subnet Benefits
construct a new tree for each source
Disadvantages
connected to multicast groups
19
to source
a) If received packet on my shortest path to source b) to all “downstream” routers c) to hosts on your subnet if they are part of the multicast group
21
prune prune prune Benefits
and between routers Disadvantages
routers
a) If received packet on my shortest path to source b) to all “downstream” routers c) to hosts on your subnet if they are part
d) If a “prune” message hasn’t been received
22
23
Link state based
source and set of destinations
information Disadvantage
shortest path if user joins/leaves
24
Distance-vector based
to neighbors
cost = infinity to upstream router prune prune prune
25
p = prune message sent/received
explicitly remove
join
26
27
28
Rendezvous point Center-based tree
Source
Receiver
RP
Algorithm Flood-and-prune or center- based? Source-based or shared tree? Flooding/spanningtree Flood Shared RPB Flood Source RPM Flood-and-prune Source DVMRP Flood-and-prune Source PIM-Dense Flood-and-prune Source PIM-Sparse Center-based Mostly shared, can be source
29
Source-based trees Shared tree What kind of distribution tree? Flood-and-prune Core-based tree Who is part of the multicast group?
Q: how to connect “islands” of multicast routers in a “sea” of unicast routers?
v mcast datagram encapsulated inside “normal” (non-
multicast-addressed) datagram
v normal IP datagram sent thru “tunnel” via regular IP unicast
to receiving mcast router (recall IPv6 inside IPv4 tunneling)
v receiving mcast router unencapsulates to get mcast
datagram
physical topology logical topology
31
32
Unicast Network multicast End system multicast
33
Zhang, SIGMETRICS, 2000.
Maufer
34