Longest-Match Multicast Routing

During route selection, an optimal intra-domain unicast route, an optimal inter-domain unicast route, and an optimal multicast static route are selected. One of them is finally selected as the forwarding path for the multicast data.

The longest match principle works as follows:
  1. If the longest match principle is configured for route selection, a route with the longest matched mask is chosen by the multicast router.

    For example, there is a multicast source with the IP address of 10.1.1.1, and multicast data needs to be sent to a host with the IP address of 192.168.1.1. There are two reachable routes to the source in the static routing table and intra-domain unicast routing table, and the destination network segments are 10.1.0.0/16 and 10.1.1.0/24. Based on the longest match principle for route selection, the route to the network segment of 10.1.1.0/24 is chosen as the forwarding path for the multicast data.

  2. If the mask lengths of the routes are the same, the route with a higher priority is chosen as the forwarding path for the multicast data.
  3. If the mask lengths and priorities of the routes are the same, a route is selected in the order of a static route, an inter-domain unicast route, and an intra-domain unicast route as the forwarding path for multicast data.
  4. If all the preceding conditions cannot determine a forwarding path for multicast data, the route with the highest next-hop address is chosen.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >