Bird handles OpenBSD route priority differently

Ondrej Zajicek santiago at
Mon Jan 21 15:14:23 CET 2019

On Mon, Jan 21, 2019 at 02:58:19PM +0700, Igor Podlesny wrote:
> (compared to native OSPF daemon.)
> bird> show ospf state all
> area
> router
> distance 0
> network metric 10
> external metric2 10000 via
> external metric2 10000
> Higher priority 12 is of a lesser significance, so kernel prefers
> default via .36.
> Trying OpenOSPFd it's seen that theirs OSPF also prefers default via
> .36 in its advertisements.


Yes, our BSD code does not handle kernel route priorities, i didn't even
know there is such feature, it seems to be OpenBSD specific. Therefore,
in your test case BIRD chooses one route arbitrarily. Should not be hard
to implement this.

Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,
"To err is human -- to blame it on a computer is even more so."

More information about the Bird-users mailing list