09-08-2023 09:44 AM
I’m wanting to simulate a network my company manages, so I want to lab a similar network to understand it. I’m trying to get ebgp to work between two routers (R1 & R3) separated by a router (R2) that only does static routing. There is more to the production network and this is very simplified.
Configuring routing between 4 routers:
Router1 is configured with bgp AS 1 to Router 3
Router2 is configured with static routes only
Router3 is configured with bgp AS3 to Router 1 and ospf with Router4.
I want to form ebgp neighbors between R1(bgp AS1) and R3 (BGP AS3 and OSPF), R2 has only static routes, R4 is OSPF.
I want to have access to the vlans from router 1 that are on router 4.
I’m not getting this to work. I can ping from R1 to R3 loopback interfaces, but the neighbor relationship remains idol.
Router 1 config:
Router 2 config:
Router 3 config:
Router 4 config:
Solved! Go to Solution.
09-08-2023 09:59 AM - edited 09-08-2023 10:01 AM
You need to post fuill configuraton of R1 and R3 to look.
since we dont know the full config - since ebpg peer not directly connected you need to add config multihop and disable connected checks
example :
neigh x.x.x ebgp-multihop 2
09-08-2023 10:52 AM
Ok, I used the debug and found it was failing from the loopback intereface on both R1 and R3, I took out the update-source lo0 and now it's no longer idle and I see a couple of routes in bgp. Thank you for your help!
09-08-2023 11:04 AM
Debug is good method and tell you what is the issue when you doing Lab we do not know the issue.
yes that is what my suggestion to use - make sure right source of interface used
09-08-2023 09:59 AM - edited 09-08-2023 10:01 AM
You need to post fuill configuraton of R1 and R3 to look.
since we dont know the full config - since ebpg peer not directly connected you need to add config multihop and disable connected checks
example :
neigh x.x.x ebgp-multihop 2
09-08-2023 10:32 AM - edited 09-08-2023 10:43 AM
In the lab there isn't any more to the config other then what I posted.
Thank you, I tried neigh x.x.x ebgp-multihop 2 on both R1 and R3 cleared bgp, waited 10 minutes and bgp summary is still showing idle, no bgp routes. I also applied disable-connected-checks.
09-08-2023 10:43 AM
If you looking for help
i would expect to post show information from R2 :
show run
From R1 and R3
show run
show ip route
show ip bgp sumary
enable debug and check debug ip bgp (and post the logs)
make sure right source of interface used.
09-08-2023 10:52 AM
Ok, I used the debug and found it was failing from the loopback intereface on both R1 and R3, I took out the update-source lo0 and now it's no longer idle and I see a couple of routes in bgp. Thank you for your help!
09-08-2023 11:04 AM
Debug is good method and tell you what is the issue when you doing Lab we do not know the issue.
yes that is what my suggestion to use - make sure right source of interface used
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