On Sat, Apr 30, 2016 at 04:41:35PM +0200, Baptiste Jonglez wrote:
It's not that obvious that you can use import/export functions to filter routes. This is especially important because the default policy (import all, export none) is not very useful.
For instance, the default behaviour of babeld, exporting only local addresses, can be approximated by using the "direct" protocol and setting this policy for babel:
export where source = RTS_DEVICE;
Note that Babel in BIRD does not redistribute interally, so you have to use 'export where (source = RTS_DEVICE) || (source = RTS_BABEL)' to propagate Babel routes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."