[PATCH 2.x branch] BGP: Bind listen socket to VRF

Alexander Zubkov green at qrator.net
Fri Oct 26 20:38:28 CEST 2018


Hi,

Thank you for improving the patch.

Did I get it right? You mean the case when one has the same IP for BGP
sessions in different VRFs on different interfaces?

On Fri, Oct 26, 2018 at 7:28 PM, Ondrej Zajicek <santiago at crfreenet.org>
wrote:

> On Fri, Oct 26, 2018 at 12:03:57PM +0200, Alexander Zubkov wrote:
> > BGP protocol could not bind to the interface in a VRF
> > even if the vrf option was specified in the configuration.
>
> Hi
>
> Thanks for the bugfix, but note that in order to work with multiple BGP
> protocols in different VRFs, also the selector of existing sockets that
> runs before the sk_new() have to take it into consideration, otherwise it
> will just return old socket bound to different VRF. See attached patch.
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at 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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20181026/c9d2b699/attachment.html>


More information about the Bird-users mailing list