cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
707
Views
6
Helpful
8
Replies

Routers couldn't detect eBGP

ss571
Level 1
Level 1

Here is the current topology in GNS3:

Screenshot 2024-01-21 123625.png

There's a tunnel in between R3 & R4 for the iBGP, R3 & R5 are eBGP, R4 and R6 are eBGP. R1-R4 are within the OSPF AS 1190. The BGP works, R3 and R4 can detect the other BGPs shown here:

Screenshot 2024-01-21 124022.png

Below is the BGP output for R5 and R6:

Screenshot 2024-01-21 133032.png

And below is the ospf config in R1-R4:

Screenshot 2024-01-21 134305.png

However, R5 couldn't detect R6's AS and vice versa. I tried to ping from R3 to R4's f0/0 and R4 to R3's f0/0, it works, but when pinging R3 to R4's g1/0 and R4 to R3's g1/0, they failed. Then, when pinging from R5 to R3's f0/0 and R6 to R4's f0/0, it works but doesn't work when pinging R5 to R1's f0/0 and R6 to R2's f0/0. Here are the paths drawn out:

Screenshot 2024-01-20 193746.png

Does anyone know what might be the cause of this issue?ā€ƒ

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @ss571 ,

The issue is that the eBGP next hops are not known to R3 and R4 (148.92.0.2 is not known to R3 and next hop 148.91.0.2 is not known to R4).

You should add the following commands to R3 and R4:

R3:

neighbor 192.168.0.2 next-hop-self

R4:

neighbor 192.168.0.1 next-hop-self

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
MĆ©xico mĆ³vil: +52 1 55 8312 4915
Cisco MĆ©xico
Paseo de la Reforma 222
Piso 19
CuauhtƩmoc, JuƔrez
Ciudad de MĆ©xico, 06600
MĆ©xico

View solution in original post

8 Replies 8

Did you config neighbor  ebgp multihop?

MHM

Networks 148.91.0.0 and 148.92.0.0 must be in BGP either advertised or redistributed via connected interfaces. 

R5 and r6 cannot ping opposite gig1/0 IPs. You can even try ping r5 to r6 with source IP that is advertised. 

Regards, ML
**Please Rate All Helpful Responses **

 

Harold Ritter
Cisco Employee
Cisco Employee

Hi @ss571 ,

The issue is that the eBGP next hops are not known to R3 and R4 (148.92.0.2 is not known to R3 and next hop 148.91.0.2 is not known to R4).

You should add the following commands to R3 and R4:

R3:

neighbor 192.168.0.2 next-hop-self

R4:

neighbor 192.168.0.1 next-hop-self

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
MĆ©xico mĆ³vil: +52 1 55 8312 4915
Cisco MĆ©xico
Paseo de la Reforma 222
Piso 19
CuauhtƩmoc, JuƔrez
Ciudad de MĆ©xico, 06600
MĆ©xico

Thank you for the explanation sir, may I know which protocol do i put these commands under?

 

Hi @ss571 ,

They are

bgp

commands. They go under

router bgp 1190

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
MĆ©xico mĆ³vil: +52 1 55 8312 4915
Cisco MĆ©xico
Paseo de la Reforma 222
Piso 19
CuauhtƩmoc, JuƔrez
Ciudad de MĆ©xico, 06600
MĆ©xico

ss571
Level 1
Level 1

Thank you very much for everyone's assistance and advice, really appreciate all of your help 

Ebgp work without ebgp multihop?

MHM

You are very welcome @ss571 and thanks for the feedback

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
MĆ©xico mĆ³vil: +52 1 55 8312 4915
Cisco MĆ©xico
Paseo de la Reforma 222
Piso 19
CuauhtƩmoc, JuƔrez
Ciudad de MĆ©xico, 06600
MĆ©xico
Review Cisco Networking for a $25 gift card