Re: [spring] 64-bit locators

Gyan Mishra <hayabusagsm@gmail.com> Fri, 27 December 2019 23:41 UTC

Return-Path: <hayabusagsm@gmail.com>
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 EE7AD12013B for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 15:41:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 i7AGmp0HS482 for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 15:41:43 -0800 (PST)
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAEF01200CE for <spring@ietf.org>; Fri, 27 Dec 2019 15:41:43 -0800 (PST)
Received: by mail-io1-xd32.google.com with SMTP id v18so27002843iol.2 for <spring@ietf.org>; Fri, 27 Dec 2019 15:41:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W7o35iWQkaiB0Gr0zgqZbhhV8cfBdbuaJlgXtTyrjig=; b=oy1Uf4QsQ1u2C32zIBvekmbjFSz7S40T5bXNDpoCc0VuFu+n5Ag/HwYrIpE8SVH/jx ibCZrztuezN8hZG7GrjrctAZvJ/IZ4TnyNlwexhUEcUSyTeFNBiACBSswN5OuIt0wUEn tpoB1IGN9tVz+vQLRec3l2FTIHi6PuLj80pxobsppq6OerVgxFZwAaftwPq1OGq5UFyH 7SZmCCOyEFEaan3byZSZuQN8CJSsUkh6gWzzLFskqb2xIK/4fKTAoEtmxIIgB4AOpNLV 6jZxh0hHwEtiEtKEWeNFqYbm8OB6BHmgvu3/5zshBreq7m81TcAWTzhlyMxJzrL5lyvE SNnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W7o35iWQkaiB0Gr0zgqZbhhV8cfBdbuaJlgXtTyrjig=; b=HtAzHo9EZrcnHe1IJVS2yL3PRUaScLLbooBiKGXxYtlj8WtfV1LgwGY/txg28ltRHq mVsDUamSIaYL80WJTPONzTYSvwJMk4ogkgJ9idA4e9U3ReQjSsbAunLJ/QTNc4LFfOwj WJNjDnowraQA/cdDnz4TPgi8muNwxV3sCzfYPjIc1pzyEJ2aue5DRSW49fMYVSeT0h36 b9RrExfw00B1LopD85wvJKjMuQk3hcwHYzCjuBumE6DU0K1dkjQlQ8pseO2um4WIxO+n qznB6HgLQur4ejLBsMPK75gG51/FgYF3WD+KWPofPzaWB1XROdz/Pig2YHchN07+driz 4jTA==
X-Gm-Message-State: APjAAAXI0JaJO4mJs14Re7dbTbXPX2fRWGJoagFdQzAf3bGAvqI4J3By vwWS9tL/LCQw+MCHNr3Gs8KwIoIS+JNNyaYUmg8=
X-Google-Smtp-Source: APXvYqwlJLaM5xNYgK9dDia1iYp9qOOxgTy68K44B9UdIZp2TF9WSytmHdGhDSh2sG+y+qOOYIoSlgg2z3NtN0kcJcA=
X-Received: by 2002:a05:6638:76c:: with SMTP id y12mr43799776jad.95.1577490102809; Fri, 27 Dec 2019 15:41:42 -0800 (PST)
MIME-Version: 1.0
References: <BN7PR05MB5699D85CC99CB23B1B573901AE530@BN7PR05MB5699.namprd05.prod.outlook.com> <CAO42Z2yAH4ECeB+PGRS98HgZHXtTq3iX1x6aMSPjKgS6O1GDAQ@mail.gmail.com> <8f5607c9-645a-ea88-e2a7-a4bed8206fc8@gmail.com> <63F5AA66-AEF8-4278-B98C-D3C53AC5A60A@cisco.com> <CAO42Z2x-5NUYHAzjBAR3je7EoPde=-autOXyta5EvqDydbVMWA@mail.gmail.com> <CABNhwV1xZEx6_eZpdgvWAmiopXT-SACR1DM_KSeF_JSDvgSSOQ@mail.gmail.com> <CAOj+MMGSbdL2ZP-_uX_464Tov7MV0vu=cmoKpw71-vL8R4HpRw@mail.gmail.com> <069e6021-537c-422a-37da-f090a6ac334b@gmail.com> <DBBPR03MB5415CDB6870E8E6B69522E40EE2D0@DBBPR03MB5415.eurprd03.prod.outlook.com> <CAOj+MMHOqJWo+ofewx5LF81zA7sGNGwdBgh3X1CSujZbTw9TCw@mail.gmail.com> <BN7PR05MB56995F5D8A02A63E0317A3D9AE2C0@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MMFwK2S0NDVeF-AeTEuLgHJGt6mmVZki6sobuf2EGpQmpw@mail.gmail.com> <BN7PR05MB56993D9F5BEEDABC5A40AB79AE2A0@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MMELEvcnimBBppqMHhuJtgvPFJjDQn1-J06Ro9Dx8=YQKA@mail.gmail.com> <CAO42Z2yrdgWwNTz_a7fHEC+G+WERv789YLtoAjH90BZH-rDW7Q@mail.gmail.com> <CAOj+MMFsz3OX4+6gjEU_J6-Q7ra251j2YFVYjQO1yA6dOr3t2Q@mail.gmail.com>
In-Reply-To: <CAOj+MMFsz3OX4+6gjEU_J6-Q7ra251j2YFVYjQO1yA6dOr3t2Q@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Fri, 27 Dec 2019 18:41:31 -0500
Message-ID: <CABNhwV2vy7UeL6RBa=6_=KD-hQy1vDx=JTPN2CbLR0HP+Lj8cQ@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Mark Smith <markzzzsmith@gmail.com>, Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000036f9a6059ab8094e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/ZF3Da9uBOopk1XImBtgvIXZn6fQ>
Subject: Re: [spring] 64-bit locators
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: Fri, 27 Dec 2019 23:41:47 -0000

