IP Multicast: Distribution Trees

ccie-data-center
Shortest path trees, shared trees rooted at a rendezvous point, and bidirectional trees, and the state each one costs the network.
Published

May 27, 2022

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:

Now it is time to talk about some jargons in multicast, then we will continue speaking on different types of trees.

Multicast Terminologies

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).

Distinct Source Trees

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)

Shared Tree (RPT)

Shared trees shift the initial tree-building process to a single router known as a rendezvous point (the root of shared trees). RP is the router where the two trees meet each other: FHR sends the multicast traffic to RP. LHR goes to RP to receive the traffic.

Multicast Routing Information Base (MRIB) and MFIB represent the shared tree as (, G). (,G) information is shared upstream from LHRs to the RP. Each (*,G) is a single tree regardless of the source location. This means that only one tree is required for the group, even if there are many sources. The tree from FHR to the RP is (S,G).

The drawback of shared trees is that the subscribers to the same multicast group receive traffic from all the sources publishing the traffic to that group.

Shared Tree (RPT)

Summary:

  • RPT roots at RP for (*,G)
  • There are two trees. (S,G) from the source to RP. and (*,G) from receivers to RP.

Bidirectional Shared Tree

Bidirectional shared tree scales very well with M-to-M applications. Let us say you have 100 hosts part of videoconferencing that are sending traffic to one group address; with RPT, you would require 100x(S,G)+1x(*,G) = 101 entry on RP.

Bidirectional shared tree

With bidirectional shared-tree, multicast groups are carried across the network over bidirectional shared trees, hence we never would have the (S,G) entry. We only have wildcard-source (,G) routes. So, for the example above, we only need one (,G) which is rooted on RP. With bidirectional shared tree, traffic can flow on both directions to and from the sources for each group. Loop prevention in bidirectional tree is different than RPF check. We will use Designated Forwarder for this purpose. With designated forwarder, only one router in each link (including point-to-point links) can forward the multicast traffic. DF accepts data on its OIL then sends out all other interfaces including IIF.

Back to top