Problem with Export Filter in OSPF

Wendler, Daniel dwe at boreus.de
Thu Oct 25 06:53:14 CEST 2012


Hello,

Ok, so i missed out this.
This wasn't clear for me after reading the doku.
So i will apply such an filter on the "receiving" side.


Thanks for your help.

Greetings
Daniel

Am 24.10.12 21:03 schrieb "Ondrej Zajicek" unter <santiago at crfreenet.org>:

>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.h
>tml
>
>-- 
>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."




More information about the Bird-users mailing list