checking static routes against interface

Ondrej Zajicek santiago at crfreenet.org
Thu Jul 18 12:19:37 CEST 2013


On Wed, Jul 17, 2013 at 11:51:23AM +0100, Sri Rao wrote:
> Hi,
> 
> I am trying to see if it is possible to have static route prefixes
> checked against an interface.  If that prefix or a larger prefix is
> configured on the interface than allow it to be exported.
> 
> Situation is:
> 
> I have something like 10.0.1.1/24 on the loopback(lo) interface.
> 
> I have static routes like:
> 
> route 10.0.1.3/32 dev lo;
> route 10.0.1.6/32 dev lo;
> route 10.0.1.9/32 dev lo;
> route 10.0.2.3/32 dev lo;
> 
> I would like to have the 10.0.1.{3,6,9} routes exported but not 10.0.2.3/32.
> 
> is that possible?

No, this is not possible.

-- 
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/20130718/6407cebf/attachment-0001.asc>


More information about the Bird-users mailing list