Missing BFD session with OSPFv3 and same link-local addresses.

Ondrej Zajicek santiago at crfreenet.org
Wed Sep 30 00:58:38 CEST 2015


On Fri, Sep 25, 2015 at 01:04:45PM +0300, Christos Trochalakis wrote:
> Hello all,
> 
> ...
> 
> There is only one bfd session instead of two (one for each link).
> 
> After digging a bit in the source code, it seems that the OSPF protocol
> calls `bfd_request_session()` which leads to a call to `bfd_add_request()`.
> `bfd_add_request()` tries to reuse an already established session with
> **the same destination address** before creating a new one. But B.B.B.B
> has the same link-local address on both interfaces (they share the same
> mac) so the second session is never created and the first one is
> returned. Perhaps a better approach would be to use the (address, iface)
> pair when trying to reuse a session.

Hello

You are right, i just noticed the same problem several weeks ago.

-- 
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20150930/cc82c8d2/attachment.asc>


More information about the Bird-users mailing list