PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:multicast:routing:rpf:rpf

WIP: Multicast RPF Configuration

Lab 1: RPF 4b5cdb5f-964d-4d25-9749-913d23a9e41d

4b5cdb5f-964d-4d25-9749-913d23a9e41d
network-infrastructure.multicast.layer3.rpf.4b5cdb5f
  1. Dependent Custom Images(This lab require following custom images!!)

Common Configuration Snippet

R1

R2

px-ubuntu-nw-0

px-ubuntu-nw-1

Configure RPF

  1. If unicast routing table has multiple next hop to route, RPF interface will choose largest next hop IP address interface automatically.
  2. RPF interface can be configured to preferred interface.

ip mroute

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipmulti/command/imc-cr-book/imc_i2.html#wp1533460393

  • R1
configure terminal
!
ip multicast-routing
!
interface GigabitEthernet0/0
 ip pim sparse-mode
interface GigabitEthernet0/1
 ip pim sparse-mode
interface GigabitEthernet0/2
 ip pim sparse-mode
!
ip pim bsr-candidate GigabitEthernet0/0
!
end
  • R2
configure terminal
!
ip multicast-routing
!
interface GigabitEthernet0/0
 ip pim sparse-mode
interface GigabitEthernet0/1
 ip pim sparse-mode
interface GigabitEthernet0/2
 ip pim sparse-mode
!
ip pim rp-candidate GigabitEthernet0/0
!
ip mroute 10.1.1.0 255.255.255.0 10.12.1.1
!
end

Verification aa4ad121-89b0-46b1-8254-24aaf8808d36

Console Log R2

Console Log R1

  • Sender
msend -g 239.0.1.1 -p 8888 -text "hello multicast world" -t 60 -P 10000
  • Receiver
mreceive -g 239.0.1.1 -p 8888
  • R2
show ip rpf 10.1.1.100
show ip mroute | begin \(
  • R1
show ip rpf 10.1.1.100
show ip mroute | begin \(
show ip igmp groups
show ip pim interface
show ip pim neighbor
show ip mroute
show ip mroute summary
sh ip mroute | begin \(
sh ip mroute summary | begin \(
show ip rpf x.x.x.x
debug ip mpacket
debug ip pim
debug ip mrouting

Wireshark Filter Expression Cheat Sheet

!ospf && (pim || (icmp && icmp.type != 3 ) || igmp || ip.addr  == 224.0.0.0/4)
network-infrastructure.multicast.layer3.rpf.4b5cdb5f.aa4ad121.lab1.r1ge0-1_ubuntu-0-ens2.pcapng
network-infrastructure.multicast.layer3.rpf.4b5cdb5f.aa4ad121.lab1.r1ge0-0_r2ge0-1.pcapng
network-infrastructure.multicast.layer3.rpf.4b5cdb5f.aa4ad121.lab1.r2ge0-0_ubuntu-1-ens2.pcapng

Notes

  1. ip pim dense-mode must be enabled all multicast packet path including Sender, Receiver connected interfaces.
  2. If an interface be enabled PIM, IGMPv2 enabled automatically. So, IGMP only enable/disable configuration not exist.
  3. Unicast routing is successfully operational is prerequisite.
  4. And RPF check must be successful to flood OIL interface.
    1. RPF check verify received interface to Sender shortest path.

References

tech/network/cisco/multicast/routing/rpf/rpf.txt · Last modified: 2021/11/30 07:45 by wnoguchi