12-16-2023 06:49 AM
Hi guys,
I have a confusion about eBgp multi-hop, i always see just the multihop sets to 2, when using loopbacks and we have a router between peers, but what if we have a couple of routers that we can't count what we'll set as mutli-hop, is still 2 hopes enough to establish a peering relationship between the two routers ?
Thanks,
12-16-2023 07:02 AM - edited 12-16-2023 08:02 AM
Sure not 2,
If you have multi router between two peers and you dont lnow the excat number
Use traceroute
See how must hop appear
And then the number of peers add it to ebgp multihop command
MHM
12-16-2023 07:20 AM
Hello @Kaneki007
The `ebgp-multihop` feature in BGP is typically used when establishing BGP peering between routers that are not directly connected or when loopback interfaces are used for peering. The `multihop` setting specifies the number of hops (routers) allowed between the BGP peers.
If you have a scenario where there are multiple routers in between the two BGP peers, you need to set the `multihop` value accordingly. Setting it to 2 means that the BGP peer should be reachable within 2 hops.
Adjust the `multihop` value based on the actual number of routers or hops between the BGP peers in your specific network topology. It ensures that BGP packets can traverse the necessary number of routers to reach the peer. You should know the topology and traceroute or more could help you.
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