U3 - L6 - Multicast Routing Protocols
U3 - L6 - Multicast Routing Protocols
Unicasting
In unicast communication, there is one source and one destination. The
relationship between the source and the destination is one-to-one.
In unicasting, the router forwards the received packet through only one of its
interfaces.
In this type of communication, the source address is a unicast address, but the
destination address is a group address, which defines one or more destinations.
A multicast packet starts from the source S1 and goes to all destinations that
belong to group G1. In multicasting, when a router receives a packet, it may
forward it through several of its interfaces.
There is only one source, but all the other hosts are the destinations.
The Internet does not explicitly support broadcasting because of the huge
amount of traffic it would create and because of the bandwidth it would need.
If we have n groups, we may need n shortest path trees. We can imagine the
complexity of multicast routing.
The shortest path tree for a group defines the next hop for each network that
has loyal member(s) for that group.
The core has m shortest path trees in its routing table. The rest of the routers in
the domain have none.
The core router removes the multicast packet from its capsule, and consults its
routing table to route the packet.
The protocol requires a new link state update packet to associate the unicast address of a host
with the group address or addresses the host is sponsoring.
This packet is called the group-membership LSA.
In this way, we can include in the tree only the hosts (using their unicast addresses) that belong
to a particular group.
In other words, we make a tree that contains all the hosts belonging to a group, but we use the
unicast address of the host in the calculation. For efficiency, the router calculates the shortest
path trees on demand (when it receives the first multicast packet).
In addition, the tree can be saved in cache memory for future use by the same source/group
pair.
MOSPF is a data-driven protocol; the first time an MOSPF router sees a datagram with a given
source and group address, the router constructs the Dijkstra shortest path tree.
Multicast routing does not allow a router to send its routing table to its
neighbors. The idea is to create a table from scratch by using the information
from the unicast distance vector tables.
Multicast distance vector routing uses source-based trees, but the router never
actually makes a routing table. When a router receives a multicast packet, it
forwards the packet as though it is consulting a routing table.
DVMRP
The Distance Vector Multicast Routing Protocol (DVMRP) is an
implementation of multicast distance vector routing. It is a source-based
routing protocol, based on RIP.
This message passes through all routers that are located between the sender
and the rendezvous router. Each intermediate router extracts the necessary
infonnation from the message, such as the unicast address of the sender and the
interface through which the packet has arrived, and forwards the message to
the next router in the path.
If a router wants to leave the group, it sends a leave message to its upstream
router. The upstream router removes the link to that router from the tree and
forwards the message to its upstream router, and so on.
In CRT, 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.
PIM-DM
PIM-DM is used when there is a possibility that each router is involved in
multicasting (dense mode). In this environment, the use of a protocol that
broadcasts the packet is justified because almost all routers are involved in the
process.
PIM-SM
PIM-SM is used when there is a slight possibility that each router is involved in
multicasting (sparse mode). In this environment, the use of a protocol that
broadcasts the packet is not justified; a protocol such as CBT that uses a group-
shared tree is more appropriate.
19 Lecture by: Manoj Kumar Singh
Multicast Routing Protocol
MBONE
Multimedia and real-time communication have increased the need for
multicasting in the Internet. However, only a small fraction of Internet routers
are multicast routers.
The multicast routers are seen as a group of routers on top of unicast routers.
The multicast routers may not be connected directly, but they are connected
logically. Figure shows the idea.
In Figure, only the routers enclosed in the shaded circles are capable of
multicasting. Without tunneling, these routers are isolated islands.