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 10: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 0FFF23A091E; Thu, 12 Mar 2020 03:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.598
X-Spam-Level:
X-Spam-Status: No, score=-0.598 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, 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 HO7BAoggDLql; Thu, 12 Mar 2020 03:16:33 -0700 (PDT)
Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (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 9855B3A091C; Thu, 12 Mar 2020 03:16:33 -0700 (PDT)
Received: by mail-oi1-x22b.google.com with SMTP id g6so4928066oiy.1; Thu, 12 Mar 2020 03:16:33 -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=hHk7fHjLx2sUBQJ0F9RP8FcwNYneUJZIO0PW031PwU4=; b=SzF7Rs8RmtbFGyxqamB9bkSeEmxEZE5OYzI7oXOtvtSrLtpQcczZ09lGadwZKYGtwb kGsncnSo8gGgXa1niYHH0dv4fk1yvZK+5bpUrBu7pB9dwE9PU+t1QaRyKe5R1MMBOt+n kmsGCuUEg4qvoxnGMRZHuDKzCidUp3lX/qYt+HNXd1uAkGr6b5Eh8MuTuqvkvCCxwV8m naLeyO/3EsZYb2JDWZAGGKni5GQC/tk3S3nwYdM4k+sZFu5ibbJvitaR9WrnxAvepGBB mKz1boDtiUU3VGPD75pM1Ulg1CiTM+caxBZ+0lHBlWhwjSkpeXLNwnXfMl17jaKrbYk1 j4Sg==
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=hHk7fHjLx2sUBQJ0F9RP8FcwNYneUJZIO0PW031PwU4=; b=BPCW3hg7wu0ubNDGR/tfryHvA+g3MaFxTriNQ6go+6T+W/TMe82Wkd+37ZFxejquUs yvWEARI5e3fHlZ3qBU8nl/PffvD2Uj6HdsPf3XyVJiu+HHD7oZA+vTX+uc3KBZgmOlth grg0CLHMFInyWovgBC48i8jBxd2t4DCm/TR1Fa0gswQ2c7m6n5a7Bz8frvI/5vxGBvk7 CzB/zUoxcG1E0Tts7DH41X40YKXHYAIGSYKOl6D9FifBJO5g8nR2/w3fFJxgoyBNDrcy ApdqYzP0Bj9I+w7RutQlr/DdWgBBE1df0rulfYyCRHGhLAhP95RPje9PqGXAHvUS2CYD cOZA==
X-Gm-Message-State: ANhLgQ22MHu666GEDEJ0/WjuyZx8+ECiOaOoQ1rXBdkc0ktDLzmlJKNG oEp5jwk+BxuM56k1FmyX0mWgq/JEshJeVGL11dW8tw==
X-Google-Smtp-Source: ADFU+vsZa82m2UZsnXYfGjYp+pxM6MOcw9HrIUcHZ5l0b9wR4AwjueRFcHY6xFGdeo993xI7MRu8NS14u+Y+JxMAMD0=
X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr2056184oij.60.1584008192739; Thu, 12 Mar 2020 03:16:32 -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> <4B50496C-F75D-4858-8FAA-947E2A38136B@employees.org>
In-Reply-To: <4B50496C-F75D-4858-8FAA-947E2A38136B@employees.org>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Thu, 12 Mar 2020 21:16:21 +1100
Message-ID: <CAO42Z2xuSBMv5Lzb7xbaTxAmKOUzQ0x80g5M2daBV3qEBDorKw@mail.gmail.com>
To: Ole Troan <otroan@employees.org>
Cc: Andrew Alston <Andrew.Alston@liquidtelecom.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, 6man WG <ipv6@ietf.org>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a64bdd05a0a5a58e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/tOG8-gvfgxr8a5Yr1f15Euucgf8>
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 10:16:36 -0000

On Thu, 12 Mar 2020, 19:45 , <otroan@employees.org> wrote:

> IP addresses have been used outside of the strict "identifiers for
> interfaces".
> Apart from being used for routing, as a locator and as an identifier of
> course.
> Load-balancers / addresses for a service, NAT, NPT66, NAT66, MAP-E/T,
> anycast addresses...
> I am sure there are plenty others.
>
> Unless Andrew can justify the "better result that works for everyone",
> I do not believe rehashing the architectural properties of IP addresses
> serves any useful purpose.
>


I think it serves a very important purpose, which is why I raised it.

SRv6 SRH says IPv6 addresses can be assigned to nodes, contrary to RFC
4291. What is the Interface Identifier portion of the address called in
that case, and where is it specified?

There needs to be an update to RFC 4291 if IPv6 addresses can now be
assigned to nodes.

I think that RFC 4291 requires that SRv6 requires implementations configure
the SID prefix on a virtual or physical interface, rather than leaving it
to be an implementation choice.

It also means there is then no need for a special case SR FIB lookup
algorithm, as described in SRH ID 4.3, as the existing, general purpose and
all cases IPv6 FIB lookup will work without modification.

Regards,
Mark.



> Best regards,
> Ole
>
> > On 12 Mar 2020, at 09:26, Andrew Alston <Andrew.Alston@liquidtelecom.com>
> wrote:
> >
> > 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/
> >
> > 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> <Andrew.Alston@liquidtelecom.com
> <mailto: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://urldefense.com/v3/__https:/trac.ietf.org/trac/6man/ticket/66__;!!NEt6yMaO-gk!RN-QFuaCraX6vU74Vusek5FlDyBGgfC2Teh1Vz40nw0PBhWdPtA-SA3t_rxaFg4_$
> >
> > >
> > >
> > >
> > > 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
> > > --------------------------------------------------------------------
> > >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>