Re: [spring] Draft-ietf-spring-network-programming ipv6 addressing architecture - was draft-ietf-6man-segment-routing-header-26 violating RFC4291, IPv6 Addressing Architecture?

Mark Smith <markzzzsmith@gmail.com> Thu, 12 March 2020 20:21 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 4DEDB3A0895; Thu, 12 Mar 2020 13:21:10 -0700 (PDT)
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, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.998, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 acrQj1A87Kxy; Thu, 12 Mar 2020 13:21:08 -0700 (PDT)
Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 52F7C3A0898; Thu, 12 Mar 2020 13:21:06 -0700 (PDT)
Received: by mail-ot1-x32f.google.com with SMTP id e9so500844otr.12; Thu, 12 Mar 2020 13:21:06 -0700 (PDT)
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=8z1PWP/qRmzLUsCh/A6/lzV1De7E+fRw59KKgusCbFE=; b=YWu5sJwj47smC6OWx+GDM7PTu3g2pk0EVh/mFxtnhUSNlzWqN/VkzOMQO17lg0kWZY S3x9MPIlEy/1Euv5R2bNzF0FokGXz7MnmX56xcyUWCNeNEVLbDICmIrSnQg3CXrsSpOv XE8jOKKHbe0xsotWcp/jfxoO6o16tj2lHjasX4MkwFu+hOnONu3kW+JCeZzGluTxOoZ0 0RRyKZWR2aDlxJyrk8BF0B+8t9jd48eYXX8qDnB5WjG+fMbB9ujNkx6uzQlhb/ubxzM3 abt26Whvi5f1goQwyTanberhgIRwCtIGkYUvmctow76GBx1guG/98HzbaCqrKKwkIaVL kKxQ==
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=8z1PWP/qRmzLUsCh/A6/lzV1De7E+fRw59KKgusCbFE=; b=pkf7QQHoOx0n+t7MbYFAdHIMll1RidGZcp8Ct7Hlz59Gi72vh7vuuV9/4ULsKajHxJ xT6b42gVgfTGsO4dXYK7g0gLAqMys+i7mgfjFtvRYk+syqw7lQc0c/iXh25ruiTey4p+ EhvMgy0kR8JXMYHBy6mP1kNjC2s502bGbE2zSxEM+O1cDp/122Ko9E2FXEYo6IotrxaD DA2Q/xseximLBrTohupM9TAxFStH1TSDF5RwGeq+eJ5x9weBqQHn9fxb7Xydr1ykoc5R UfF7Xmd8XBJK/MISZ09ATWNAcApXt7PWBm3OPXACFAynv1dY/HfGSCAubUlvM+rQAdRO 6nsg==
X-Gm-Message-State: ANhLgQ3bMbojwndcAoa8uVYhAYIQGFTVakd9Kt4Cx9bsnYVYKJwS9lPh qdAIGeduWn14sQHqbU9heqZp5+9SZW94+e4AO9M=
X-Google-Smtp-Source: ADFU+vuu2CxyVY4Wmj1i5XaO3UPoGYY3zcR/2gKtYaXt/v19ATOrIkO1W/ZAGiOxIPZl2YQOK894sGZc+JdJEtqtkWg=
X-Received: by 2002:a05:6830:1d7:: with SMTP id r23mr6758432ota.153.1584044465207; Thu, 12 Mar 2020 13:21:05 -0700 (PDT)
MIME-Version: 1.0
References: <4F4FF5EC-690F-4C09-9101-98AB2DDFDE0C@liquidtelecom.com> <a38c3197-2513-4af6-cb4f-a0a96c082cb9@gmail.com> <DBBPR03MB541585909C4D92325A69F1EFEEFD0@DBBPR03MB5415.eurprd03.prod.outlook.com> <DM6PR13MB30660BB97B5D0EDD52F43A96D2FD0@DM6PR13MB3066.namprd13.prod.outlook.com> <DBBPR03MB5415C73B3B3EB9ADAE5D3A44EEFD0@DBBPR03MB5415.eurprd03.prod.outlook.com>
In-Reply-To: <DBBPR03MB5415C73B3B3EB9ADAE5D3A44EEFD0@DBBPR03MB5415.eurprd03.prod.outlook.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Fri, 13 Mar 2020 07:20:53 +1100
Message-ID: <CAO42Z2y2LmXB3Z1FuGoor4qY1rO6rtfvOCeec_pV+S2TVfOuYQ@mail.gmail.com>
To: Andrew Alston <Andrew.Alston@liquidtelecom.com>
Cc: James Guichard <james.n.guichard@futurewei.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, "Darren Dukes (ddukes)" <ddukes@cisco.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, "spring@ietf.org" <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a8403d05a0ae17bb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/oKUQLUlU2lbjFFt8ClNDGskFoE0>
Subject: Re: [spring] Draft-ietf-spring-network-programming ipv6 addressing architecture - was draft-ietf-6man-segment-routing-header-26 violating RFC4291, IPv6 Addressing Architecture?
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: Thu, 12 Mar 2020 20:21:10 -0000

