Community discussions

MikroTik App
 
User avatar
blazej44800
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Thu Feb 20, 2014 6:16 pm

RouterOS ignoring OSPF LSA with LA-bit set

Tue Sep 28, 2021 8:25 pm

Hello,

in mailing list of Bird routing daemon https://bird.network.cz/pipermail/bird- ... 15758.html we discussed that RouterOS is wrongly ignoring OSPF LSAs with /128 IPv6 addresses with LA-option bit set.
In my situation, Debian server has IPv6 address attached to dummy interface. Bird correctly make LSA with following:

referenced-LS-type=Router LSA
referenced-LS-ID=0
prefix=2a02:6ca3:0:1::25/128 options=01000000 (LA)

However, this route never appear in RIB. According to RFC5340:

LA-bit
The "local address" capability bit. If set, the prefix is
actually an IPv6 interface address of the Advertising Router.
Advertisement of local interface addresses is described in
Section 4.4.3.9. An implementation MAY also set the LA-bit for
prefixes advertised with a host PrefixLength (128).

So does it mean that RouterOS does not understand "MAY implementation"
of LA-bit for host PrefixLength (128)? The same configuration with Quagga (which does not set LA bit) works correctly with Mikrotik.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: RouterOS ignoring OSPF LSA with LA-bit set

Tue Sep 28, 2021 8:41 pm

This is old news, you can already find threads about it. It has been an issue for years. This has been fixed in RouterOS v7. They were unable to fix it in v6 for whatever reason. The workaround in v6 is to advertise that loopback route using redistribute connected on the origin router, then it is a type 5 LSA and does not have the LA bit set.

Who is online

Users browsing this forum: Google [Bot] and 11 guests