OSPFv3 on Bird Needs IPv6 LLA on the Loopback Interface

Wanted to share this “too weird to believe” SNAFU I found when running integration tests with the Bird routing daemon. It’s irrelevant unless you want Bird to advertise the IPv6 prefix configured on the main loopback interface (lo) with OSPFv3.

Late last year, I decided to run netlab integration tests with the Bird routing daemon. It passed most baseline netlab OSPFv3 integration tests but failed those that checked the loopback IPv6 prefix advertised by the tested device (test results).

A quick Google search unearthed a Wisdom of the Ancients email from someone facing the exact same problem, and the replies sent me deep into the “you must be kidding” territory. OSPFv3 requires IPv6 LLA to communicate, and if Bird does not find an LLA on an interface, it ignores the interface even when the interface is configured as a stub interface.

The proposed “solution”: add a static LLA to the loopback interface. It works, but one would have hoped not to encounter this FAD1 in the Bird release shipping with Ubuntu 24.04.

So, just in case you need to get Bird running in this particular scenario, and the loopback interface remains in the “Ignored” state: ip addr add fe80::1/64 dev lo scope link is what you’re looking for. I added that to the Bird initial configuration template, and suddenly, most OSPFv3 tests (for the functionality netlab supports on Bird) passed with flying colors.


  1. Functions As Designed ↩︎

Add comment
Sidebar