2. Multicasting and Multicast Routing Protocols_modified
2. Multicasting and Multicast Routing Protocols_modified
1
Multicasting And Multicast
Routing Protocols
Unicast
Identify one host
Anycast
Identify one host in a set of hosts
Broadcast
Identify all hosts
Multicast
Identify a set of hosts
2
Figure 14-1
Introduction: Unicasting
3
Figure 14-2
Multicasting
In multicast routing,
the router may forward the
received packet
through several of its interfaces.
4
Figure 14-3
5
Multicasting versus multiple unicasting (2)
Src Src
Multicast Communication
•Multicastabstraction is peer-to-peer
Application-level multicast
Network-level multicast
multicast
9
Some special multicast
addresses:
See PDF: 7) Multicast (Some
special multicast addresses)
10
Application of Multicasting
One-to-Many Multicast
Internet TV, Webcasting (News Delivery)
Webcasting of Broadband Streaming Media
ISPs services
Commercial services
Many-to-Many Multicast
Teleconferencing, Web Seminars
Whiteboard
Distributed simulations
11
Multicast routing protocols
On a local network (join/leave):
Internet Group Management Protocol (IGMP)
for IPv6
Intra-domain (routing):
SOURCE TREE: MOSPF, PIM, DVMRP (RFP, RPB, RPM)
Inter-domain (routing):
Multicast Border Gateway Protocol (MBGP)
12
Joining a multicast group: 2-step process
Local: host informs local multicast router of desire to join
group: IGMP (Internet Group Management Protocol)
Wide area: local router interacts with other routers to
receive multicast datagram flow
many protocols (e.g., DVMRP, MOSPF, PIM)
IGMP
IGMP
wide-area
multicast
routing
IGMP
13
Internet Group Management
Protocol (IGMP)
14
Internet Group Management Protocol
(IGMP)
IGMP is a protocol that manages group membership.
The IGMP protocol gives the multicast routers
information about the membership status of hosts
(routers) connected to the network.
15
IGMP: Internet Group Management Protocol
query report
16
IGMP
Router: broadcasts Host Group-specific Query
Membership Query Leave Group message
message on LAN. Last host replying to
Host: replies with Host
Query can send explicit
Membership Report
Leave Group message
message to indicate group
Router performs group-
membership
randomized delay specific query to see if
before responding any hosts left in group
Introduced in RFC 2236
cancel its own report if
reply to Query
17
IGMP message types
21.18
IGMP: Summary
For membership management.
Between a host on a subnet (Ethernet) and the router for
the subnet.
The router periodically broadcast an IGMP host-
membership query message on its subnet.
A host subscribes to a group replies by multicasting a
host-membership report message.
Note: feedback implosion uses a random timer.
The report is sent 3 times (for reliability).
IGMP-1: hosts send no report leaving the group
IGMP-2: hosts send explicit host-membership leave
messages to reduce leave latency.
19
Multicast Listener Discovery
(MLD):
similar to IGMP but for IPv6
20
Multicast Listener Discovery (MLD)
MLD is equivalent to IGMP in IPv4
MLD messages are transported over ICMPv6
Version number confusion:
MLDv1 corresponds to IGMPv2
•RFC 2710
MLDv2 corresponds to IGMPv3
RFC 3810
21
MOSPF
22
Multicast Open Shortest Path First (MOSPF)
Extension of the OSPF protocol that uses
multicast link state routing.
24
Protocol Independent
Multicast (PIM)
25
Figure 14-10
26
Figure 14-11
Sending a multicast packet to
the rendezvous router
27
DVMRP
(RFP, RPB, RPM)
28
Distance Vector Multicast Routing Protocol -
DVMRP
No pre-defined route from source to destination. Tree is
gradually created by successive routers along the path.
Uses shortest path (fewest hops)
Prevent loops: apply Reverse Path Forwarding (RFP)
Prevent Duplication: apply Reverse Path Broadcasting (RPB)
Multicast with dynamic membership: apply Reverse Path
Multicasting (RPM) with pruning, grafting, and lifetime.
29
Figure 14-5
30
Figure 14-6
31
Figure 14-7
The router with the shortest path to the source becomes the
designated parent of a network
A Router forwards packets only to its designated child networks
32
RPB creates a shortest path
broadcast tree from the source
to each destination.
It guarantees that each destination
receives one and only
one copy of the packet.
33
Core-Based Tree
CBT
34
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 hosts.
35
Multicast Border Gateway
Protocol (MBGP)
36
MBGP
• MBGP: Multiprotocol BGP
– Defined in RFC 2858 (extensions to
BGP)
– Can carry different types of routes
• Unicast
• Multicast
– Both routes carried in same BGP session
– Does not propagate multicast state info
37
Summary
Multicasting is the sending of the same message to
more than one receiver simultaneously. Multicasting has
many applications including distributed databases,
information dissemination, teleconferencing, and
distance learning.
38
Summary
The Internet Group Management Protocol (IGMP) is
involved in collecting local membership group
information. The last version of IGMP, IGMPv3 uses two
types of messages: query and report.
39
Summary
In a group-shared approach to multicasting, one
rendezvous router takes the responsibility of distributing
multicast messages to their destinations. CBT and PIM-
SM are examples of group-shared tree protocols.
40