Re: [OSPF] [OSPFv3] regarding p bit set and FA for NSSA (Type-7) LSAs

"Acee Lindem (acee)" <acee@cisco.com> Tue, 09 August 2016 19:56 UTC

Return-Path: <acee@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE54912D7A4 for <ospf@ietfa.amsl.com>; Tue, 9 Aug 2016 12:56:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.767
X-Spam-Level:
X-Spam-Status: No, score=-15.767 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ppYyUXJVsMem for <ospf@ietfa.amsl.com>; Tue, 9 Aug 2016 12:56:05 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DC1F12D10B for <ospf@ietf.org>; Tue, 9 Aug 2016 12:56:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=100186; q=dns/txt; s=iport; t=1470772562; x=1471982162; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=tD9d7E8MUhoTYkPM2xGh15NlbY7otoSvvVCRZ1WvH2s=; b=hQaOPTkuDlLRxdmxqbLPThPeyjTLc7S+rcGFBqDV8AJtT1oxWEcEDmwm L/M6TWk965IRjph0c3XRlV9drvhhrVH6C0ri8PkF9FAfvBCfLQD42ELMr YlfLDs/u21TSc7oKZt6oqsQfI7MpmZWxa+uO6AzoUFURhgWlPHyaKkKfd 8=;
X-Files: image003.jpg, image005.jpg : 33512, 23769
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BrAgD+M6pX/5BdJa1dgndOVnwHgnqxHIFygQaCD4F9hQ2BEAIcgTI4FAEBAQEBAQFdJ4ReAQEFBQcXAggBWwIBBgIRAwEBAQYBAQEKFQMCAgIVDwwUCQgCBAERAQ6II5QAnSCQHAEBAQEBAQEBAQEBAQEBAQEBAQEBAQ4OineEYBaCS4JaAQSXLwOCBwGDOoFzAYlbgWuEWwyIcYw0g3AHAR42ghIcgUxuhi1/AQEB
X-IronPort-AV: E=Sophos;i="5.28,496,1464652800"; d="jpg'145?scan'145,208,217,145";a="136048752"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2016 19:54:00 +0000
Received: from XCH-RTP-018.cisco.com (xch-rtp-018.cisco.com [64.101.220.158]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id u79Js0x7024462 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 9 Aug 2016 19:54:00 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-018.cisco.com (64.101.220.158) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 9 Aug 2016 15:53:59 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Tue, 9 Aug 2016 15:53:59 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Balaji Ganesh (balagane)" <balagane@cisco.com>, Veerendranatha Reddy Vallem <veerendranatharv@huawei.com>, OSPF WG List <ospf@ietf.org>
Thread-Topic: [OSPF] [OSPFv3] regarding p bit set and FA for NSSA (Type-7) LSAs
Thread-Index: AQHR8nfE4a/Gh5e1/0iEA+J40SSwYw==
Date: Tue, 09 Aug 2016 19:53:58 +0000
Message-ID: <D3CFABC0.77583%acee@cisco.com>
References: <73BFDDFFF499304EB26FE5FDEF20F7885081B591@blreml501-mbx> <49270bb6e31e4eecbc264fd06756b2b0@XCH-ALN-017.cisco.com>
In-Reply-To: <49270bb6e31e4eecbc264fd06756b2b0@XCH-ALN-017.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.198]
Content-Type: multipart/mixed; boundary="_005_D3CFABC077583aceeciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/VQ0kY-YYkos_pW4UEjrfMjvZIN8>
Subject: Re: [OSPF] [OSPFv3] regarding p bit set and FA for NSSA (Type-7) LSAs
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Aug 2016 19:56:08 -0000

Hi Veera, Balaji,

While I was contributor to this RFC ;^), I can see it could use some more normative language to cover these cases where no IPv6 forwarding address is available. I basically agree with Balaji, if the P-bit is to be set in the NSSA-LSA, the LSA MAY be originated w/o a forwarding address (in OSPFv3 forward address encoding is optional). If the P-bit is to be clear in the NSSA-LSA, the NSSA-LSA MUST NOT be originated when no forwarding address is available.

Thanks,
Acee

From: OSPF <ospf-bounces@ietf.org<mailto:ospf-bounces@ietf.org>> on behalf of "Balaji Ganesh (balagane)" <balagane@cisco.com<mailto:balagane@cisco.com>>
Date: Tuesday, August 9, 2016 at 10:10 AM
To: Veerendranatha Reddy Vallem <veerendranatharv@huawei.com<mailto:veerendranatharv@huawei.com>>, OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: Re: [OSPF] [OSPFv3] regarding p bit set and FA for NSSA (Type-7) LSAs

Hi Veera,

Please see inline..


Regards,
Balaji

From: OSPF [mailto:ospf-bounces@ietf.org] On Behalf Of Veerendranatha Reddy Vallem
Sent: 09 August 2016 18:04
To: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: [OSPF] [OSPFv3] regarding p bit set and FA for NSSA (Type-7) LSAs

Hi All,
Can you please provide clarification for following in OSPFv3 NSSA implementation.

As RFC 3101 is considered NSSA RFC for both OSPFv2 and OSPFv3,

Case 1:

As per RFC 3101, 2.4 section, While originating Type-7 LSA, if p –bit is set, then Forwarding address (FA) must be non- zero.


[cid:image003.jpg@01D1F274.61411B80]

For OSPFv3 case, there may be possible FA  is not available (no global address is configured on any of NSSA interface).
If OSPFv3 receives Type-7 LSA with p bit set but no forwarding address, whether this LSA should be consider as valid and can be used for route calculation?


[BALAJI: If the Type-7 LSA has no forwarding address, it does not get translated to Type-5. This is specified in the RFC section 2.3, point 6


      6. Those Type-7 LSAs that are to be translated into Type-5 LSAs

         must have their forwarding address set.

However the LSA is still valid and would be used inside the NSSA area.
]

Case 2:
In section 3.2  , Translating Type-7 LSAs into Type-5 LSAs
[cid:image005.jpg@01D1F274.61411B80]
Same in OSPFv3, if we received Type-7 LSA with no forwarding address but ‘p’ bit set, whether ABR is allowed to translate this LSA to Type-5 External LSA?

[BALAJI: No. ABR should not be translating such LSAs without forwarding address. This is again as per section 2.3, point 6 in the RFC.]

As per my understanding, if Forwarding address is not available, Type-7 LSA must be originated with no ‘p’ bit set and no forwarding address. If ‘p’ bit is set means, it must  always
Carry forwarding address(for OSPFv3, it must be global ipv6 address configured on any of interfaces).


[BALAJI: P-bit not being set would explicitly mean that we don’t want the LSA to be translated. Probably to keep the redistributed prefixes only within the NSSA area (for whatever reason it may be).
If P-bit is set, it should also have a forwarding address for it to be translated.]

Please let me know whether my understanding is correct or not for OSPFv3, as per RFC 3101.

Regards,
Veerendranath