Binding to some interfaces only for multihop bgp
Hi, I would like bird to bind to some interfaces only, but use some multihop neighbours. Is there any easy way to achieve such a configuration? The strict bind option is incompatible with multihop, and I haven't seen anything where i can give a positive or negative list of interfaces to bind to / not to bind to. Thanks Sebastian
Hi, I doubt that strict bind option is incompatible with multihop. Do you have some problems with it? On Sun, Feb 19, 2023 at 4:17 PM Sebastian Hahn <bird_users@sebastianhahn.net> wrote:
Hi,
I would like bird to bind to some interfaces only, but use some multihop neighbours. Is there any easy way to achieve such a configuration? The strict bind option is incompatible with multihop, and I haven't seen anything where i can give a positive or negative list of interfaces to bind to / not to bind to.
Thanks Sebastian
Hi Alexander, thanks a lot for the fast response.
On 19. Feb 2023, at 16:31, Alexander Zubkov <green@qrator.net> wrote: Hi,
I doubt that strict bind option is incompatible with multihop. Do you have some problems with it?
I get the following error: Multihop BGP cannot be bound to interface when I am trying with an ibgp config like this: protocol bgp test { local <ip> as <myas>; interface "<iface>"; strict bind yes; ipv6 { ... } neighbour <theirip> as <myas>; } Thanks Sebastian
On Sun, Feb 19, 2023 at 06:28:03PM +0100, Sebastian Hahn wrote:
Hi Alexander,
thanks a lot for the fast response.
On 19. Feb 2023, at 16:31, Alexander Zubkov <green@qrator.net> wrote: Hi,
I doubt that strict bind option is incompatible with multihop. Do you have some problems with it?
I get the following error:
Multihop BGP cannot be bound to interface
Hi The strict bind option is not really related to interface, but to local IP (because binding to interface really means binding to its IP). Just do not use inteface option, while keep strict bind enabled and local IP set.
when I am trying with an ibgp config like this:
protocol bgp test {
local <ip> as <myas>; interface "<iface>"; strict bind yes; ipv6 { ... } neighbour <theirip> as <myas>; }
-- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi Ondrej, many thanks to you, too!
On 19. Feb 2023, at 18:41, Ondrej Zajicek <santiago@crfreenet.org> wrote: On Sun, Feb 19, 2023 at 06:28:03PM +0100, Sebastian Hahn wrote:
On 19. Feb 2023, at 16:31, Alexander Zubkov <green@qrator.net> wrote: Hi,
I doubt that strict bind option is incompatible with multihop. Do you have some problems with it?
I get the following error:
Multihop BGP cannot be bound to interface
Hi
The strict bind option is not really related to interface, but to local IP (because binding to interface really means binding to its IP). Just do not use inteface option, while keep strict bind enabled and local IP set.
For each BGP connection I have a separate interface and I am wondering how I would deal with this suggestion then. I think it would mean a separate unique IP for each neighbour, assigned to the interface, yes? Thanks Sebastian
Hi Ondrej,
On 19. Feb 2023, at 19:02, Sebastian Hahn <bird_users@sebastianhahn.net> wrote:
On 19. Feb 2023, at 18:41, Ondrej Zajicek <santiago@crfreenet.org> wrote: On Sun, Feb 19, 2023 at 06:28:03PM +0100, Sebastian Hahn wrote:
On 19. Feb 2023, at 16:31, Alexander Zubkov <green@qrator.net> wrote: Hi,
I doubt that strict bind option is incompatible with multihop. Do you have some problems with it?
I get the following error:
Multihop BGP cannot be bound to interface
Hi
The strict bind option is not really related to interface, but to local IP (because binding to interface really means binding to its IP). Just do not use inteface option, while keep strict bind enabled and local IP set.
For each BGP connection I have a separate interface and I am wondering how I would deal with this suggestion then. I think it would mean a separate unique IP for each neighbour, assigned to the interface, yes?
I have to apologize, it works just as you described. When I tried earlier, I had received an error about being unable to open a listening socket, but this was, I assume, due to reloading bird instead of restarting. I had assumed that this was because bird tried to open the same socket once for each protocol, but it does not. Thanks Sebastian
participants (3)
-
Alexander Zubkov -
Ondrej Zajicek -
Sebastian Hahn