cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
5
Replies

Cisco - eBGP neighbor routing between static routes:

DSterling
Level 1
Level 1

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.

DSterling_0-1694191422466.png

 

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 bgp 1
  • Neighbor 192.168.23.3 remote-as 3

Router 2 config:

  • All static routes ! I can ping from R3 to 1.1.1.1 and can also ping from R1 to 3.3.3.3
  • Ip route 1.1.1.0 255.255.255.0 192.168.12.1
  • Ip route 3.3.3.0 255.255.255.0 192.168.23.3
  • Ip route 192.168.4.0 255.255.255.0 192.168.23.3
  • Ip route 192.168.14.0 255.255.255.0 192.168.23.3
  • Ip route 192.168.24.0 255.255.255.0 192.168.23.3

 

Router 3 config:

  • Router bgp 3
  • Neighbor 192.168.12.1 remote-as 1

 

  • Router ospf 1
  • Network 192.168.34.0 255.255.255.0 area 0

Router 4 config:

  • Router osfp 1
  • Network 0.0.0.0 255.255.255.255 area 0
3 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

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! 

View solution in original post

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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. 

 

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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! 

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card