ERR when redistributing to OSPF NSSA

Alexander V. Chernikov melifaro at ipfw.ru
Thu Sep 29 17:36:23 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fedor Dikarev wrote:
> On 29.09.2011 18:15, Alexander V. Chernikov wrote:
>> Alex Bligh wrote:
>>
>>
>>> --On 29 September 2011 17:39:05 +0400 Fedor Dikarev <fe at rambler-co.ru>
>>> wrote:
>>>> I've got the problem: I'm trying to reditribute lo-address-es to ospf
>>>> nssa area:
>> Do you really need such redistribution?
>> Much better thing to do is just adding interface "lo1" { stub; }; to
>> appropriate area.
> Yes, I really need so -- at production environment part of them must be
> advertised as NSSA N1 and others as NSSA N2.
Okay, there is a small bug in bird preventing actual errors to come up.
Patch attached.

Real error is: bird: ospf1: Cannot find forwarding address for NSSA-LSA
81.19.94.167/32


Actual problem with redistribution resides in the following:
when ospf comes up it interpretes all its active interfaces as
interfaces with DOWN state. Interfaces with DOWN state are skipped on
forwarding address lookup (we need to do this since P-bit is set).

As a temporary workaround you can do the following:
* apply attached patch (it is simple "sed -I'' s/log(L_ERR,/log(L_ERR/")
* do birdc -c 'restart direct1' several seconds after bird is started.

> 
>>
>>> My understanding was that OSPF NSSA does not work in bird. I'd love
>>> to be told I'm wrong!
>> bird supports NSSA since 1.3.3
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6EkHcACgkQwcJ4iSZ1q2mMRQCePOml2ed8mgGc5CFFg1NgqW2p
+PMAnRl7+7AdZdYa8qaTpOrkzfPDiNSk
=kjxD
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: birdlog.diff
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110929/a41bbd2e/attachment-0001.diff>


More information about the Bird-users mailing list