IP Multicast: Distribution Trees
A multicast distribution tree (MDT) is the paths through the network from source to receive used to distribute multicast data traffic. There are two types of trees:
- Shortest Path Tree (SPT): this tree is also known as source tree which is the quickest path from the source to receiver. But it may require more states in the network.
- Shared Tree (RPT): this tree uses SPT from each sender to a shared root which is known as the Rendezvous Point (RP), then it creates an SPT from RP to receiver.
Now it is time to talk about some jargons in multicast, then we will continue speaking on different types of trees.
- First Hop Router (FHR): The gateway of the multicast source/publisher.
- Last Hop Router (LHR): The gateway of a receiver/subscriber.
- Reverse Path Forwarding (RPF) Check: When a packet arrives to the route, before forwarding it, router checks if the source IP address is in it is routing table on that interface (strict RPF check), in that case RPF check succeeds. If the source IP is not on the interface were packet arrives to the router, RPF check fails and packet is discarded. RPF check here helps prevent loops and floods.
- Incoming interface (IIF): This is your RPF interface - The interface towards the multicast source with best IGP metric/cost. If multiple interfaces have the same cost, the interface with the highest IP address is chosen as the tiebreaker.
- Outgoing interface list (OIL): This interface faces the receiver. When a new receiver joins the group, the OIL updates.
Shortest Path Tree (SPT)
With shortest path tree or the source tree, traffic flows from the source and FHR (the root of the tree) to the receivers (the leaves) via the shortest path. Multicast forwarding table represents the source tree by (S, G).
With SPT, each router in the path must share and maintain state information. It would be very difficult for every router to manage this process completely independently in a very large network, or if there were a great number of sources. That is why the IETF introduced another type of network tree: the shared tree.
Summary:
- Source tree represents by (S,G)
- SPT roots at FHR for (S,G)