09-08-2018 12:08 PM - edited 09-08-2018 12:13 PM
Hello.
Routers R1 and R3 are in the same AS. They are running OSPF between physical interfaces and iBGP over loopbacks on top of OSPF. R1 receives all of the routes from KCOM and has them in its routing table. R1 advertises these routes to R3 via iBGP. R3 is receiving these routes but is not placing them into its routing table.
Any ideas please?
Attached network diagram, ''sh ip bgp'' output on R3 and ''sh ip route'' output on R3.
Thank you.
Network diagram
sh ip bgp
sh ip route
Solved! Go to Solution.
09-09-2018 03:04 AM - edited 09-09-2018 03:09 AM
If the router doesn't know how to reach a route's next hop, a recursive lookup will fail, and the route can't be added to BGP.
R3 is receiving the routes with a NEXT_HOP attribute of 192.168.1.1 but doesn't have an entry in its routing table for a subnet containing 192.168.1.1.
Try next-hop-self on R1 -
router bgp xxxx
neighbor 10.1.1.2 next-hop-self
09-09-2018 03:04 AM - edited 09-09-2018 03:09 AM
If the router doesn't know how to reach a route's next hop, a recursive lookup will fail, and the route can't be added to BGP.
R3 is receiving the routes with a NEXT_HOP attribute of 192.168.1.1 but doesn't have an entry in its routing table for a subnet containing 192.168.1.1.
Try next-hop-self on R1 -
router bgp xxxx
neighbor 10.1.1.2 next-hop-self
09-09-2018 10:00 AM
Hello.
I knew I was missing something here.
Next hop self worked perfectly fine. Thanks for the advise.
Thank you.
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