Re: [spring] 64-bit locators

Mark Smith <markzzzsmith@gmail.com> Fri, 27 December 2019 22:16 UTC

Return-Path: <markzzzsmith@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 BFF70120815 for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 14:16:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.498
X-Spam-Level:
X-Spam-Status: No, score=-0.498 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 sRELpwN-G7dO for <spring@ietfa.amsl.com>; Fri, 27 Dec 2019 14:16:53 -0800 (PST)
Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (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 8F8EA120639 for <spring@ietf.org>; Fri, 27 Dec 2019 14:16:53 -0800 (PST)
Received: by mail-ot1-x331.google.com with SMTP id k16so33309260otb.2 for <spring@ietf.org>; Fri, 27 Dec 2019 14:16:53 -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=nAfkRpWprEc7LHXOFayAIp57pn53PGK8gCMZXI7UKLI=; b=PyDypDGVg1mpOq2ksC3mq/wkBIqfh1WFpHtT0yAHnUizpKnEBmCJL40+EP1c6pfOGV s5ZxI88G6QyoobvcY/P6B7zEvXuvbMJAB+f1lKQzMNU61oDrivxTTVB6u1lPTWjeNI1I HiMNnzE8oI8P137I3nkIBhGY462a4mqQRUThiZWEJ169I/hM2veta1UcknROa9JYw7Jz sdmQFw3wJl0GTysEc+RfYbgeotP6EfDjGoJV8dFtqUG7QPuZAY+eNCX6JLnMk36+NBlz Os5JYjL1j9tRjaC/C6uZEfAE8QGGdNPobcGAvhIaj8FuSWcrfRopBqNB9fi2A90cdzfk dB2w==
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=nAfkRpWprEc7LHXOFayAIp57pn53PGK8gCMZXI7UKLI=; b=G5BYQAOgNB8bCRJpk5eznB6yRqpkflV11nnlDioFSnIH6VtMBVWMMmPrg8pAmu9MVk gaA1uHolXCWgD8VCQvjsdg6UXtoHlwiLYeQZaxfqmGQd2z5M6NO/aCpVGCuckYRv4Wl7 /2qdkj5PPEkt2b7sgcEM7SynkQtVw8tCoCxdjf0e/zekRqWxBTLkrUvz+xs/M5GLpj6W GqlCPgnT7Ge8cjWuudzOI/9gR8cDA97ChPtbR4G4z2I8N2uniBILIpNASt5RlBPMdHR7 FcUo1utPc7nFL84+lIru6Q1edKPKJsr2NAYwbrCAVgh5RqyuRnml6mxdNGHSAC3sEvuy MwWQ==
X-Gm-Message-State: APjAAAX9mf26fcbBnryRSq7s6dfkHOLBqf2U+s82+nhbuB5apZdTkSwx vXys3dxHFj05bxea65qK2x/dKDjnpAq3e1Ue7Dk=
X-Google-Smtp-Source: APXvYqw0vZ675Jftoz6H0VvlFqmhMLYxpNCQYx2LWqvaRO5rdh1hHE2tJg3kKMJQRRcm8PGxWXw/eJQArwavaCYI93I=
X-Received: by 2002:a05:6830:151a:: with SMTP id k26mr41177087otp.74.1577485012870; Fri, 27 Dec 2019 14:16:52 -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>
In-Reply-To: <CAOj+MMELEvcnimBBppqMHhuJtgvPFJjDQn1-J06Ro9Dx8=YQKA@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Sat, 28 Dec 2019 09:16:40 +1100
Message-ID: <CAO42Z2yrdgWwNTz_a7fHEC+G+WERv789YLtoAjH90BZH-rDW7Q@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d4ab18059ab6d9ed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/lXs6yBIV3ths-PNkRuc-cUCNCmg>
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:16:56 -0000

On Sat, 28 Dec 2019, 04:06 Robert Raszuk, <robert@raszuk.net> wrote:

> Hi Ron,
>
> Great to hear an agreement from you ! Must be power of Christmas :).
>
> I actually see no conflict in the claim that SID is not an address in
> itself with statement that it can be a routable entity which was I believe
> the original intention of the text you quote.
>

> I think your conclusion that we are both wrong based on section 2 of
> RFC8402 sits at the fact that the term "address" is rather broad and used
> (as already proven in other messages) imprecisely or loosely all over IETF.
>
> It is just like router_id ... it is a numerical representation of a node
> while the moment you put this numeric 32 bit string under logical interface
> and advertise it - it suddenly becomes a valid destination target or for
> that matter src originator.
>

