Friday, October 18, 2019

Cisco 2821, 2 VRF, autorp/pim sparse mode issue.

Hi Everyone,

I have a Cisco 2821 (rescued from the garbage) in my lab with 2 physical interfaces. We'll call this router "P". Firmware version is 15.1(4)M6.

Each physical interface on router "P" has no config, but has 3 802.1q interfaces under it and is plugged into a switch that allows trunking to these vlans. All BGP/routing/unicast works as expected between router "P" (simulated provider) and router "E" (simulated customer - our on-site router)
On router P (interfaces Gi0/0, and Gi0/1) :

Gi0/0 has no config but Gi 0/0.1, Gi0/0.2, Gi0/0.3 all have config and are assigned to vrf "c"
Gi0/1 also has no config but Gi0/1.4, Gi0/0.5, Gi0/0.6 all have config & are assigned to vrf "s"
Each of these 802.1q interfaces has "ip pim sparse mode" under the interface config

I've also got "ip pim vrf c autorp listener" and "ip pim vrf s autorp listener"

I've got these 2 vrfs to emulate 2 provider networks. Both vrfs run BGP & multicast (pim sparse mode & autorp as mentioned above)

Gi0/0.1 (vrf c) goes to router E and does BGP
Gi0/1.4 (vrf s) also goes to router E and does BGP

As far as router E is concerned, it's talking to 2 different networks.

Multicast routing is turned on for both vrfs (Router P) & config is the same for both. Auto RP is also enabled as is pim-sparse mode for both interfaces on router E as well as router P.

"ip multicast-routing vrf c"

"ip multicast-routing vrf s"

vrf c works great & it finds the RP.
vrf s never finds an RP.

I've shut down the working vrf c parent interface (Gi0/0) just incase it was some RPF bug or something, but it still doesn't work.

Router "E" is a 4321 running IOS XE 16.9.3
It has "ip multicast-routing distributed" as well as "ip pim sparse-mode" on both interfaces facing both the actual switch acting as RP as well as each interface connected to the 2 vrfs on router "P". It also has "ip pim autorp listener" enabled in the global config.

Anyone seen this? I'm almost convinced this is a bug, or I'm missing something very basic.



No comments:

Post a Comment