On Fri, Dec 27, 2019 at 5:45 PM Robert Raszuk <robert@raszuk.net> wrote:

> Hi Mark,
>
> Happy New Year !
>
>
>> The key point is that RIDs look like IPv4 addresses, but are not. They
>> only have adopted the formatting convention of IPv4 addresses. They're 32
>> bit quantities. They could have just as easily been formatted as 0x hex
>> strings e.g. 0xffffffff for my example. Their continued use as 32 bit
>> quantities and identifiers in IPv6 supporting OSPFv3 shows how decoupled
>> from both IPv4 and IPv6 they are.
>>
>
> We are again in 100% agreement here. That was exactly my analogy to RID
> made to Ron. But on the other hand let's also recognize that this is pretty
> common to assign router_id to be yr loopback address in number of
> protocols.
>
>
>> SIDs on the other hand are at some point in time used as IPv6 destination
>> addresses.
>>
>
> Well SID locators (of variable length) need to assure packet delivery to a
> segment end points. That is a subtle but very important difference.
>
>
>> That means they have to either always comply with IPv6 address
>> requirements - RFC4291 - or be converted to meet IPv6 address requirements
>> when they're used as IPv6 addresses (e.g. they're 64 bit quantities that
>> are then used as an IPv6 Interface Identifier by prepending an IPv6
>> addressing compliant /64 prefix)
>>
>
> IPv6 address fields are 128 bits (for good or for bad of it). And there
> are no :: or : there to the point Alex made earlier. What matters is to
> make sure that routing prefixes deliver packets to correct destinations.
>
> I am very puzzled reading those messages what is the point regarding all
> remaining bits outside of locator ? If this is to say RFC4291 did not
> defined a SID - sure you won - game over. But at the same time I do not see
> anything in RFC4291 which would prohibit me to put any bit sequence I like
> in the remaining (least significant) bits of the address. And I think this
> is the crux of the little discussion here.
>
> Cheers,
> R.
>
> [Gyan] The router-id scenario is a good one to compare to this SID address
> format scenario. How   this scenario differs which is the crux is the
> router-id is not required to be routable, where the SID locator must be
> routable for traffic steering ; copying SID locator into the DA.
>

If the SID locator was not copied into the DA, and was not required to be
> routable,  it could have an abstract notation “non IPv6 hextet” format.
> However, the fact that the SID locator, locally significant on each SRv6
> node for hop by hop traffic steering ;  the SID has to be reachable via IGP
> within the SR domain.  The  SID locator  is in fact is an IPv6 address
> which I think cannot be disputed.
>

    So now any formatting of the SID however that maybe for
{locator;func;arg} must be updated in RFC 4291 to start and all other
related RFCs that define the IPv6 formatting.  As far as our current IPv6
addressing standards SLAAC defines a strict /64 bit boundary where DHCPv6
and manual IPv6 assignment does not have the /64 boundary and support VLSM.


So at the beginning of this discussion was mentioned keeping the 3 SID
fields fixed or variable.

So since there are 3 fields and not 2 fields, the SID format  does not fall
in the current IPv6 addressing architecture made up of 2 fields for slaac
64 bit boundary or no discrete fields for vlsm.  There are protocols that
use the bits within the IID for IPv4/IPv6 translators RFC 6144 used for
NAT64 for example.  This case with SRv6 the major issue is that with the 3
fields it does not fall in any currently defined addressing formats.
That’s the issue.

SRv6 is the first protocol where there are 3 fields defined that requires
an IPv6 address notation.

I think what is really need is the explicit definition of bits for each of
the 3 fields and update all IPv6 addressing  specs starting with RFC 4291.



>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>
-- 

Gyan S. Mishra

IT Network Engineering & Technology

Verizon Communications Inc. (VZ)

13101 Columbia Pike FDC1 3rd Floor

Silver Spring, MD 20904

United States

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com

www.linkedin.com/in/networking-technologies-consultant