Interface Instance IDs in OSPFv3
Ondrej Zajicek
santiago at crfreenet.org
Fri May 11 12:00:36 CEST 2012
On Thu, May 10, 2012 at 10:15:58AM +0200, Benjamin Paterson wrote:
> Great, that definitely makes more sense then :)
> I'm still wondering, shouldn't this block:
> if (ip->instance_id == 0)
> done0++;
> iid = ip->instance_id + 1;
> instead read:
> if (iid == 0)
> done0++;
> iid = ip->instance_id + 1;
> Otherwise the condition done0>1 will only be triggered if the same
> interface is in multiple areas with instance ID 0. I think we want the
> condition to be triggered if the same interface is in multiple areas,
> whatever the instance ID?
No. AFAIK having the same interface with different instance IDs in different
areas is completely valid. You can think on instance ID feature as a kind of
pseudo-vlan.
The proper check would be triggered if the same interface is in multiple
areas with the same instance ID, but check that just for IID 0 to make
the check simple.
--
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/20120511/358b6962/attachment-0001.asc>
More information about the Bird-users
mailing list