cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
324
Views
0
Helpful
4
Replies

Can someone help me? EBGP

Translator
Community Manager
Community Manager

AndreDapper_0-1705079031658.png

I have the topology above 
I am closing EBGP between routers 
Announcing loopback network /24
I wanted to understand why I can only drip from the router with 1 hop
Example:

AndreDapper_1-1705079129152.png

Now if I try to drip from R4 to R1 network I can not, even having route

AndreDapper_2-1705079194932.png

If I drop from R1 towards ip 1.1.1.1, it does not respond, but if I drop from R2 and R3 it responds

AndreDapper_4-1705079340814.png

Can someone help me please?

 

4 Replies 4

M02@rt37
VIP
VIP

Hello @AndreDapper 

On you last ping test, add the IP source.

As an example from R4 to ping R1 loopback:

#ping 1.1.1.1 source 4.4.4.4

Also if you want multi path, add this command under router bgp process

maximum-paths 2

This enable load balancing with the maximum-paths command.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Two points
1- use source in ping
or 
2- (I not recommend) redistribute the connect  into BGP
MHM

Translator
Community Manager
Community Manager

Hello, Andre!

When you ping R4 toward R1, the packet will be formed with the source IP being the IP of the interface you receive the block. So this ICMP packet (Ping) even arrives in R1, but when R1 analyzes the source to send the response it will not have IP 10.2.4.2 in its routing table. 

In this case, you need to define that the source IP of the ping will be IP 4.4.4.4 because that's what the R1 will have in your table. When you ping the neighboring router this will work because the source IP will be the IP of the interface between them and both will have it in their routing table. 

A legal hint is to use wireshark as you are in a LAB environment, so you can see the packet header and have a clear view of it.

I hope I helped, hugs and good studies!

Translator
Community Manager
Community Manager

Andre, good morning!

Because it is ebgp and routers are not directly connected, you need the ebgp-multihop command and the update-source command to advertise the loopback.

Example: neighbor 4.4.4.4 ebgp-multihop 255

               neighbor 4.4.4.4 update-source lo0

Review Cisco Networking for a $25 gift card