Re: [spring] 64-bit locators

Robert Raszuk <robert@raszuk.net> Sat, 28 December 2019 16:19 UTC

Return-Path: <robert@raszuk.net>
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 34A36120118 for <spring@ietfa.amsl.com>; Sat, 28 Dec 2019 08:19:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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_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=raszuk.net
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 ZIENfEqxcubD for <spring@ietfa.amsl.com>; Sat, 28 Dec 2019 08:19:33 -0800 (PST)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 545DE12006E for <spring@ietf.org>; Sat, 28 Dec 2019 08:19:33 -0800 (PST)
Received: by mail-qk1-x735.google.com with SMTP id j9so23972763qkk.1 for <spring@ietf.org>; Sat, 28 Dec 2019 08:19:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G9T7fQkulhUgR2AT4CDehWHDdtjBf6OLS/a5e2Y6z5c=; b=fNZS0mAXBxOL00HQfRej4igHOfLF7XqB70vOifJDO+Gxk5K2A1eekXmPMQA7wn0RGk TYsONBi8yWYEcIpSx3ANCpFuaDTt3u/z8fryg4xdwzZV2ADtnU9FEt+1xFeXt6WlpO4E VJ79GxH8JmRGRWuAW+nMNw4Oi2vkPypBvaYwvxVp/pWiHk3XC4JO/MZvKA0yw5AtJNNs hOwu+wppP4NYava8IfWWERHfyI4Raw7lNO23W4GwE58Cg53O1L2rFu5VX1zCIb8ZL2Eb 1I6hFNNKAbfVGTgB6K1H68BbK/V7ztOhUM7Km7flBKkRJx/q+dOjqRqYJmGfpkJ6eJgT wFow==
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=G9T7fQkulhUgR2AT4CDehWHDdtjBf6OLS/a5e2Y6z5c=; b=bKJOtSOqTBCAgnDlaKsAcS2QaFLjWBJ7DMBqdweWySM0VbyeR/affsfEt+YMR/TD0S F1GNSKcIk63itQn7nPQMzLXBg2MaKrCQBvENrJysT3eWTANs1HY7h0IntQLh6qZixc7Z DgQWpBDg3VtjeyZj3jE9PN+fwuCojv5AO9K0qKXbWt0I9JfgJMeVhW77LYlSayLYv2LF IkXjO84JbMVQlXWpvfwc8qfWZd/kA6MLWSbfpLdADMZvfnqOn6LEloHKtxzu3Ngh8LBc xdPTOtTtS6EtzZCQ5V74pOJGzwrw9gtVtIkJNRWR3USpbdbVHLZ/d4ABqzwepBw06oxC 3DJw==
X-Gm-Message-State: APjAAAX8X7vy7G5JdRPQq1yenspluKInGQX2oBLF/PooKamMjqyAyitB 4LKmzvd6Mg1drOB+qeWivWd9Tz65QIlUi/fV30DFug==
X-Google-Smtp-Source: APXvYqwf2dn84iBbEAZ2Xq77kaKMLLmwMmoxRNatwtTEAH99TXprf4h/zdoru9grh8nhYDQ4Pb6d6fWxLsB69xxHKbU=
X-Received: by 2002:a37:4ac6:: with SMTP id x189mr46804052qka.219.1577549972057; Sat, 28 Dec 2019 08:19:32 -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: Robert Raszuk <robert@raszuk.net>
Date: Sat, 28 Dec 2019 17:19:26 +0100
Message-ID: <CAOj+MMFAWsjtSBVR4vEBiV86c80PgJaBjSaAYGuVLNx07XT7zA@mail.gmail.com>
To: Mark Smith <markzzzsmith@gmail.com>
Cc: Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b34426059ac5f998"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/OfRH6sZ7I3CweLDfvAz5qh6IXBc>
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 16:19:35 -0000

> > 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:
>

All correct.

And that means that if you consider FUNC:ARGs bits as IIDs there is no
conflict at all and current SRv6 SIDs are compliant verbatim with section
2.5.4 of RFC4291. Maybe SRv6 drafts should all make it clear.

And yes they are only significant to the destination of the packet too.
Just keep in mind that destination is an encapsulation destination == each
segment end.

Best,
R.