Re: [spring] 64-bit locators

Robert Raszuk <robert@raszuk.net> Fri, 20 December 2019 15:24 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 E2FDC1200B2 for <spring@ietfa.amsl.com>; Fri, 20 Dec 2019 07:24:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, URIBL_BLOCKED=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 nNC_zmefX-n0 for <spring@ietfa.amsl.com>; Fri, 20 Dec 2019 07:24:09 -0800 (PST)
Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 079E31200B1 for <spring@ietf.org>; Fri, 20 Dec 2019 07:24:09 -0800 (PST)
Received: by mail-qt1-x82d.google.com with SMTP id j5so8459808qtq.9 for <spring@ietf.org>; Fri, 20 Dec 2019 07:24:08 -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=CxoAcEj80ZrPOp207rt5Dd9YphxgBzt1F7+SR/VZ+hg=; b=EpNI5B+jhDAUdOTb/2QWC0OsDfSzOdRV0XDc7mAZUv21vBsGLwOQHCN5SK8xNZncFs OAOHUVGDqdsqAXbQa6/N8HLjvju8MYa/0bU1hjya69Ph5ERl9mzSd9I6DG+5vU9w3Y0B YJU5HO9Qr37wmnQYcVSys48IQVNSzkFj/7JP/lHvqHakI7BJJ2uOOVMVVnh1XVBoKy1t 0iedOZUfXezI6cHspxzcS/Br1uLzxT2T2VV0G0Zk0wnnWaKkOIdgjSodfU+l+XiJz17p zHhUI9lC06t6mAXk+ujw3fljbLIzZvHc3kKjjPM4Pw+z6RVTS5ne5xUk+Lk6I3qeTHbJ ihTA==
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=CxoAcEj80ZrPOp207rt5Dd9YphxgBzt1F7+SR/VZ+hg=; b=hDbUn5PjXBtemTBoNXENrxzDXQs/p3prTfVfqShUGBB1AOHqNRZsIGe0+30b/jC8IX HO3S44g2Sm3KFnvMt5yAsINoxeagFl8/5Ey+OpYqKBrcTHhLR1R1ugHAKH443DzVnmo6 cR5yZQVJH4p/gQHN4wma1YvrronQkPLgcDjphbLuyQA6AvJeRTMzeYpRCYT341mOi753 V+zRPLF/PwQA5NH4StbvWMfO1rUrGHh+CHWaqFEB5ar3JoDqJmXSflbHnBu3UbwUmfBp wNdsZBQibxvZ3K5NbY7rCEOIWeNGRdmATM3IMgzZvq7WvRSrLQnevWelxi2V2NHPRbk+ DQ/g==
X-Gm-Message-State: APjAAAVK4Vpe97xib0yhFwCVFZfLCodT5dklrmbz4gBwvuGY0O7FMRAr BcCd1geHl8atYGHLm7fV+ZFs8LJdimzapxUkzSuPWg==
X-Google-Smtp-Source: APXvYqwSE49eZ58TUjHSk+hE9yePDw2gr/DtWhqy+pixMCrXwSGfePAHOnp7X58XYbHeBKWAK0j23GBsa2XO04qXsqs=
X-Received: by 2002:ac8:a8b:: with SMTP id d11mr11782748qti.94.1576855448069; Fri, 20 Dec 2019 07:24:08 -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>
In-Reply-To: <069e6021-537c-422a-37da-f090a6ac334b@gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 20 Dec 2019 16:23:53 +0100
Message-ID: <CAOj+MMF9k0RfOG5EdXtYAC94NBzqUUME0jH8qZyOxL6dTL-biA@mail.gmail.com>
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Cc: Gyan Mishra <hayabusagsm@gmail.com>, Mark Smith <markzzzsmith@gmail.com>, SPRING WG <spring@ietf.org>, "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
Content-Type: multipart/alternative; boundary="000000000000d833cd059a24445f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/2yHH3216ZaXf2QrDb5Q79NArINI>
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, 20 Dec 2019 15:24:12 -0000

Alexandre,

You are missing a huge two advantages of actually using part of SID to be a
routable prefix. You do not need a mapping plane + nodes not SR aware just
forward vanilla IPv6 packets. With basic IGP or BGP IPv6 reachability you
can easily construct you segment paths.

And to your point of router_id not being pingable .. well a lot of
deployments use loopback address as router_id and it is easily pingable
when advertised via routing protocol of your choice.

Thx,
R.


On Fri, Dec 20, 2019 at 4:18 PM Alexandre Petrescu <
alexandre.petrescu@gmail.com> wrote:

>
>
> 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
> > <mailto:hayabusagsm@gmail.com>> wrote:
> >
> >
> >
> >     On Thu, Dec 19, 2019 at 4:17 PM Mark Smith <markzzzsmith@gmail.com
> >     <mailto: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
>  .
> >
> >
> >         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
> >
> >             -----Original Message-----
> >             From: spring <spring-bounces@ietf.org
> >             <mailto:spring-bounces@ietf.org>> on behalf of Alexandre
> >             Petrescu <alexandre.petrescu@gmail.com
> >             <mailto: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>
> >             <mailto:spring@ietf.org <mailto:spring@ietf.org>>
> >                  > https://www.ietf.org/mailman/listinfo/spring
> >                  >
> >                  >
> >                  > _______________________________________________
> >                  > spring mailing list
> >                  > spring@ietf.org <mailto:spring@ietf.org>
> >                  > https://www.ietf.org/mailman/listinfo/spring
> >                  >
> >
> >                  _______________________________________________
> >                  spring mailing list
> >             spring@ietf.org <mailto:spring@ietf.org>
> >             https://www.ietf.org/mailman/listinfo/spring
> >
> >
> >             _______________________________________________
> >             spring mailing list
> >             spring@ietf.org <mailto:spring@ietf.org>
> >             https://www.ietf.org/mailman/listinfo/spring
> >
> >         _______________________________________________
> >         spring mailing list
> >         spring@ietf.org <mailto: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 <mailto:gyan.s.mishra@verizon.com>
> >
> >     www.linkedin.com/in/networking-technologies-consultant
> >     <http://www.linkedin.com/in/networking-technologies-consultant>
> >
> >
> >     _______________________________________________
> >     spring mailing list
> >     spring@ietf.org <mailto:spring@ietf.org>
> >     https://www.ietf.org/mailman/listinfo/spring
> >
>