Re: [spring] 64-bit locators

Gyan Mishra <hayabusagsm@gmail.com> Sat, 28 December 2019 01:18 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 1C9D51200E5 for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 17:18:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, URIBL_BLOCKED=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 D_6wWVpwa6NC for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 17:18:36 -0800 (PST)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 A6D341200A1 for <spring@ietf.org>; Fri, 27 Dec 2019 17:18:36 -0800 (PST)
Received: by mail-il1-x12b.google.com with SMTP id v69so23574362ili.10 for <spring@ietf.org>; Fri, 27 Dec 2019 17:18:36 -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=PTUE1COZEZTdCc4v+k59D6feyVkA46shwYG/kHCVz9A=; b=vO2vtvsL5gQHNn4ZGDSoKYJJ5jyhdx0pGplrMEmcQ5Y98Hky6hW7WyK/nciKU9oWaX DGsbx042zQ5z0uFtX1XADpwO4MkeZQ+aINxOIEspgO8gDGKVEsSipQI5Rr2zstchNLWp mox42ZkmHGmH89VZWKi5NNZ/4UFKLgHY1qnTj8tQrz3PBLddl5S3S4ugQ0JBLdi1TL2b LgSG7u8QFTNbqXBucu2Hz2c45lElJ2bf3tuWjHN1qXQlX35fZvctXlvQwZIEaHBFT+Gb M4qQubL6520J8/IdKb60JZetb60chYUMWWL7NWrCMv3qO2bcN0XdkFzGFkx0LqADsrEk QlkA==
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=PTUE1COZEZTdCc4v+k59D6feyVkA46shwYG/kHCVz9A=; b=RsWn7lzfTtzih9J5W2PQzQgD3GePzdCxcYPY4P8Tie+kbfasengOHAJ/zzmZgT1/p8 3BTpqeMqDJbsQgEvOzJxda+SAFIZaJWT7T8aApDgsESQpuGJP95oa00A15vG7vlh8F55 Oc4N1pHugs18jXJeltL2EVK5gfjUcpsyAH28noK+TH3+fdrHyiAkDj06tDlsW/uOGhWz jepkUOv+2Fanq2bsOAexzXD0B5fXbJbXz9esDCrU1+S15o+yHGZuqt9HGODvGz3td0TT zbGJ0zZdWiib78KarDvO+UPqgu/zV6TgFopAy19FWJap9G1E8qQQx7DyjvoSMIb0rUfC J5kg==
X-Gm-Message-State: APjAAAWsM0dAm3AfDWJ3MOUVroTFWojkT8N1GgENk/mpp6gf+JLswZ8O ibNki6pnOTLilF+JCXkYjjayR6wfzmavqHBmmBU=
X-Google-Smtp-Source: APXvYqw1ADt681skTQJfBQ48OuU5TAoCv5ffeUXKzjXr3rQbXXhz/dzht1qbzUghzHODEPE2BaJzWF5dkxioi9xAMMI=
X-Received: by 2002:a92:1547:: with SMTP id v68mr44825495ilk.58.1577495915794; Fri, 27 Dec 2019 17:18:35 -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> <CAO42Z2xDiRXzyDzwmdAzYwk1qB9gUp5QLpMLhZfiqEg5C0Lajw@mail.gmail.com>
In-Reply-To: <CAO42Z2xDiRXzyDzwmdAzYwk1qB9gUp5QLpMLhZfiqEg5C0Lajw@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Fri, 27 Dec 2019 20:18:25 -0500
Message-ID: <CABNhwV0BE3i6bGaRDVxV+-7T++C=QADyi-cGX1NfNHOqKnDYEA@mail.gmail.com>
To: Mark Smith <markzzzsmith@gmail.com>
Cc: Robert Raszuk <robert@raszuk.net>, Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b217cd059ab96352"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/SDd420WeubHG3Sl-xhMmPZHJwqc>
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: Sat, 28 Dec 2019 01:18:39 -0000

On Fri, Dec 27, 2019 at 7:56 PM Mark Smith <markzzzsmith@gmail.com> wrote:

> On Sat, 28 Dec 2019 at 09:45, 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.
> >
>
>
> Right. I've done that. However, it is a convention, nothing more. In
> OSPF and BGP the RID is not an IPv4 address even if it looks like one,
> and is never used as an IPv4 address.
>
> SIDs are used as IPv6 addresses. When SIDs are used as IPv6 addresses,
> they must be compliant with the IPv6 specifications.
>
>
> >>
> >> 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.
>
> If you limit yourself to the Interface Identifier portion of the IPv6
> address, you can encode other semantics in that portion that are
> significant to the end points. That is permitted by RFC 7136,
> "Significance of IPv6 Interface Identifiers:"
>
> "In all cases, the bits in an IID have no generic semantics; in other
>    words, they have opaque values.  In fact, the whole IID value MUST be
>    viewed as an opaque bit string by third parties, except possibly in
>    the local context."
>
> While the packet is being forwarded towards an end point, those
> end-point semantics are to be ignored, because IPv6 forwarding is
> longest match across all 128 bits:
>
> BCP 198/RFC 7608, "IPv6 Prefix Length Recommendation for Forwarding"
>

  [Gyan] The 64 bit IID has historically has been in the context of SLAAC
and various encoding mechanisms for privacy for the 64 bit IID.

For SRv6 SID prefix,  since this would be a manual allocation by the
operator, it would fall under manual vlsm IPv6 addressing. The caveat there
is the current  IPv6 specification does not define the SID IPv6 addressing
format for locator;func;arg

So I think this new manual IPv6 addressing schema for SID has to be now
defined in the IPv6 specification.


>
>
> Regards,
> Mark.
>
>
> >And I think this is the crux of the little discussion here.
> >
>
>
>
>
>
> > Cheers,
> > R.
> >
> >
> >
> >
>
> _______________________________________________
> 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