bird 1.3.2 - kernel / learn / filters

Ondrej Zajicek santiago at crfreenet.org
Wed Aug 17 21:54:57 CEST 2011


On Wed, Aug 17, 2011 at 07:59:39PM +0100, Alex Bligh wrote:
> Is it possible either to control what routes the kernel protocol
> learns from the kernel using "learn" by what /kernel/ protocol
> they are (meaning the "protocol xxxx" field to the "ip route add"
> command on linux),

This is not possible - although the value of (kernel) protocol field is
learned, it is not accessible to filters. It will be trivial to add this
feature. But i wonder if there are any sensible use cases. Perhaps an
import of routes from other routing daemons through kernel table? It is
usually a good idea to either import nothing from kernel, or everything
(because these routes wouldn't disappear if we do not import them, just
the synchronization will be incomplete). But it is true that such
filtering can make sense when the learned routes are later exported to
the other routing protocols.

OTOH, you can use more kernel routing tables, more kernel protocols
(each for one kernel table) and filter learned routes based on that.


-- 
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: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110817/327900f4/attachment-0001.asc>


More information about the Bird-users mailing list