Problem with Export Filter in OSPF

Ondrej Zajicek santiago at crfreenet.org
Wed Oct 24 21:03:50 CEST 2012


On Wed, Oct 24, 2012 at 07:01:53PM +0200, Wendler, Daniel wrote:
> Hello,
> 
> 
> i'm new to bird and try to setup an OSPF Setup with 4 instances of bird on
> Linux Systems.
> The used version is 1.3.8 installed trough the Debian Squeeze Repo
> provided by bird.network.cz.
> 
> At the moment i tried to establish an export filter for OSPF, and it
> seems, that it isn't working
> at all. Same filter works best as an import filter:
> 
> filter notrans {
>         if net ~ [ 10.110.1.0/24+ ] then reject;
>         accept;
> }
> 
> 
> I want this net (and all subnets) not exported to other nodes in the OSPF
> Areas.
> 
> I tried to test the filter on the system where i will export some routes.
...
> 10.110.1.64/26     via 10.110.1.178 on eth1 [transospf 18:20] * IA
> (150/20) [10.110.1.118]    << this should not happen i think!
> 172.27.128.96/27   via 10.110.1.178 on eth1 [transospf 18:20] ! IA
...

For OSPF, the export filter controls just the propagation of external
routes to OSPF. If some OSPF-claimed iface uses that prefix, OSPF will
propagate that regardless of filters. See this for similar question and
hints how to handle it:

http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg02194.html

-- 
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/20121024/86f1f622/attachment-0001.asc>


More information about the Bird-users mailing list