Bird handles OpenBSD route priority differently

Ondrej Zajicek santiago at crfreenet.org
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 0.0.0.0
> 
> router 192.168.69.34
> distance 0
> network 192.168.69.32/29 metric 10
> external 0.0.0.0/0 metric2 10000 via 192.168.69.37
> external 192.168.69.32/29 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.

Hi

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 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."


More information about the Bird-users mailing list