Re: [spring] Question from SPRING regarding draft-filsfilscheng-spring-srv6-srh-compression

otroan@employees.org Mon, 18 October 2021 06:49 UTC

Return-Path: <otroan@employees.org>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 738A53A11F2; Sun, 17 Oct 2021 23:49:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
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 DeBGl2r5H1wl; Sun, 17 Oct 2021 23:48:57 -0700 (PDT)
Received: from clarinet.employees.org (clarinet.employees.org [198.137.202.74]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64A223A11F0; Sun, 17 Oct 2021 23:48:57 -0700 (PDT)
Received: from astfgl.hanazo.no (ti0389q160-5225.bb.online.no [95.34.0.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id 5B9874E11A79; Mon, 18 Oct 2021 06:48:56 +0000 (UTC)
Received: from smtpclient.apple (localhost [IPv6:::1]) by astfgl.hanazo.no (Postfix) with ESMTP id E99BD637DFA1; Mon, 18 Oct 2021 08:48:53 +0200 (CEST)
From: otroan@employees.org
Message-Id: <DC779B7F-2D0E-4D6E-B717-3C97D140F631@employees.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_510ADFA8-0EA6-4B25-9033-31408C41D34B"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Mon, 18 Oct 2021 08:48:52 +0200
In-Reply-To: <3caff2d3-3bf5-e840-be5c-f0606ecc5e20@gmail.com>
Cc: "Darren Dukes (ddukes)" <ddukes@cisco.com>, Mark Smith <markzzzsmith@gmail.com>, SPRING WG List <spring@ietf.org>, 6man WG <ipv6@ietf.org>, "Francois Clad (fclad)" <fclad=40cisco.com@dmarc.ietf.org>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <85fddbe9-4eb8-7d90-d246-a888fe8bdcd3@joelhalpern.com> <CAMGpriXg0YuJtvmO84YzsahLMoV9SFVPez7AXirwx9PXFP24zQ@mail.gmail.com> <CO6PR11MB5650D2647CFD16908FE55159ACB99@CO6PR11MB5650.namprd11.prod.outlook.com> <6baed9dc-36c6-720b-0a73-0af7f062cb6a@gmail.com> <CAO42Z2zG=fkq0ZeAW=KuoQhRA8LgTgqhS1QSE-9ZUnErN8_ZAA@mail.gmail.com> <CANMZLAaB5dn=yaCSmU07NruASkZ-0h7q4xgTpawt-E8ooSFxpg@mail.gmail.com> <BN6PR11MB4081A6F3D3EB0F03B1C6A0D9C8BB9@BN6PR11MB4081.namprd11.prod.outlook.com> <ddc0c6c9-16cf-b07b-e2da-c8ff53aa9976@gmail.com> <BN6PR11MB4081984D4640339B6697B1E2C8BB9@BN6PR11MB4081.namprd11.prod.outlook.com> <3caff2d3-3bf5-e840-be5c-f0606ecc5e20@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/2cULT2PMzlfuxTLt4Jzy1GAHGqQ>
Subject: Re: [spring] Question from SPRING regarding draft-filsfilscheng-spring-srv6-srh-compression
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2021 06:49:03 -0000

>>> Still, using IID == 0 seems to be asking for trouble, since it's a
> reserved value and is definitely special-cased in some code. Unless, that
> is, you want exactly the properties described in RFC4291 section 2.6.1 (thanks, Mark Smith).
>> 
>> As Michael described, this assignment to loopback interfaces works fine.  The addresses are assigned as /128’s, not prefixes, the
> router subnet anycast concern is not applicable.
> 
> 
> I'm not sure about that. Is there a risk that ICMP replies sent to such an address might get lost? Standard host stacks identify any such address as a router when they save it in the neighbor cache. My home router declines to answer ICMP pings sent to such an address. (Try pinging fe80::) However, that is not our problem here.
> 
> On the other hand, it seems that as the compressed SIDs are shifted out one at a time, we will end up with an effective zero IID at the final recipient. So the DA would then be a subnet router anycast address, according
> to RFC4291. That seems a bit strange and might have unexpected consequences, such as more than one box handling the packet and decapsulating it.
> 

Just to be clear. An IPv6 node does not make any assumption about the prefix length. Ref RFC5942.
IID has no meaning unless both the address and associated subnet prefix length is known.

I agree with you though, there appears to be a need for clarification regarding the properties of these addresses.

RFC6052 updated 4291 and had the following:

   When a /32 prefix is used, an all-zero suffix results in an all-zero
   interface identifier.  We understand the conflict with Section 2.6.1
   of RFC4291, which specifies that all zeroes are used for the subnet-
   router anycast address.  However, in our specification, there is only
   one node with an IPv4-translatable IPv6 address in the /64 subnet, so
   the anycast semantic does not create confusion.  We thus decided to
   keep the null suffix for now.  This issue does not exist for prefixes
   larger than 32 bits, such as the /40, /56, /64, and /96 prefixes that
   we recommend in Section 3.3.


Looks like this issue goes back to RFC8986 or even RFC8754(?)

If this is not partiuclar to the srh-compression draft,
could a separate document, updating RFC4291, and clarifying the particular properties of these addresses work?

O.