ā01-15-2024 04:42 AM - last edited on ā01-15-2024 04:51 AM by Gabriela Godoi do Prado
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:
Now if I try to drip from R4 to R1 network I can not, even having route
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
Can someone help me please?
ā01-15-2024 05:20 AM - edited ā01-15-2024 05:23 AM
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.
ā01-15-2024 05:31 AM
Two points
1- use source in ping
or
2- (I not recommend) redistribute the connect into BGP
MHM
ā01-19-2024 04:47 AM
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!
ā01-23-2024 05:00 AM
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
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