ospf uses private ip as a gateway

Ondrej Zajicek santiago at crfreenet.org
Sun Mar 20 18:13:13 CET 2011


On Sun, Mar 20, 2011 at 04:48:22PM +0100, Martin Kraus wrote:
> > interface 192.168.0.0/16 { stub; };
> > 
> > That would match all private addresses and change that to stubs,
> > public addresses get over that and matches with later definitions.
> 
> Is it possible to use sets in the interface definition? like
> 
> interface 10.0.0.0/8+ { stub; };
> 
> to match all the possible prefixes from the 10.0.0.0/8 private definition?

No and yes - you cannot specify prefix sets (like in filters),
but the prefixes in interface definitions are meant to match subprefixes.

interface 10.0.0.0/8 { stub; }; 

should do 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/20110320/7f26e1eb/attachment-0001.asc>


More information about the Bird-users mailing list