Multicast RPF (Reverse Path Forwarding)

One of the key differences between unicast and multicast is that for unicast routing, we only care about where the destination is located and how to get there. For multicast routing, we care about where the source is located. PIM (Protocol Independent Multicast) uses the unicast routing table to check what interface will be used to reach the source.

PIM will only accept multicast packets on an interface we use to reach the source. If we receive multicast packets on an interface we don’t use to reach the source, we will drop the multicast packets! This is called an RPF failure, and it’s the #1 issue why multicast isn’t working for many networking students.

Let me demonstrate this using a very simple topology:

pim-rp-rpf-failure-data-plane

Above, you see three routers. R1 will be the source for our multicast traffic. Between R2 and R3, we have two links…a slow serial link and a FastEthernet link. R3 has a loopback interface we will use as the receiver for our multicast traffic. First, we will enable OSPF on all interfaces to have basic connectivity:

R1(config)#router ospf 1
R1(config-router)#network 0.0.0.0 255.255.255.255 area 0
R2(config)#router ospf 1
R2(config-router)#network 0.0.0.0 255.255.255.255 area 0
R3(config)#router ospf 1
R3(config-router)#network 0.0.0.0 255.255.255.255 area 0

I will enable OSPF on all interfaces quickly using the network command above. OSPF will prefer to use the FastEthernet link and won’t use the serial link:

R2#show ip route ospf 
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/11] via 192.168.23.3, 00:00:02, FastEthernet0/1

As you can see we don’t use the serial link because the FastEthernet link has a lower cost. Now I’m going to configure multicast on all routers, but I will only activate it on the serial link between R2 and R3:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You’ve Ever Spent on Your Cisco Career!
  • Full Access to our 799 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

557 Sign Ups in the last 30 days

satisfaction-guaranteed
100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags:


Forum Replies

  1. Lovely… Nice and neat

  2. R2#show ip route ospf 
         3.0.0.0/32 is subnetted, 1 subnets
    O       3.3.3.3 [110/11] via 192.168.32.3, 00:00:02, FastEthernet0/1
    

    How it will reach via Fa0/1, it was connected s0/0 and also there no Fa0/1 in R2. Please check this and update the same…

  3. In the picture was an incorrect interface number, I just fixed it.

  4. Hello Rene,
    Could you please explain the ip dense mode and igmp ? kind of confused on this one. Thanks

33 more replies! Ask a question or join the discussion by visiting our Community Forum