Re: OSPFv2 Opaque LSAs in OSPFv3

Kireeti Kompella <kireeti@JUNIPER.NET> Tue, 08 October 2002 07:28 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 DAA02558 for <ospf-archive@LISTS.IETF.ORG>; Tue, 8 Oct 2002 03:28:46 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <4.0075E6C9@cherry.ease.lsoft.com>; Tue, 8 Oct 2002 3:30:49 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 259123 for OSPF@DISCUSS.MICROSOFT.COM; Tue, 8 Oct 2002 03:30:48 -0400
Received: from 207.17.136.129 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0f) with TCP; Tue, 8 Oct 2002 03:30:48 -0400
Received: from kummer.juniper.net (kummer.juniper.net [172.17.12.90]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id g987Umm53943 for <OSPF@DISCUSS.MICROSOFT.COM>; Tue, 8 Oct 2002 00:30:48 -0700 (PDT) (envelope-from kireeti@juniper.net)
Received: (from kireeti@localhost) by kummer.juniper.net (8.11.6/8.9.3) id g987UmD98894 for OSPF@DISCUSS.MICROSOFT.COM; Tue, 8 Oct 2002 00:30:48 -0700 (PDT) (envelope-from kireeti)
Message-ID: <200210080730.g987UmD98894@kummer.juniper.net>
Date: Tue, 08 Oct 2002 00:30:48 -0700
Reply-To: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
Sender: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
From: Kireeti Kompella <kireeti@JUNIPER.NET>
Subject: Re: OSPFv2 Opaque LSAs in OSPFv3
To: OSPF@DISCUSS.MICROSOFT.COM
In-Reply-To: <3DA24EB1.6040800@redback.com>
Precedence: list

> If you take into account changes to the LS type for OSPFv3, the code points
> are compatible. For OSPFv3, the LS Type is 16 bits (versus 8 for OSPFv2) and it
> contains the flooding scope and a bit indicating what to do with unrecognized
> types.

No kidding!

> There are no LS type collisions pervent use of the same function codes.

I beg to differ.

>                                 OSPFv2             OSPFv3
>    Link Scoped Opaque LSAs        0x09             0x0009
>
>    Area Scoped Opaque LSAs        0x0a             0x200a
>
>    AS   Scoped Opaque LSAs        0x0b             0x400b

Where did you read this?  I see in rfc 2740:

         LSA function code   LS Type   Description
         ----------------------------------------------------
         1                   0x2001    Router-LSA
         2                   0x2002    Network-LSA
         3                   0x2003    Inter-Area-Prefix-LSA
         4                   0x2004    Inter-Area-Router-LSA
         5                   0x4005    AS-External-LSA
         6                   0x2006    Group-membership-LSA
         7                   0x2007    Type-7-LSA
         8                   0x0008    Link-LSA
         9                   0x2009    Intra-Area-Prefix-LSA

which says that function code 9 represents Intra-Area Prefix LSAs;
it doesn't define a function code 10 or 11.

Since Function Codes are independent of flooding scope in v3, the
LS types 0009, 4009 and 6009 should be interpreted as link local,
AS-wide and ?? Intra-Area-Prefix LSAs, i.e., mostly nonsense.  The
same applies to 0001, 4001 and 6001, etc.

Using the value 0009 for Link Local Opaque LSAs (i.e., requiring that
the function code be interpreted *in the context of the flooding scope*)
negates the entire point of separating LS function and flooding scope.

Kireeti.