Two similar kernel routes with different metrics on bird 1.6.4

Ondrej Zajicek santiago at crfreenet.org
Wed Sep 11 16:24:14 CEST 2019


On Wed, Sep 11, 2019 at 12:48:11PM +0300, Andrew wrote:
> Hi all.
> 
> I have two default kernel routes with different metrics (for failover, when
> first gateway becomes unreachable - all traffic is switched to second gw). I
> want to pipe it to other kernel table to gracefully handle connections to
> second IP. Unfortunatelly, I can't force bird to learn route with higher
> metric - bird just ignores it.
> 
> Option 'merge paths' does nothing in that case. Import filter doesn't help -
> it seems like route is dropped somewhere in protocol, before passing to
> filter.
> 
> How can I force bird to learn route with higher metric?

Hi

That is unfortunately not supported. Only one route per network can
be imported.

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