change routing while exporting to kernel
Ondrej Zajicek
santiago at crfreenet.org
Tue Nov 6 13:04:39 CET 2018
On Tue, Nov 06, 2018 at 12:57:04PM +0100, Michael Schwartzkopff wrote:
> hi,
>
> my config:
>
> filter export2kernel {
>
> if net ~ 192.168.12.0/24 then {
> ifname = "vti0";
> accept;
> }
>
> }
>
>
> should bird recoqnize if the link goes down and comes up again?
In this case BIRD does not take into account that.
> At least in my setup the down detection works:
>
> ip l s down vti0
>
> results that the route disappears from the kernel routing table.
That was done by Linux kernel itself.
> But a ip l s up vti0 does not inject the route into the kernel table again.
>
> Ideas?
Well, they will be inserted again during periodic routing table scan
(see 'scan time' kernel protocol option).
--
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