routers to correctly forward multicast traffic down the distribution tree. RPF makes use of the existing unicast routing table to determine the upstream and downstream neighbors. A router will forward a multicast packet only if it is received on the upstream interface. This RPF check helps to guarantee that the distribution tree will be loop-free. RPF Check When a multicast packet arrives at a router, the router performs an RPF check on the packet. If the RPF check succeeds, the packet is forwarded. Otherwise, it is dropped. For traffic flowing down a source tree, the RPF check procedure works as follows: 1.
The router looks up the source address in the unicast routing table to determine if the packet has arrived on the interface that is on the reverse path back to the source. 2. If the packet has arrived on the interface leading back to the source, the RPF check succeeds and the packet is forwarded out the interfaces present in the outgoing interface list of a multicast routing table entry. 3. If the RPF check in Step 2 fails, the packet is dropped. The figure shows an example of an unsuccessful RPF check. Figure 7: RPF Check Fails As the figure illustrates, a multicast packet from source 151.10.3.21 is received on serial interface 0 (S0).
A check of the unicast route table shows that S1 is the interface this router would use to forward unicast data to 151.10.3.21. Because the packet has arrived on interface S0, the packet is discarded. The figure shows an example of a successful RPF check. Figure 8: RPF Check Succeeds In this example, the multicast packet has arrived on interface S1. The router refers to the unicast routing table and finds that S1 is the correct interface. The RPF check passes, and the packet is forwarded. Configuring Protocol Independent Multicast (PIM) RPF Check Configuring Protocol Independent Multicast (PIM) 19