Router IDs aren't used outside of the protocol they're defined in. OSPF and
BGP don't eventually put the RID in an IPv4 packet's DA field.

I've used a router ID of 255.255.255.255 in OSPF as a temporary special RID
because our convention was to have the RID match the unicast OAM address of
the router. I knew the IPv4 broadcast address value wouldn't conflict. I
knew it wouldn't cause problems for OSPF because OSPF never uses it as an
IPv4 DA.

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.

SIDs on the other hand are at some point in time used as IPv6 destination
addresses. 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)



> So to your first question ... I think we agreed in the other mail from
> which spaces the IPv6 locator can be used. Of course as things evolve
> making any assumption that such binding is going to stay intact would be
> rather weak advice to any hardware designer.
>
> To your second point I think SID itself when mapped to interface can be a
> src. I see really nothing which could prevent me to use any address as src
> or dst in my network.
>
> I am actually not sure where are you going with those if you will
> "restrictions" as to the SID semantical components. To me SID is a locally
> significant value in the network (including overlay network) which chooses
> to use SRv6 and I really see no reason to constrain it in any additional
> way.
>
> Perhaps your point is that SID does not fit to RFC4291 IPv6 Addressing
> Architecture. Well perhaps but if so RFC8402 should be listed in 4291 as
> updating it - just like 5952, 6052, 7136, 7346, 7371, 8064 all do. Frankly
> I am not sure why it is not there now in the first place.
>
> Kind regards,
> Robert.
>
>
> On Fri, Dec 27, 2019 at 4:21 PM Ron Bonica <rbonica@juniper.net> wrote:
>
>> Robert,
>>
>>
>>
>> Personally, I agree with what you say below. “A SID is NOT an IPv6
>> address.”
>>
>>
>>
>> However, Section 2 of RFC 8402 says that we are both wrong. It defines an
>> SRv6 SID as follows:
>>
>>
>>
>> “SRv6 SID: an IPv6 address explicitly associated with the segment.”
>>
>>
>>
>> So, assuming that a SID is an IPv6 address, we must figure out how it
>> fits into the IPv6 addressing architecture. Questions like the following
>> must be answered:
>>
>>
>>
>>    - From which special purpose prefixes [RFC 6890]  can SIDs be drawn?
>>    - Can a SID appear in the source address field of an IPv6 packet?
>>
>>
>>
>> So far, the co-authors have avoided such issues.
>>
>>
>>
>>                                                               Ron
>>
>>
>>
>>
>>
>> *From:* Robert Raszuk <robert@raszuk.net>
>> *Sent:* Saturday, December 21, 2019 6:43 PM
>> *To:* Ron Bonica <rbonica@juniper.net>
>> *Cc:* Andrew Alston <Andrew.Alston@liquidtelecom.com>; Alexandre
>> Petrescu <alexandre.petrescu@gmail.com>; SPRING WG <spring@ietf.org>;
>> Gyan Mishra <hayabusagsm@gmail..com <hayabusagsm@gmail.com>>; Pablo
>> Camarillo (pcamaril) <pcamaril@cisco.com>; Mark Smith <
>> markzzzsmith@gmail.com>
>> *Subject:* Re: [spring] 64-bit locators
>>
>>
>>
>> Hey Ron,
>>
>>
>>
>> > Leaving both chickens and eggs in the hen house……..
>>
>>
>>
>> Indeed ... after all it is not Easter Time !
>>
>>
>>
>> > Only one answer can be correct 😉
>>
>>
>>
>> To me this is very obvious ...
>>
>>
>>
>> SID is NOT an IPv6 address. Part of the SID is a locator which is used
>> for vanilla IPv6 forwarding (based on IPv6 routing prefixes), but that is
>> all this 128 bit string has in common with IPv6.
>>
>>
>>
>> Merry SID-less Christmas,
>> R.
>>
>>
>>
>>
>>
>> On Sat, Dec 21, 2019 at 9:32 PM Ron Bonica <rbonica@juniper.net> wrote:
>>
>> Robert,
>>
>>
>>
>> Leaving both chickens and eggs in the hen house……..
>>
>>
>>
>> We have never explicitly stated whether a SID **is** and IPv6 address or
>> **merely resembles** an IPv6 address. Which is it?
>>
>>
>>
>> Hint: This is a multiple choice question. Only one answer can be correct
>> 😉
>>
>>
>>
>>                                                     Happy Holidays,
>>
>>                                                            Ron
>>
>>
>>
>> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>