Inject ethernet-based defaults to OSPF

Ondrej Zajicek santiago at crfreenet.org
Fri Sep 20 12:39:26 CEST 2019


On Fri, Sep 20, 2019 at 09:25:45AM +0200, daniele wrote:
> Nice, will try that. One additional question: if leverage kernel protocol,
> it means local routing tables already contain the default learnt through
> DHCP. Wouldn't this generate some kind of warning (ie. bird4: Netlink: File
> exists) when bird, say on R2 to install R1 as default, tries to overwrite
> the local default with the one generated by OSPF?

It will try to install it on both R1 and R2 (as kernel-learned routes has
lower default preference than OSPF routes). In that case it will generate
warning. On Linux, it is suggested to use 'metric' option of kernel
protocol to avoid collision with alien routes.

But in your case the proper solution is to set preference of kernel
protocol higher than OSPF (say 160).

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