Interdomain MBGP Policies
Last updated
Last updated
Load inter-as.multicast.mbgp.policy.init.cfg
R3 has joined group 236.1.1.1. Ping this from R4. Traffic is flowing via AS11 - AS7 - AS8, because R9 has prepended multicat routes towards AS9.
However, AS7 has decided that it does not wish to become a transit AS. Implement BGP policy so that AS7 is not used for transit IPv4 multicast traffic.
Before making any changes, we’ll explore the current state of the inter-domain multicast routing. Ping the group 236.1.1.1 from R4.
R9 sources SA MSDP messages to its peers. XR2 finds that it has interested receivers for (*, 236.1.1.1), and joins a (S, G) rooted at R4. XR2 uses the interface towards XR4 as the RPF interface:
The reason for this is that the RPF table uses the multicast BGP routes by default, and the best path to 11.4.13.4 is via XR4. This is because R9 is prepending advertisements towards AS9. So AS9’s best path is also via AS7.
AS7 has decided that it does not want to provide transit IPv4 multicast delivery between other ASs. This is the same idea behind a multihomed internet customer not wanting to become transit for IPv4 unicast traffic. AS7 can simply apply an outbound policy that only permits locally-originated routes.
The network reconverges, and only one route is left via AS9:
Since the RPF check for the source 11.4.13.4 resolves to 10.6.12.6, this is used to source the PIM Join. The multicast traffic now flows via AS9-AS11-AS8:
This lab demonstrates the use of BGP ipv4/multicast. It is only used for RPF checks for inter-domain multicast sources. The RPF interface determines how the multicast traffic will flow, because the PIM Join for the (S, G) is only sent out the RPF interface. The receiving router will add the interface receiving the PIM Join to its OIL. So the BGP ipv4/multicast routes control the topology of the distribution tree. BGP ipv4/multicast allows you to create a topology that is non-congruent with unicast routes. If you are OK with inter-domain multicast using the unicast table for RPF checks, there’s no need to even run BGP ipv4/multicast.