Professional Documents
Culture Documents
Unicast Multicast: Communication Modes
Unicast Multicast: Communication Modes
• Unicast • Multicast
• One sender • One sender
• One receiver • N receivers
S-38.3191 Verkkopalvelujen tuotanto • Broadcast • Anycast
S-38.3191 Network Service Provisioning
• One sender • One sender
Lecture 5: Multicast
23.10.2008 • All receive • One receiver on a group
R4 R5 R6 R7
If we want to minimize the state information within the core we can build a
shared tree for each sender RP
data
R R R R R
Sender Receiver 2
R R R
R R R R R
data data data data
Sender Receiver 2
Is a combination of shared tree and source specific tree operation Different Modes
- Infrequent packets are replicated in a single point (shared tree) - Sparse Mode (SM)
- Randevouz point - is the most widely deployed as of 2006
- High data volumes are transferred in more optimal way (source specific tree) - Dense Mode (DM)
- Decission based on predefined policy - Source Specific Mode (SSM)
- Data rate greater than x - Bidirectional Mode (Bidir) [Also commonly known as Sparse-Dense Mode
- Amount of bytes greater than x (SDM)]
SSM and Bidir are simpler and more scalable variations developed more
recently and gaining in popularity
PIM-SM
Multicast Distribution Trees
Is a protocol for efficiently routing to multicast groups that may span wide- • Shared trees • Source specific tree
area (and inter-domain) internets. – Uses less resources from the network – Takes more resources from the network
• Amount of state information is depent of N(*,G) • Amount of state information is dependent of N(S,G)
It is not dependent on any particular unicast routing protocol for topology – All sources (*) are mapped into single distribution tree – Every source (S) has its own distribution tree per group
discovery per group (G) (G)
– Usually suboptimal path from the source to all • Optimal path from the source to all receivers within
- sparse-mode because it is suitable for groups where a very low percentage of receivers within the group the group
the nodes (and their routers) will subscribe to the multicast session. »Unless RP is rooted at the source – Minimizes the IGP cost towards source from each
receiver
- Unlike earlier dense-mode multicast routing protocols such as DVMRP and PIM-
DM which flooded packets everywhere and then pruned off branches where – Optimal for one-to-many distribution
there were no receivers, PIM-SM explicitly constructs a tree from each sender to (point-to-multipoint)
the receivers in the multicast group. Multicast packets from the sender then
follow this tree.
Join
R R
R R
Join
R R R R R R
Join
1. Receiver 1 joins the multicast 2. Routers along the path to RP create 1. Sender begins sending to a multicast group. 3. The RP decapsulates the packet
group. Designated Router DR2 router state for the group, adding and sends it out the shared tree.
sends a Join message toward the themselves to the shared tree. 2. Designated Router DR1 encapsulates the
RP. Periodically, DR2 resends the packets from Sender in Register messages and
Join message in case it was lost. unicasts them to RP.
Page 17 S-38.3191: Multicast Receiver 1 Page 18 S-38.3191: Multicast Receiver 1
Source Specific
1. RP sees traffic from Sender at a Join 3. RP sees unencapsulated traffic
Rendezvous rate > threshold. It sends source Rendezvous from Sender and sends a Register
Point Point Stop message to DR1. DR1 then
RP specific join request toward Sender. RP
Prune stops sending encapsulated traffic
2. DR1 adds DR2 to the to RP.
source specific tree for R
R
R
R
Sender.
Prune
R R R R R R
Location of RP can be based on Need to transfer multicast routing information across domain borders
- Static configuration of served groups - Active groups (senders and receivers)
- Bootstrap process with priorities - Multicast Source Discovery Protocol (MSDP)
- Anycast operation - Unicast routes for RPF
- Multicast BGP (MBGP)
Bootstrap Router (BSR)
- Dynamically elected (like OSPF DR election process)
- Constructs a set of RP IP addresses based on received Candidate-RP
messages
1. Source registration in to PIM-RP is announced to MSDP peers Domain E 2. Receiver joins to group via PIM-SM Domain E
PIM-SM
RP RP
“Join”
SA r r
Domain C Domain C
RP RP
PIM-SM
SA “Join”
RP RP
SA Domain D Domain D
RP RP
s s
Domain A Register Domain A
Page 23 S-38.3191: Multicast 192.1.1.1, 224.2.2.2 Page 24 S-38.3191: Multicast
3. Traffic flows from the source to receiver via shared trees Domain E 4. Source specific tree optimisations are done for the traffic flow Domain E
RP RP
r r
Domain C Domain C
RP RP
Domain B Domain B
RP RP
Traffic Traffic
RP RP
Domain D Domain D
RP RP
s s
Domain A Domain A
Page 25 S-38.3191: Multicast Page 26 S-38.3191: Multicast
MBGP
Traffic
RP
Domain D
RP
s
Domain A
Page 27 S-38.3191: Multicast Page 28 S-38.3191: Multicast
MBGP Multicast over Layer 3 VPNs
Figure: Juniper
http://www.juniper.net/techpubs/software/junos/junos62/feature-guide-62/html/fg-l3vpn-multicast2.html
Figure: Cisco
Decreasing Increasing
•P-router state •P-router state
•Bandwidth efficiency •Bandwidth efficiency http://www.cisco.com/en/US/docs/ios/12_2t/12_2t13/feature/guide/ftmltvpn.html
• Optimizing performance • Optimizing state-space How to tunnel multicast traffic in Service Provider network
– A given customer (multicast) – The amount of state within the - By using p2mp LSP’s
packet should traverse a given service provider network required - Static distribution trees
service provider link at most once to support Multicast in 2547 VPN
– Deliver customer multicast traffic service should be no greater than - GRE encapsulation and IP multicast forwarding
to only PEs that have (customer) what is required to support unicast - Multicast distribution trees
receivers for that traffic in 2547 VPN service
- Aka multicast service
– Deliver customer multicast traffic – The overhead of maintaining the
along the “optimal” paths within state to support Multicast in 2547 - Unicast tunneling with ingress replication
the service provider (from the VPN service should be no greater
than what is required to support How to exchange multicast routing information with service provider network
ingress PE to the egress PEs)
unicast in 2547 VPN service - MBGP
- PIM
- MSDP
- Tunneling through
Multicast in use
Ucast Edge MPLS Core Wikipedia: ”Recently the BBC has begun encouraging UK-based ISPs to
Mcast Content
adopt Multicast onto their networks by providing BBC Radio at higher
CE quality than is available via their Unicast delivered services. This has also
CE
PE
been supported by a variety of commercial radio networks - including Virgin
Radio, GCAP and EMAP.”
Mcast Edge PE
P P Mcast/Ucast
Some operators use Multicast as an internal service.
CE
PE
Internet Peering
CE
More in the future?
P
PE