cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16023
Views
0
Helpful
2
Replies

BGP routes received but not in routing table

Mantas Sti
Level 1
Level 1

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 diagramNetwork diagramsh ip bgpsh ip bgpsh ip routesh ip route

CCNA Routing and Switching
1 Accepted Solution

Accepted Solutions

omz
VIP Alumni
VIP Alumni

 

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

View solution in original post

2 Replies 2

omz
VIP Alumni
VIP Alumni

 

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

Hello.

 

I knew I was missing something here.

Next hop self worked perfectly fine. Thanks for the advise.

Thank you.

CCNA Routing and Switching

Review Cisco Networking for a $25 gift card