NSSA NP option bit clarification

Paul Jakma <paul@CLUBI.IE> Thu, 12 June 2003 03:58 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 XAA13528 for <ospf-archive@LISTS.IETF.ORG>; Wed, 11 Jun 2003 23:58:44 -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 <15.00A0F97A@cherry.ease.lsoft.com>; Wed, 11 Jun 2003 23:58:44 -0400
Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 45369856 for OSPF@PEACH.EASE.LSOFT.COM; Wed, 11 Jun 2003 23:58:42 -0400
Received: from 212.17.36.87 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i) with TCP; Wed, 11 Jun 2003 23:48:42 -0400
Received: from fogarty.jakma.org (IDENT:tvLFaxw4kwSdw3NOrS3AP8MP7+vvXD/Z@fogarty.jakma.org [192.168.0.4]) by hibernia.jakma.org (8.11.6/8.11.6) with ESMTP id h5C3meA30713 for <OSPF@peach.ease.lsoft.com>; Thu, 12 Jun 2003 04:48:40 +0100
X-X-Sender: paul@fogarty.jakma.org
X-NSA: iraq saddam hammas hisballah rabin ayatollah korea vietnam revolt mustard gas
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Message-ID: <Pine.LNX.4.44.0306120431120.31577-100000@fogarty.jakma.org>
Date: Thu, 12 Jun 2003 04:48:40 +0100
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: Paul Jakma <paul@CLUBI.IE>
Subject: NSSA NP option bit clarification
To: OSPF@PEACH.EASE.LSOFT.COM
Precedence: list

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