Troubleshooting Reverse Path Forwarding
PIM uses the unicast routing information when creating the multicast tree.
Ensure loop-free forwarding of multicast packets in multicast routing
Help prevent IP spoofing in unicast routing
Incoming multicast packet will not be accepted/forwarded unless it is received on an interface that is the outgoing interface for unicast route to the source of the packet.
- 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.
- If the packet has arrived on the interface leading back to the source, the RPF check succeeds and the packet is forwarded.
- If the RPF check in Step 2 fails, the packet is dropped.
RPF failures occur in 2 situations:
- Packets are flooded out of the wrong interface (looping prevention)
- Unicast routing does not match multicast distribution trees
You can fix the situation in a couple ways
- Static mroute
- Enable PIM on the interface
RPF Failure with Tunnel Interface
As described above, this could happen if PIM is not enabled on the tunnel interface or if the unicast routing table does not match the multicast distribution tree.
show ip mroute show ip rpf [ip] show ip route [ip] show ip pim neighbor