EBGP Multihop /w Directly Connected Peer

Anthony Hoppe ahoppe at backblaze.com
Thu Mar 27 22:59:21 CET 2025


Hello,

I have a situation where I need to enable EBGP multihop even though the
peer is directly connected.  Backstory: I have hosts running BIRD peered
with MLAG paired switches and there are instances where BGP ECMP and LACP
hashing don't align.  BGP packets destined to one peer (Switch A) will land
on the other switch in the pair (Switch B).  In this case, the switch in
which the packet landed (Switch B) will route the packet to the correct
switch (Switch A) causing TTL to decrement.

When I configure multihop in BIRD, it seems BIRD assumes that the next-hop
address is unreachable and expects there to be a static route to the peer
before it will consider accepted routes reachable.  I can't add a static
route that points to itself, so in my testing environment I ended up adding
a /128 to the loopback interface on both switches and configured BIRD peer
with that address.  Then I was able to add the static route BIRD is
expecting (and is now actually necessary), and multihop works fine.

However, if possible, I'd like to avoid having to do this.  Is there a way?

Thanks!

~ Anthony

-- 
This email, including its contents and any attachment(s), may contain 
confidential and/or proprietary information and is solely for the review 
and use of the intended recipient(s). If you have received this email in 
error, please notify the sender and permanently delete this email, its 
content, and any attachment(s).  Any disclosure, copying, or taking of any 
action in reliance on an email received in error is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250327/52c7a093/attachment.htm>


More information about the Bird-users mailing list