Re: [spring] 64-bit locators

Robert Raszuk <robert@raszuk.net> Fri, 27 December 2019 22:45 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 90BDA1200DB for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 14:45:03 -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 cK_jmZRd2Vhw for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 14:45:01 -0800 (PST)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 2F4701200CE for <spring@ietf.org>; Fri, 27 Dec 2019 14:45:01 -0800 (PST)
Received: by mail-qt1-x834.google.com with SMTP id q20so25519571qtp.3 for <spring@ietf.org>; Fri, 27 Dec 2019 14:45:01 -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=aVAerLZv7UMoRlBGhfRJrpWeGoJP1aZxlbYrPC6vkYk=; b=MHby4IonyxKwBAkvOaVkcGzsiG9U82ccb7Lu9mdYa/r6FSMNQQpGixn1L9NWU4bX2K mqxiY5G4iAdUPtyWeoQ2ApZA7RpIdwcsMxY8xFaJsN2Sopl709TgpkpSihQn3Q4OvpXS KruXX7y7e5mprtk9wFBuKk06AT8rRRbhx2sTOGKk44SB77M9Ypc5LMIwTa0wAEWeMcg0 i9d2TWE86IteHSKjDlVqsy4GGXAPPHvcq31qLAw9Kz+PE4rRcsztC5O2xE5QYJO1wbNW sk+dAjd307yQmnuroPl5l0hNfaPIem0oUdeQn+RkaiPInpwRpwrB9wHcurcoBWvuP0nT 4l6g==
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=aVAerLZv7UMoRlBGhfRJrpWeGoJP1aZxlbYrPC6vkYk=; b=YwtNo1THGX0kBPbOyVFNcRm6U3siB/MQJ9kUGb7D8kB3hP/YM6HuXT8ujgTKAP7mtT gaKbIt6tLz/q0v+XNeHLkXXbun3vtoAwyBhppfkh96MuqrKmA96wXwtQE+QUs3fJ5LZX WeMq/ouw8FYINdnPEZt0KsOBZ4HAuRn5qYsTpjTSnPTQq2r0oBI0NN6NQcgaTVygYfLk 6mp3XSoBC3C382lFoElfrTzbRAllKJIyiDL+bU0Yhwx6TICeXYCJl47kRBzt/ClOC+LZ 94p7iFs7MxGazIa17l5zKHu5r57aDzygKf9ONoCGwci6bxvadMMykgzZbvllzg9FJKhL BOmQ==
X-Gm-Message-State: APjAAAUEsVAv6cigAdYYuoNxrGR/QejQOOk2LfumZzEa1Ne1CdZCjdkm p1Kko0vi5XMfajOBoTHYbovNJHOQdvw9rFoU6lYuqg==
X-Google-Smtp-Source: APXvYqym4zAA95A3lnjen6K+z4mYIYkV3WnHMJc+F9pW+XDNWcximtSDOMFpj/MrUu77DRFUNzpbMFAmS+A8+fYCsDQ=
X-Received: by 2002:ac8:a8b:: with SMTP id d11mr38715954qti.94.1577486700213; Fri, 27 Dec 2019 14:45:00 -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>
In-Reply-To: <CAO42Z2yrdgWwNTz_a7fHEC+G+WERv789YLtoAjH90BZH-rDW7Q@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 27 Dec 2019 23:44:54 +0100
Message-ID: <CAOj+MMFsz3OX4+6gjEU_J6-Q7ra251j2YFVYjQO1yA6dOr3t2Q@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="000000000000678c52059ab73e4f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/-w9uoAh-On6T4pNJFdQQfSw1oAA>
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 22:45:03 -0000

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.