Re: NSSA NP option bit clarification

Acee Lindem <acee@REDBACK.COM> Thu, 12 June 2003 14:33 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 KAA13845 for <ospf-archive@LISTS.IETF.ORG>; Thu, 12 Jun 2003 10:33:37 -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 <14.00A1083D@cherry.ease.lsoft.com>; Thu, 12 Jun 2003 10:33:37 -0400
Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 45422130 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 12 Jun 2003 10:33:35 -0400
Received: from 155.53.12.9 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i) with TCP; Thu, 12 Jun 2003 10:33:35 -0400
Received: from redback.com (login005.redback.com [155.53.12.60]) by prattle.redback.com (Postfix) with ESMTP id 84B0A1F6C4E for <OSPF@PEACH.EASE.LSOFT.COM>; Thu, 12 Jun 2003 07:33:34 -0700 (PDT)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <B2005927282@vljcms02.ucmretail.internal.callsciences.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Message-ID: <3EE88F2C.2070507@redback.com>
Date: Thu, 12 Jun 2003 10:33:16 -0400
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: Acee Lindem <acee@REDBACK.COM>
Subject: Re: NSSA NP option bit clarification
To: OSPF@PEACH.EASE.LSOFT.COM
Precedence: list
Content-Transfer-Encoding: 7bit

Hi Paul,

farshad@ONEBOX.COM wrote:
> 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)

This is correct. I checked RFC 2328 and the only requirement is that the
options carried in DD packets do not change during the database exchange.
There no checking to assure the options match the area configuration or the
options in the hello packet.

> 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,

I agree. I set the NSSA options in both the hello and DD packets.

> but I also understand why that is not a requirement.

I'm sure I do. They both describe the same set of options
as described in appendix A.2. I think this may have been an
oversight.

Thanks,
Acee

>
> 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
>


--
Acee