PIM and Multicast Forwarding
Build a distribution tree
PIM Sparse Mode (PIM-SM) coordinates multicast forwarding among routers. It uses reachability information from routing, but does not require one particular unicast routing protocol. In an ASM domain, receivers can join a shared tree rooted at a rendezvous point (RP), represented as (*,G). Source registration helps connect active sources to the RP; routers may transition to a source tree (S,G). In SSM, the receiver identifies the source, allowing a source-specific tree without an RP for that channel. RFC 8815 deprecates ASM for interdomain multicast, not every internal ASM deployment.
Reverse path forwarding
Reverse path forwarding (RPF) checks whether traffic arrives via the expected upstream interface for its tree. For a source tree the upstream direction is toward S; for shared-tree forwarding it is toward the RP. The multicast routing information base and protocol state determine the expectation, which need not always equal the ordinary unicast route. The check is not a proof of sender identity. Incoming-interface state and the outgoing-interface list are different: one identifies the expected arrival path, the other the eligible branches.
Trace a source tree
Assume a settled source-specific tree for S=192.0.2.10 and G=232.10.10.10. R2 expects traffic on west from R1 and has eligible east and south branches to R3 and R4. One input packet on west produces two output copies. A packet arriving from east fails the modeled RPF check and produces no output. If R4 has no remaining listeners and the south branch is pruned, only east remains. The toy model excludes timer races, asserts and equal-cost choices.
R1 ---- west [R2] east ---- R3 | south R4(S,G) expected ingress = westOIL = east, southTroubleshoot from receiver to source
Start with the exact source, group and expected receiver. Verify host membership, VLAN and snooping state, router listener state, multicast tree and RPF interface, then the upstream source path. Check administrative scope, TTL or hop limit, policy and actual source traffic. On shared LANs PIM Assert helps select a forwarder when duplicates appear. A successful unicast ping does not prove a multicast tree exists. A join does not prove packets arrive.
Capacity and safe acceptance tests
For an 8 Mbit/s payload stream and three eligible outputs, aggregate outgoing payload rate at a replication point is 24 Mbit/s, although ingress is 8 Mbit/s. Check each link capacity and device replication resources; bound group and source counts, enforce intended scope and measure loss in an authorized lab only. For the offline exercise, verify the correct branch receives data, the pruned branch does not, and a wrong-interface packet is rejected. No real multicast sending or public peer is needed.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
PIM forwarding Quiz
Apply multicast concepts to fictional offline scenarios.
In ASM, what is the root of the initial shared tree?
R2 expects source-tree traffic on west and receives it on east. What happens in the toy model?
Which tree identifier represents a particular source and group?
A 6 Mbit/s payload stream is replicated to four eligible output links. What is aggregate output payload rate?
Which evidence best confirms intended multicast delivery in an isolated lab?