change routing while exporting to kernel

Ondrej Zajicek santiago at crfreenet.org
Mon Nov 5 17:05:28 CET 2018


On Mon, Nov 05, 2018 at 04:48:10PM +0100, Alexander Zubkov wrote:
> Wow. This settings makes route via interface only? I.e. also undefines
> gateway?

Yes. Gateway and iface are interconnected, which has some minor weird
effects in filter language, like setting gw resets iface (to one
associated with that IP) and conversely setting ifname unsets gateway.
Even if one sets the property to the value it already had before ;-).

Not sure if that is best behavior, but the alternative (having them
independent) would probably be more unexpected.

-- 
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20181105/ca7ced10/attachment.sig>


More information about the Bird-users mailing list