Re: [spring] 64-bit locators

Robert Raszuk <robert@raszuk.net> Sat, 21 December 2019 23:42 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 72A2912008A for <spring@ietfa.amsl.com>; Sat, 21 Dec 2019 15:42:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 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, HTTPS_HTTP_MISMATCH=0.1, 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 vB4vj6GMN5jJ for <spring@ietfa.amsl.com>; Sat, 21 Dec 2019 15:42:38 -0800 (PST)
Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 BD99012007C for <spring@ietf.org>; Sat, 21 Dec 2019 15:42:37 -0800 (PST)
Received: by mail-qt1-x830.google.com with SMTP id j5so11937501qtq.9 for <spring@ietf.org>; Sat, 21 Dec 2019 15:42:37 -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=EvdeBwBUt0AXQk8hI+PwDhDY4ptw0LANKSAHG1ve6Ik=; b=ZzADKL/qwm67BDojAIVmYinl7eqP+sjAwJCTSoBeEZ8yhhWzz6PXGWCad7C1WDBKUs rwt/B4xku820G7n1M9JPQ56yHfijgROG4va0GuuLA7JDFncMi/U7nPac3KTkT7nJT5/8 /mfzSzE7q2IqZ/8xzuta5GrVGXv8T68V4CKoYaIQa4NsZCR4GuuCP619wOYxs2pRqat6 B6RcUz3FV8/uNwDz4ob68wVblY/iT+t58DkQcgyLFYyByJBFrvyUC/olHZaTs1FH5vaV vb+ZV1odSQrg1vdmxplixNwDZGl46ebfDUAeJgDAwml8IHhveHjqPV3j9UCZPDuCWUkM EnYA==
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=EvdeBwBUt0AXQk8hI+PwDhDY4ptw0LANKSAHG1ve6Ik=; b=qnbhxmqIj1Y76ilmVaowtkHFV34sYcHgdK7LbccVlR1sErQ9iuyyusxZc2Ki4kl+fn iTmDAPkzYDWrMOd4Vv6e40RFJpZIV6H0f+S1Fx3fKd1XKppoAHxXoFnfSiNM1RK+x/1K qL0MR7nbEHO3DmvwG7okV3yNpEnirRZuDmt1wseexBq1SMhcZG07NaDSH9bCvL/EGim9 yF3edE8ZWzzXKpMJUqyCzKrrhoES147n09HqZAXGqTdf5k7BjkP5VPO6XKB2vUtTr+Kt JwPP7IvXbjTPRUJzve+gToazOzCyKRmMtJHTwvOTWrMN/q5ZIfL6fZSH2p5j7cWA/NkB 8XVQ==
X-Gm-Message-State: APjAAAXATAWqpJ5acjqAS75xG4i+H1gya5Uxi8gMgEd9b5cji+K4fwb/ 5Sd1T5eRDM/+nIbVo14fMmRnIfm4tE663EFfXSoN8A==
X-Google-Smtp-Source: APXvYqyaahEMb7vwodA735TEJXQ202PmvBefUr1KIFkmC//icza0A42rwSqFaFn7Lb839N5uNxJFhwltJwq/dhKN6Ho=
X-Received: by 2002:ac8:3703:: with SMTP id o3mr17436905qtb.208.1576971756774; Sat, 21 Dec 2019 15:42:36 -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>
In-Reply-To: <BN7PR05MB56995F5D8A02A63E0317A3D9AE2C0@BN7PR05MB5699.namprd05.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 22 Dec 2019 00:42:30 +0100
Message-ID: <CAOj+MMFwK2S0NDVeF-AeTEuLgHJGt6mmVZki6sobuf2EGpQmpw@mail.gmail.com>
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>, "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, Mark Smith <markzzzsmith@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000623cf5059a3f5986"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/u1AzYFpDe-AhIxXdih2BEIz65Bk>
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, 21 Dec 2019 23:42:42 -0000

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
>
>
>
>
>
> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Robert Raszuk
> *Sent:* Friday, December 20, 2019 10:45 AM
> *To:* Andrew Alston <Andrew.Alston@liquidtelecom.com>
> *Cc:* Alexandre Petrescu <alexandre.petrescu@gmail.com>; SPRING WG <
> spring@ietf.org>; Gyan Mishra <hayabusagsm@gmail.com>; Pablo Camarillo
> (pcamaril) <pcamaril@cisco.com>; Mark Smith <markzzzsmith@gmail.com>
> *Subject:* Re: [spring] 64-bit locators
>
>
>
> > So  we are left with a chicken and egg situation – is the SID an address
> or isn’t it.
>
>
>
> I do not see here neither chicken nor an egg here. SID definition for SRv6
> is very clear. It is <LOC:FUNC:ARG>.
>
>
>
> Done.
>
>
>
> Obviously LOCator part is routable.
>
>
>
> Thx,
> R.
>
>
>
> On Fri, Dec 20, 2019 at 4:33 PM Andrew Alston <
> Andrew.Alston@liquidtelecom.com> wrote:
>
> +1
>
>
>
> I have long argued that SRv6 essentially redefines and overloads the ipv6
> address as defined – the argument that I have been given is that the SID is
> in fact not an address – however – by virtue of the fact that the SID in
> SRv6 is copied into the address field during traffic steering – and routing
> occurs based on that DA – it most certainly is an address.
>
>
>
> So  we are left with a chicken and egg situation – is the SID an address
> or isn’t it.  If it isn’t – I 100% agree with you that something else
> should be used – in which case how do you address the steering issue.  If
> it is an address – then this draft fundamentally redefines the IPv6 address
> semantics – and I would argue that should only be done by an update of
> RFC4291, and potentially a number of other documents which rely on the
> current semantic.
>
>
>
> But – either way – I do not think we can argue that the SID and a v6
> address are currently different things in the drafts – since a SID is
> copied into the DA field – and used to route on – and while that remains –
> I have stated before, and will state again, I have deep concerns as to the
> unknown consequences of fundamentally changing the semantics of an address
> as it was defined in other RFC’s and as have wide deployment.
>
>
>
> Thanks
>
>
>
> Andrew
>
>
>
>
>
>
>
> Juniper Business Use Only
>
> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Alexandre Petrescu
> *Sent:* Friday, 20 December 2019 18:19
> *To:* Robert Raszuk <robert@raszuk.net>; Gyan Mishra <
> hayabusagsm@gmail.com>
> *Cc:* SPRING WG <spring@ietf.org>; Mark Smith <markzzzsmith@gmail.com>;
> Pablo Camarillo (pcamaril) <pcamaril@cisco.com>
> *Subject:* Re: [spring] 64-bit locators
>
>
>
>
>
> Le 20/12/2019 à 00:07, Robert Raszuk a écrit :
> >
> > Fixed length of any field LOC:FUNC:ARGs makes no sense to me. What is
> > optimal for Ron or Mark may not be optimal for me.
>
> I think I can legitimately wonder whether the 'SID' Segment Identfier
> should not be something else than an IP address.
>
> Making a SID an IP address might lead to other well-known confusions
> like in OSPF: there is a Router ID which is an IP address in some
> manufacturer's speak, it works fine, but it does not reply to ping under
> any configuration whatsoever.
>
> That is not a good thing. The router id looks like an IP address but it
> is not one. When migrating OSPF to IPv6 all was changed but the Router
> ID stayed like an IPv4 address. So it is an IPv6 OSPF but has some IPv4
> in it.
>
> The column-hextet notation, or more precisely something like
> "2001:db8::", denotes an IP address. Not only is it a Documentaiton
> Prefix, but it is an IP address. There is an RFC for it. It is somehow
> reserved and it shouldnt be used for something else, otherwise it
> creates confusion.
>
> It could be easy to create a new space for SID, with its distinct
> notation, like 64bit identifiers "ab_cd_ef_gh_01_02__". Nobody would
> try to ping these because they dont look like IP addresses.
>
> Then, we might wonder whether these SIDs should be fixed or variable
> length..
>
> Alex
>
> >
> > While we are at that fixed size of 128 bits of IPv6 also makes no sense
> > - but that vessel left the harbour a while ago.
> >
> > Cheers,
> > R.
> >
> >
> >
> >
> > On Thu, Dec 19, 2019 at 10:57 PM Gyan Mishra <hayabusagsm@gmail.com
> <hayabusagsm@gmail.com%20%0b>> <mailto:hayabusagsm@gmail.com
> <hayabusagsm@gmail.com>>> wrote:
> >
> >
> >
> > On Thu, Dec 19, 2019 at 4:17 PM Mark Smith <markzzzsmith@gmail.com
> <markzzzsmith@gmail.com%0b>> <mailto:markzzzsmith@gmail.com
> <markzzzsmith@gmail.com>>> wrote:
> >
> >
> >
> > On Thu, 19 Dec 2019, 22:48 Pablo Camarillo (pcamaril),
> > <pcamaril@cisco.com <mailto:pcamaril@cisco.com>> wrote:
> >
> > Hi,
> >
> > As mentioned in the draft, the choice of the locator length
> > is deployment specific.
> > LINE has deployed SRv6 using a locator different than a /64.
> >
> >
> > This is effectively an appeal to authority.
> >
> > What makes what LINE has done the best and right thing to do?
> >
> > I can already see they're using the IPv4 link-local 169.254/16
> > prefix in a manner that wildly violates how it is specified to
> > be used in RFC3927. See Slides 9, 12, 24.
> >
> > Tying your IPv6 addressing plan to IPv4 addressing could end up
> > imposing IPv4's addressing limitations on IPv6 - defeating the
> > primary purpose of IPv6 - providing many more addresses than IPv4.
> >
> > Slide 32 shows they're violating RFC 4193 (IPv6 ULAs), because
> > they're using ULA-Cs ('fc') rather than ULA-Ls ('fd'), despite
> > there being no central registry.  Their 40 bit Global ID of "17"
> > could be random, although I'm guessing not, as random numbers
> > would usually have far less zeros in them. These sorts of ULA
> > errors are why I presented "Getting IPv6 Addressing Right" at
> > AusNOG this year -
> >
> https://www.slideshare.net/markzzzsmith/ausnog-2019-getting-ipv6-private-addressing-right
> <https://urldefense.com/v3/__https:/www.slideshare.net/markzzzsmith/ausnog-2019-getting-ipv6-private-addressing-right__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH2DAutaX$>
>  .
> >
> >
> > This is an Internet Draft, so this is the best time to make
> > these sorts of changes, as it is much easier now. When things
> > become RFCs it becomes much harder (and much, much harder when
> > they become Internet Standards).
> >
> > If somebody has deployed Internet Draft level technology, they
> > have to accept the risk that what they've deployed might not
> > comply with the eventual RFC.
> >
> > Regards,
> > Mark.
> >
> >  [Gyan] For IPv6 addressing you can have any length prefix up to
> > /128.  i am all for flexibility with vlsm even though may not be
> > widely used.
> >
> > SRv6 SID encoding differs in that we had 3 fields
> > {locator;function;arguments} that I think it makes sense to be fixed
> > in the specification as Ron has brought up.
> >
> > From an operator perspective for programmability as SRv6
> > deployments with or without centralized controller, fixed length of
> > the 3 fields makes sense so operators can easily craft ACLs for
> > deployments.
> >
> > I think we could go crazy with the sizing but I think since 64 bit
> > boundary exists today for slaac we could make the locator /64 as
> > well is fine.  We could split the other 2 fields evenly 32 bits each
> > or make the function longer.  I think we’ll defined sizing is
> > important so SID addressing plan is not chaotic.
> >
> >
> >
> >
> > Cheers,
> > Pablo.
> >
> > [1]
> >
> https://speakerdeck.com/line_developers/line-data-center-networking-with-srv6
> <https://urldefense.com/v3/__https:/speakerdeck.com/line_developers/line-data-center-networking-with-srv6__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH8DvkSdF$>
> >
> > -----Original Message-----
> > From: spring <spring-bounces@ietf.org
> <spring-bounces@ietf.org%0b>> <mailto:spring-bounces@ietf.org
> <spring-bounces@ietf.org>>> on behalf of Alexandre
> > Petrescu <alexandre.petrescu@gmail.com
> <alexandre.petrescu@gmail.com%0b>> <mailto:alexandre.petrescu@gmail.com
> <alexandre.petrescu@gmail.com>>>
> > Date: Thursday, 19 December 2019 at 09:44
> > To: "spring@ietf.org <mailto:spring@ietf.org>"
> > <spring@ietf.org <mailto:spring@ietf.org>>
> > Subject: Re: [spring] 64-bit locators
> >
> >
> >
> >     Le 19/12/2019 à 00:13, Mark Smith a écrit :
> >     [...]
> >
> >     > VLSM [variable length subnet mask] is fundamentally hard,
> >
> >     We need VLSM in other places too, such as in ULA
> > prefixes fd and fc.
> >
> >     I think it is indeed a difficult to grasp concept, but
> > it is there for
> >     growth.
> >
> >     Alex
> >
> >     >
> >     > Regards,
> >     > Mark.
> >     >
> >     >     __
> >     >
> >     >     In this case, we should probably change the
> > document to reflect
> >     >     implemented behavior.____
> >     >
> >     >     __ __
> >     >
> >     >
> >     >
> >                     Ron____
> >     >
> >     >     __ __
> >     >
> >     >
> >     >     Juniper Business Use Only
> >     >
> >     >     _______________________________________________
> >     >     spring mailing list
> >     > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> > <mailto:spring@ietf.org <mailto:spring@ietf.org
> <spring@ietf.org%20%3cmailto:spring@ietf.org>>>
> >     > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >     >
> >     >
> >     > _______________________________________________
> >     > spring mailing list
> >     > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> >     > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >     >
> >
> >     _______________________________________________
> >     spring mailing list
> > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >
> > --
> >
> > 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 <mailto:gyan.s.mishra@verizon.com
> <gyan.s.mishra@verizon.com>>
> >
> > www.linkedin.com/in/networking-technologies-consultant
> <https://urldefense.com/v3/__http:/www.linkedin.com/in/networking-technologies-consultant__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH76iah6W$>
> > <http://www.linkedin.com/in/networking-technologies-consultant
> <https://urldefense.com/v3/__http:/www.linkedin.com/in/networking-technologies-consultant__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH76iah6W$>
> >
> >
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org <mailto:spring@ietf.org <spring@ietf.org>>
> > https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
> >
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!TekHkLxGLeIc1nTcFBN8k0lhpl6JeFKzb7sxKRDXHfaYpEfoC3qY8XrLH0Ks_SU-$>
>
>