07-25-2024 05:15 PM
Hi Guys,
I'm going around in circles, i can't see what is wrong here, i have essentially 3 routers, ill abbreviate to the last 5 or so characters in hostname for brevity, aco-R1 is running BGP under vrf iA-0160 as is aco-r5 - they are neighbors, all good. aco-r5 and pro-r5 are running ospf instance 2 and are neighbors, i am redistributing ospf 2 into bgp, and bgp into ospf 2.
On aco-r1 i can see the BGP route for 172.29.38.0/29, but on pro-r5 i cannot see the route for 10.79.126.164/30 being redistrubuted?
What have i missed?
BGP Neighbor on aco-r1
BGP Neighbor on aco-r5
OSPF neighbor on aco-r5
OPSF neighbor on pro-r5
BGP, OSPF and redist config on aco-r5
sh ip route on aco-r1 - can see redistrubuted route from ospf
sh ip route on pro-r5 - nothing
Solved! Go to Solution.
07-25-2024 05:53 PM
Do under ospf
Compatibility?
Share it here
Without this command the ospf will never redistribute bgp into ospf since down bit is set.
MHM
07-25-2024 05:32 PM
Hello,
On R5 its not learning the route 10.79.126.164/30 from BGP. Its directly connected. So redistributing BGP won't work. Have you tried also redistributing connected?
-David
07-25-2024 05:47 PM
There is a loopback on aco-r1 that is being advertised to aco-r5 via BGP, see below
07-25-2024 05:32 PM
Add
Compatibility vrf lite
Under ospf
And it will work
MHM
07-25-2024 05:49 PM
Sorry, this is not an option under the ospf process on this device, it is a 1000v
thanks for your suggestion!
07-25-2024 05:53 PM
Do under ospf
Compatibility?
Share it here
Without this command the ospf will never redistribute bgp into ospf since down bit is set.
MHM
07-25-2024 06:16 PM
07-25-2024 06:20 PM
Sorry it capability not compatible keyword
So command must be
Capability vrf lite
MHM
07-25-2024 06:31 PM
To be clear here command
Capability vrf lite to redistribute bgp LO into ospf not direct connect link between two bgp peers
Again without this command ospf not redistribute any prefix via bgp
MHM
07-25-2024 09:22 PM
This fixed it!
07-25-2024 05:39 PM
Run "bgp redistribute-internal" in the acp-r5
07-25-2024 05:49 PM
unfortunately this didn't fix it, thanks for the suggestion!
07-25-2024 06:15 PM
How is the 10.79.126.164/30 route being learned on R5. If its directly connected you may need to issue the redistribute connected command as well.
-David
07-25-2024 06:20 PM
Hi @Warren Sullivan ,
10.79.126.164/30 is a connected route on aco-r5. If you want pro-r5 to learn it via ospf, you need to configure "redistribute connected" on aco-r5 as suggested by @David Ruess .
router ospf 2 vrf IA-0160
redistribute connected subnets
Regards,
07-25-2024 09:16 PM
this worked for the /30 but i still cannot see the loopback on aco-r1, and is leaned by aco-r5?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide