Re: [OSPF] [IPv6 SR] Regarding 128 bits IPv6 address in Segment List of SRH

"Stefano Previdi (sprevidi)" <sprevidi@cisco.com> Fri, 10 February 2017 09:30 UTC

Return-Path: <sprevidi@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 4F506129542; Fri, 10 Feb 2017 01:30:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 rEnYJRk7E-NP; Fri, 10 Feb 2017 01:30:55 -0800 (PST)
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 B2809129410; Fri, 10 Feb 2017 01:30:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3796; q=dns/txt; s=iport; t=1486719054; x=1487928654; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=DqhQWNLSBrNEIUBqffxJxDGKX/KR2X8j1jZiX+pb7qE=; b=NWaIr5Nk2wMzfNjCKxJpsTw2jqV+fVldUJDcRGS4givY1kRngxsLXhAy +p0YZ78BLlrk06EJlPSWw/RJFg8pCnIZ9srGMzq5/2wZpY+UJToE+tjXK 3eQhW8AcxjuY9f4nuX7lKxmIooWqh3/0R1/SkQvlgG/KCZFuB8d9lUlYN 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AXAQBOh51Y/5FdJa1dGQEBAQEBAQEBAQEBBwEBAQEBg1JheBEHjVqSDIgMjSqCDR8LhXgCgnE/GAECAQEBAQEBAWIohGkBAQEDAQEBbAsFCwIBCBguIQYLJQIEDgWJYAMNCA6xdIc8DYQOAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWGTIIFgmqCUYFfJIM0gjEFiQyGd4s1OgGGbocMhBmRBYo1iF8BHzh+TxU8EQGEMh2BYXUBh2GBMIEMAQEB
X-IronPort-AV: E=Sophos;i="5.35,140,1484006400"; d="scan'208";a="179008211"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2017 09:30:53 +0000
Received: from XCH-RTP-009.cisco.com (xch-rtp-009.cisco.com [64.101.220.149]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id v1A9UreO015103 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 10 Feb 2017 09:30:53 GMT
Received: from xch-rtp-010.cisco.com (64.101.220.150) by XCH-RTP-009.cisco.com (64.101.220.149) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 10 Feb 2017 04:30:52 -0500
Received: from xch-rtp-010.cisco.com ([64.101.220.150]) by XCH-RTP-010.cisco.com ([64.101.220.150]) with mapi id 15.00.1210.000; Fri, 10 Feb 2017 04:30:52 -0500
From: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
Thread-Topic: [OSPF] [IPv6 SR] Regarding 128 bits IPv6 address in Segment List of SRH
Thread-Index: AQHSg4Bf7GEe9HUVFESxAWdxcHDQ6A==
Date: Fri, 10 Feb 2017 09:30:52 +0000
Message-ID: <C234D462-C607-47DC-AF1C-598D15C9DF7E@cisco.com>
References: <73BFDDFFF499304EB26FE5FDEF20F7885086FA74@blreml501-mbx> <CAO42Z2wuibtYx39tJFAKJ=TdcWLe8tCQHz9YSbaeUHFyJSb8rw@mail.gmail.com> <6496ee1a-fa7c-8599-947a-663e112a61ae@gmail.com> <D4C2668E.9BFEE%acee@cisco.com>
In-Reply-To: <D4C2668E.9BFEE%acee@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.196.1]
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <FCD3DD54F462F843B4158A88997E5C29@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/w0ZJagkuNQshbAxKgD4_dVPp1Ys>
Cc: "draft-ietf-ospf-ospfv3-segment-routing-extensions@tools.ietf.org" <draft-ietf-ospf-ospfv3-segment-routing-extensions@tools.ietf.org>, 6man WG <ipv6@ietf.org>, "draft-ietf-6man-segment-routing-header@ietf.org" <draft-ietf-6man-segment-routing-header@ietf.org>, Mark Smith <markzzzsmith@gmail.com>, "ospf@ietf.org" <ospf@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: [OSPF] [IPv6 SR] Regarding 128 bits IPv6 address in Segment List of SRH
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: Fri, 10 Feb 2017 09:30:56 -0000

the use of ll addresses in ospfv3 draft is a bug and should be fixed.

s.


> On Feb 10, 2017, at 12:41 AM, Acee Lindem (acee) <acee@cisco.com> wrote:
> 
> 
> 
> On 2/9/17, 5:48 PM, "OSPF on behalf of Brian E Carpenter"
> <ospf-bounces@ietf.org on behalf of brian.e.carpenter@gmail.com> wrote:
> 
>> Mark,
>> On 10/02/2017 08:26, Mark Smith wrote:
>>> On 10 Feb. 2017 03:02, "Veerendranatha Reddy Vallem" <
>>> veerendranatharv@huawei.com> wrote:
>> ...
>>>> If Link local address is Link local, how we can use this address in
>>>> SRH header, 
>>>> since IPv6 destination address should not be link local address as per
>>>> IPv6 protocol.
>>> 
>>> I'd be curious where you might have got that idea from.
>>> LL addresses are perfectly fine as destination addresses, including for
>>> application traffic. They're even preferred over global and ULA
>>> addresses
>>> by default when there is a choice from a set.
>> 
>> Right, but if an SR header is travelling off-link, which I think must
>> often
>> be the case, it would be doubleplus ungood to include a LL address, which
>> is
>> meaningless off-link. So probably using a LL address in SRH needs to be
>> strictly limited.
> 
> Agreed - even though the the link-local address is associated with the
> OSPFv3 router¹s adjacency, in the IPv6 SR header there is no indication of
> outgoing interface so the IPv6 packet cannot be forwarded unambiguously.
> Note that we have a similar restriction for OSPFv3 AS-External-LSA and
> NSSA-LSA forwarding address. From RFC 5340:
> 
> 
>   Forwarding address
>      A fully qualified IPv6 address (128 bits).  Included in the LSA if
>      and only if bit F has been set.  If included, data traffic for the
>      advertised destination will be forwarded to this address.  It MUST
>      NOT be set to the IPv6 Unspecified Address (0:0:0:0:0:0:0:0) or an
>      IPv6 Link-Local Address (Prefix FE80/10).  While OSPFv3 routes are
>      normally installed with link-local addresses, an OSPFv3
>      implementation advertising a forwarding address MUST advertise a
>      global IPv6 address.  This global IPv6 address may be the next-hop
>      gateway for an external prefix or may be obtained through some
>      other method (e.g., configuration).
> 
> 
> The OSPFv3 Segment Routing Extensions draft will be updated to correct
> this. 
> 
> Thanks,
> Acee
> 
> 
>> 
>>  Brian
>> 
>>> Many of the advantages of LLs for end-user applications would also
>>> apply to
>>> network applications such as SR.
>>> 
>>> "How to use IPv6 Link-Local Addresses in Applications"
>>> https://tools.ietf.org/html/draft-smith-ipv6-link-locals-apps-00
>>> 
>>> Regards,
>>> Mark.
>>> 
>>> 
>>> 
>>> If Adj-Sid is global ipv6 address, means we need to consider ³global
>>> ipv6 interface address² of the neighbor on the link?
>>> 
>>> 
>>> 
>>> Regards,
>>> 
>>> Veerendranath
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> IETF IPv6 working group mailing list
>>> ipv6@ietf.org
>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>> --------------------------------------------------------------------
>>> 
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> IETF IPv6 working group mailing list
>>> ipv6@ietf.org
>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>> --------------------------------------------------------------------
>>> 
>> 
>> _______________________________________________
>> OSPF mailing list
>> OSPF@ietf.org
>> https://www.ietf.org/mailman/listinfo/ospf
>