Re: NSSA NP option bit clarification

farshad@ONEBOX.COM Thu, 12 June 2003 06:38 UTC

Received: from cherry.ease.lsoft.com (cherry.ease.lsoft.com [209.119.0.109]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28263 for <ospf-archive@LISTS.IETF.ORG>; Thu, 12 Jun 2003 02:38:03 -0400 (EDT)
Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <7.00A1004A@cherry.ease.lsoft.com>; Thu, 12 Jun 2003 2:38:02 -0400
Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 45390948 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 12 Jun 2003 02:38:01 -0400
Received: from 67.17.166.10 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i) with TCP; Thu, 12 Jun 2003 02:38:01 -0400
Received: from CallSciences (unverified [172.21.6.74]) by ucmmail.com (Rockliffe SMTPRA 5.2.5) with SMTP id <B2005927282@vljcms02.ucmretail.internal.callsciences.com> for <OSPF@peach.ease.lsoft.com>; Thu, 12 Jun 2003 02:38:00 -0400
Content-Type: text/plain; charset="US-ASCII"
Message-ID: <B2005927282@vljcms02.ucmretail.internal.callsciences.com>
Date: Thu, 12 Jun 2003 02:38:00 -0400
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: farshad@ONEBOX.COM
Subject: Re: NSSA NP option bit clarification
To: OSPF@PEACH.EASE.LSOFT.COM
Precedence: list

Paul,

From what I understand, setting that bit in the DD after it is verified in the hello packets is optional. I remember a discussion about that a couple of years ago. I also remember a switching company that didnt carry that bit in their implementation and had incompatibility issues with another switching company (I dont want to name companies and make them look bad or good when they are all actually RFC complient)

Just remember, if the area changes from NSSA to say transit, the new hello packets will have different options carried in them, and therefore the router will not neighbor with the NSSA routers.

Personally, I think it makes more sense if the DD packets match the hello packets in the options field, but I also understand why that is not a requirement.

Hope that helps,

Farshad


-----Original Message-----
From:     Paul Jakma <paul@CLUBI.IE>
Sent:     Thu, 12 Jun 2003 04:48:40 +0100
To:       OSPF@PEACH.EASE.LSOFT.COM
Subject:  NSSA NP option bit clarification

hi,

I have a question regarding the use of the NP bit in the options
field, specifically with respect to its use in the Database
Description header.

From RFC3101, Appendix A, The NP bit is used in:

options field in Hello, DD and Type-7 LSAs. Its use is described as:

- Hello header, to indicate whether router is Type7 capable. (N bit
semantics)

- Type-7 LSA, to indicate whether the LSA should or should not be
translated to Type-5, default is clear. (P bit semantics)

The usage in the DD header options field is not specified. Hence one
presumes OSPFv2 semantics hold, DD options must match Hello options
(ie current neighbour state wrt to options, but change in options
usually results in neighour state going back to at least ExStart,
iirc).

However, we have noticed in testing that there is an OSPF
NSSA implementation from a major vendor which does /not/ set the P
bit in the DD header, even though N bit in Hello and in neighbour
state is set, and it is sending Type-7 LSAs.

Is there an explanation for this? Or is this implementation wrong?

(at the moment we have hacked the implementation we have tested,
zebra ospfd, against this vendor's implementation to simply set the
NP bit in the DD header if N bit is set in neighbour-state to allow
the DD to be processed, as zebra ospfd will otherwise drop DD packets
where DD options do not match current neighbour state.)

thanks in advance.

regards,
--
Paul Jakma      paul@clubi.ie   paul@jakma.org  Key ID: 64A2FF6A
        warning: do not ever send email to spam@dishone.st
Fortune:
/usr/news/gotcha