cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
199
Views
0
Helpful
2
Replies

BGP configuration multihop

mufas12
Level 1
Level 1

When configuring BGP Multihop. How do I know how many hops the router I want to form a relationship is? In easy examples, I have seen routers 2 or 3 hops away and that's pretty easy but in real life, where you have no idea how many hops the router you want to form adjacency is, how can I know that?

2 Replies 2

Use traceroute and check how many hops inbetween' after you know hops use ebgp multihop (number you get from traceroute).

M02@rt37
VIP
VIP

Hello @mufas12,

Use the `traceroute`command from your router to the remote router's IP address. This command will show you the path the packets take, including the number of hops. However, keep in mind that this method may not always reveal the exact BGP path.

You can use the `ping` command to ping the remote router's IP address. The Time-to-Live (TTL) field in the ICMP packet response will show you how many hops it took to reach the destination. By sending a series of pings and increasing the TTL value, you can estimate the number of hops.

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