On Fri, 13 Mar 2020, 02:36 Andrew Alston, <Andrew.Alston@liquidtelecom.com>
wrote:

> Jim
>
> Given RFC2460 definition of a link I am wondering which “link” a loopback
> interface attaches to in your opinion?
>
>
>
RFC 4291 provides a definition.


  "The unicast address 0:0:0:0:0:0:0:1 is called the loopback address.
   It may be used by a node to send an IPv6 packet to itself.  It must
   not be assigned to any physical interface.  It is treated as having
   Link-Local scope, and may be thought of as the Link-Local unicast
   address of a virtual interface (typically called the "loopback
   interface") to an imaginary link that goes nowhere."



Regards,
Mark.

I would argue the answer to that is in the name – loopback
>
>
>
> Thanks
>
>
>
> Andrew
>
>
>
>
>
>
>
> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Andrew Alston
> *Sent:* Thursday, March 12, 2020 4:26 AM
> *To:* Brian E Carpenter <brian.e.carpenter@gmail.com>; Darren Dukes
> (ddukes) <ddukes@cisco.com>; Ron Bonica <
> rbonica=40juniper.net@dmarc.ietf.org>
> *Cc:* spring@ietf.org; 6man WG <ipv6@ietf.org>
> *Subject:* Re: [spring] Draft-ietf-spring-network-programming ipv6
> addressing architecture - was draft-ietf-6man-segment-routing-header-26
> violating RFC4291, IPv6 Addressing Architecture?
>
>
>
> Brian,
>
>
>
> Let me clarify a few things – for my own understanding – I am happy to be
> wrong here, and if I am just let me know (while what I am writing may come
> across as statements, it was easiest to write that way, consider the
> statements clarification questions) –
>
>
>
> Firstly – let us consider the RFC8402 argument for a second – though I
> think we should probably consider this separately.  In reference to RFC8402
> this draft states – in section 3:
>
>
>
> When an SRv6 SID is in the Destination Address field of an IPv6
>
>    header of a packet, it is routed through an IPv6 network as an IPv6
>
>    address.
>
>
>
> So – we establish that indeed – SRv6 SID’s are IPv6 addresses – there is
> no two ways about it – they go into the destination field.  This is
> contrary to what Robert argued in an email found at
> https://mailarchive.ietf.org/arch/msg/spring/u1AzYFpDe-AhIxXdih2BEIz65Bk/
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Fspring%2Fu1AzYFpDe-AhIxXdih2BEIz65Bk%2F&data=02%7C01%7Cjames.n.guichard%40futurewei.com%7C337d560cf26a4d951a1a08d7c65f1100%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637195983932632328&sdata=kN2%2FKe5EHt1bWtcK9f0zQq07mMLQVK4HIZ5spUNEHzY%3D&reserved=0>
>
>
>
> Now, lets look at this draft specifically in reference to RFC4291.
>
>
>
> Section 2 of RFC4291 states that IPv6 addresses are identifiers for
> interfaces and sets of interfaces – where an interface is defined in
> RFC2460 as a “node’s attachment to a link”.  This document creates SID’s
> that have no binding to any interface.  Section 3 of the NP draft
> explicitly refers to lookups that lookup SID’s (which we have already
> established are addresses) that have no interface bindings.
>
>
>
> In section 3.1 – this talks about the Locator – this is entirely compliant
> with section 2.5 of RFC4291 – however – the function and arguments section
> of this – have no relation to interface ID’s – it is debatable if this is
> as a result of problems in RFC8402 or indeed, potentially both drafts –
> since it is this document that explicitly creates these function and
> argument sections independently of RFC8402 in section 3.1.
>
>
>
> Indeed RFC3587 states in section 3:
>
>
>
> [ARCH] also requires that all unicast addresses, except those that
>
>    start with binary value 000, have Interface IDs that are 64 bits long
>
>    and to be constructed in Modified EUI-64 format.  The format of
>
>    global unicast address in this case is:
>
>
>
>
>
> I fail to see how defining a function and arguments in the way this
> document describes are compliant with this.  Now, it can also be argued
> that there are many implementations that violate these specifications –
> Linux allows you to bind entire /64s to loopback addresses, however, I
> would argue that it is a very different case for an implementation to
> violate the specification as for an RFC to violate the specification and
> make it into a standard.
>
>
>
> I will also note and acknowledge that some may think that I am being
> pretty pedantic here – but considering the context and the claims floating
> around about what other RFC’s say and don’t say – perhaps its time to start
> examining this whole thing with a fine tooth comb so that we can end up
> with a better result that works for everyone and doesn’t lead to unintended
> consequences.
>
>
>
> Thanks
>
>
>
> Andrew
>
>
>
>
>
>
>
> *From:* Brian E Carpenter <brian.e.carpenter@gmail.com>
> *Sent:* Thursday, 12 March 2020 00:30
> *To:* Andrew Alston <Andrew.Alston@liquidtelecom.com>; Darren Dukes
> (ddukes) <ddukes@cisco.com>; Ron Bonica <
> rbonica=40juniper.net@dmarc.ietf.org>
> *Cc:* spring@ietf.org; 6man WG <ipv6@ietf.org>
> *Subject:* Re: Draft-ietf-spring-network-programming ipv6 addressing
> architecture - was draft-ietf-6man-segment-routing-header-26 violating
> RFC4291, IPv6 Addressing Architecture?
>
>
>
> On 12-Mar-20 09:53, Andrew Alston wrote:
> > Hi Spring WG
> >
> >
> >
> > On the basis of the below – I must conclude that the issues relating the
> SID/IPv6 semantics have indeed not been dealt with by the spring working
> group in the context of the network programming draft – and I would now
> like to raise those issues in the context of that draft – and the fact that
> draft-ietf-spring-network-programming violates the address semantic
> specifications of RFC4291.
>
> I really think that this is subsidiary to RFC 8402 (a Proposed Standard):
>
> SR can be applied to the IPv6 architecture with a new type of routing
> header called the SR Header (SRH) [IPv6-SRH]. An instruction is
> associated with a segment and encoded as an IPv6 address. An SRv6
> segment is also called an SRv6 SID. An SR Policy is instantiated as
> an ordered list of SRv6 SIDs in the routing header.
>
> I don't see anything in the SRH draft or the network-programming draft
> that is not within that definition. Whether RFC 8402 contravenes RFC 4291
> is worth discussing, I guess. The latter says:
>
> IPv6 addresses of all types are assigned to interfaces, not nodes.
> An IPv6 unicast address refers to a single interface. Since each
> interface belongs to a single node, any of that node's interfaces'
> unicast addresses may be used as an identifier for the node.
>
> However, I can't find anything in RFC 4291 that forbids addresses
> having semantic meanings rather than being pure locators. It goes
> against one of my design prejudices, but I can't find anything
> resembling "Encoding semantics in address bits considered harmful"
> in the RFCs.
>
> In reality, there are lots of operational practices that amount to
> giving semantic meanings to address bits.
>
> Brian
>
> >
> >
> >
> > Can we please have a proper discussion on this
> >
> >
> >
> > Thanks
> >
> >
> >
> > Andrew
> >
> >
> >
> >
> >
> > *From: *"Darren Dukes (ddukes)" <ddukes@cisco.com>
> > *Date: *Wednesday, 11 March 2020 at 22:03
> > *To: *Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
> > *Cc: *Andrew Alston <Andrew.Alston@liquidtelecom.com>, 6man WG <
> ipv6@ietf.org>
> > *Subject: *Re: draft-ietf-6man-segment-routing-header-26 violating
> RFC4291, IPv6 Addressing Architecture?
> >
> >
> >
> > Hi Ron, I made no comment in this thread on
> draft-ietf-spring-network-programming.
> >
> >
> >
> > Darren
> >
> >
> >
> > On Mar 11, 2020, at 2:55 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org
> <mailto:rbonica=40juniper.net@dmarc.ietf.org>> wrote:
> >
> >
> >
> > Darren,
> >
> >
> >
> > Didn’t we agree to close issue 66 because
> draft-ietf-6man-segment-routing header contains no text regarding SID/IPv6
> address semantics. If that’s the case, how can you say that closing issue
> 66 implies WG consensus around SID/IPv6 address semantic proposed in
> draft-ietf-6man-network-programming?
> >
> >
> >
> >
>                                                            Ron
> >
> >
> >
> >
> >
> >
> >
> > Juniper Business Use Only
> >
> > *From:* ipv6 <ipv6-bounces@ietf.org <mailto:ipv6-bounces@ietf.org>> *On
> Behalf Of *Darren Dukes (ddukes)
> > *Sent:* Tuesday, March 10, 2020 12:07 PM
> > *To:* EXT-Andrew.Alston@liquidtelecom.com <
> mailto:EXT-Andrew.Alston@liquidtelecom.com
> <EXT-Andrew.Alston@liquidtelecom.com>> <Andrew.Alston@liquidtelecom.com
> <mailto:Andrew.Alston@liquidtelecom.com
> <Andrew.Alston@liquidtelecom.com%20%3cmailto:Andrew.Alston@liquidtelecom.com>
> >>
> > *Cc:* 6man WG <ipv6@ietf.org <mailto:ipv6@ietf.org>>
> > *Subject:* Re: draft-ietf-6man-segment-routing-header-26 violating
> RFC4291, IPv6 Addressing Architecture?
> >
> >
> >
> > Hi Andrew please see issue #66 for the closure record.
> >
> >
> >
> > https://trac.ietf.org/trac/6man/ticket/66
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.ietf.org%2Ftrac%2F6man%2Fticket%2F66&data=02%7C01%7Cjames.n.guichard%40futurewei.com%7C337d560cf26a4d951a1a08d7c65f1100%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637195983932632328&sdata=QkZQTC9gfA7bjmANWqUIhQk4%2Fr5ECkz1hXkUbIMeHxw%3D&reserved=0>
> <
> https://urldefense.com/v3/__https:/trac.ietf.org/trac/6man/ticket/66__;!!NEt6yMaO-gk!RN-QFuaCraX6vU74Vusek5FlDyBGgfC2Teh1Vz40nw0PBhWdPtA-SA3t_rxaFg4_$
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Ftrac.ietf.org%2Ftrac%2F6man%2Fticket%2F66__%3B!!NEt6yMaO-gk!RN-QFuaCraX6vU74Vusek5FlDyBGgfC2Teh1Vz40nw0PBhWdPtA-SA3t_rxaFg4_%24&data=02%7C01%7Cjames.n.guichard%40futurewei.com%7C337d560cf26a4d951a1a08d7c65f1100%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637195983932642321&sdata=KAJ6gn4hxCzDjblX8IigFrkB2J8uIz%2BesLVfPWqTXqk%3D&reserved=0>
> >
> >
> >
> >
> > Darren
> >
> >
> >
> > On Mar 9, 2020, at 3:18 PM, Andrew Alston <Andrew.Alston@liquidtelecom.com
> <mailto:Andrew.Alston@liquidtelecom.com>> wrote:
> >
> >
> >
> > Hi Darren
> >
> >
> >
> > >  Hi Mark, the working group discussed the
> >
> >  > association with RFC4291 and closed it with
> >
> >  > the text in the document.
> >
> >
> >
> > Can we get a reference to these discussions please - would just be
> useful to back and refresh memories and wasn’t able to find them
> >
> >
> >
> > Thanks
> >
> >
> >
> > Andrew
> >
> >
> >
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fipv6&data=02%7C01%7Cjames.n.guichard%40futurewei.com%7C337d560cf26a4d951a1a08d7c65f1100%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637195983932652318&sdata=9pahh101WJHVw5AQrT8lBMawkyZzHXOsVvK5VIk%2B82A%3D&reserved=0>
> > --------------------------------------------------------------------
> >
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>