ospf netmask mismatch

Ondrej Zajicek santiago at crfreenet.org
Mon Jul 12 19:43:38 CEST 2010


On Mon, Jul 12, 2010 at 05:49:21PM +0200, Martin Kraus wrote:
> On Mon, Jul 12, 2010 at 03:53:31PM +0200, Ondrej Zajicek wrote:
> > On Mon, Jul 12, 2010 at 01:39:25PM +0200, Martin Kraus wrote:
> > The private /25 prefixes uses private IP addresses? There was a change in BIRD
> > that interface with more IP addresses works like more virtual interfaces with
> > regard to OSPF, but it should not cause problems and it was earlier change
> > (~ 1.2.0).
> 
> I have 1.1.4 in most of the network.
> 
> > 
> > It is strange that reported netmask is /31, but you said that it uses
> > 212.71.191.77/30 . Could you send me output of 'show ospf interface'?
> 
> When I get rid of the private prefixes it all works fine. when I add them it
> gets  the netmask mismatch (255.255.255.128) again. the /25 is set on the private
> prefixes.

I found the bug, it is specific to NBMA interfaces with multiple addresses.
The workaround is to restrict the active iface to only one address, like:

interface "eth1" 212.71.191.76/30 { ... };

or you can use supernet, like:

interface "eth1" 212.71.0.0/16 { ... };

-- 
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/20100712/fa0da6d7/attachment-0001.asc>


More information about the Bird-users mailing list