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:01 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 918B43A07FB; Thu, 12 Mar 2020 13:01:11 -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 lnk0JhdhJ3tx; Thu, 12 Mar 2020 13:01:10 -0700 (PDT)
Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 A5EB63A07F8; Thu, 12 Mar 2020 13:01:09 -0700 (PDT)
Received: by mail-oi1-x22e.google.com with SMTP id a22so6815816oid.13; Thu, 12 Mar 2020 13:01:09 -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=ZI9SeI/QEvfh9jpP6M2OlhqjCiBHrec/sMF0n1ugyY0=; b=h0kxEXC78HKCxRPSEKAlQRfA8Z4yJCSXXqMCOgSdUXFub3qoNrxcsXlEiFNuC+26H/ vdaAwJIPiCc4F+Nt0K9Hj/YjZVp/jy828C/0Li3zchN8311VZUJ7I0RDjBAJG8DL8n9g 01xpEcZ3wdcAQPW2Ritwr+p+kUFJ+5rPPMdT1qzbmm6yQlh2Fyju/l67Qz5KPbGLmmNW N737GS8V4b7gfZ1jxCaHMzME1fpLv/JB9a0uZcQ1iYZ7ZMEM7hxqOpU44U8HxA3x/uBX q9bWWqscltjLmLEKe26NZ7ljTn6JMiMd5XrEvDz6K1xZE1DO1YNomscfyYU8s8Dg9owt qnZg==
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=ZI9SeI/QEvfh9jpP6M2OlhqjCiBHrec/sMF0n1ugyY0=; b=QgoWsYtuSAHCNJ1s5Hw727QUH+ExbSikESiil7DN3CLPLYNnMvgfrnp3mhWMaGGg3J LJYDwLJ4dOclAKsq1oLXYUnhhxtGVBK6JpGaNbYsbKXXe8NncPHp2T3dcRpJB/67HHRt YtTGS65hzkC66x/0ugekLbIEUGmTdxFYjfm8Qg59SZ05fp3jt7/zHtCgPwTmlkg3jBj2 q46hH1F+2ToXtDaBp/uuk4m2NIShj8+VoiFrBE0wqkg0j2GB+yPQS7wHP8WeAhCWv1DO DrTYkvyyeLxLVjL9ugOd54K88bL1BGpOLfW/+CbJoisKuDhx14H4PQA9kK2JN0vVzHb4 j63g==
X-Gm-Message-State: ANhLgQ0f8jADFuoPbP3QDPCxbhQ9aqRbJ5E5Y8KJwoRj91QZ/gW3tq4l uBOm8Dhm+KrJt3tCTkLxXkt4CFC/Zlm0C8DevMk=
X-Google-Smtp-Source: ADFU+vu3thAXwyIL7Kmz56u7RNTeG6gxBaWzEAe4Gg+089RvmntWKrBvkIruV72urL0cMic7u2JaL5WBfo9w9OM0EGM=
X-Received: by 2002:aca:ac89:: with SMTP id v131mr4096352oie.7.1584043268717; Thu, 12 Mar 2020 13:01:08 -0700 (PDT)
MIME-Version: 1.0
References: <4F4FF5EC-690F-4C09-9101-98AB2DDFDE0C@liquidtelecom.com> <a38c3197-2513-4af6-cb4f-a0a96c082cb9@gmail.com> <fc7aa0a5-bf57-2407-1b37-06b1833a5abe@gont.com.ar> <f83272c1-8c66-ed03-02c0-dab5dd75e0a3@gmail.com> <766cb80e-586b-61bd-c60b-a50ade068bb7@si6networks.com>
In-Reply-To: <766cb80e-586b-61bd-c60b-a50ade068bb7@si6networks.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Fri, 13 Mar 2020 07:00:56 +1100
Message-ID: <CAO42Z2wmV9Gg30XPV4zT8NBBBapc4HR0TSTDvQJ28FgJ9dgzRQ@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Fernando Gont <fernando@gont.com.ar>, Andrew Alston <Andrew.Alston@liquidtelecom.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="0000000000005741f805a0add00b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/9dmvO75F1A6N-VI70-32a5n4Qz8>
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:01:12 -0000

On Fri, 13 Mar 2020, 01:41 Fernando Gont, <fgont@si6networks.com> wrote:

> On 11/3/20 23:34, Brian E Carpenter wrote:
> > On 12-Mar-20 10:44, Fernando Gont wrote:
> >> On 11/3/20 18:30, Brian E Carpenter wrote:
> >> [....]
> >>>
> >>> 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.
> >>
> >> Didn't *you* write that document? ;-) : RFC7136
> >
> > Well yes, in the context of IIDs used for SLAAC etc. But that's a bit
> more
> > narrow than what we are discussing here, I think. I assume that SLAAC is
> > not involved.
>
> Isn'tpart of the rationale for RFC7136 that there are actually so many
> different ways to configure addresses that you cannot even assume SLAAC?
> (e.g., see the example on /127s for point-to-point links)
>

Although SLAAC/EUI-64s might have triggered the work on what became
RFC7136, I've never seen it as SLAAC specific.

"

   In all cases, the bits in an IID have no generic semantics; in other
   words, they have opaque values.  In fact, the whole IID value MUST be
   viewed as an opaque bit string by third parties, except possibly in
   the local context.

"


RFC4291 is where forming addresses from EUI-64s is specified, and that
isn't SLAAC specific - there is no mention of SLAAC at all.

I've more generally thought that RFC7136 was saying that while a packet is
in-flight, the IID portion only has forwarding semantics, in addition to
the prefix and subnet fields, which is and makes it consistent with longest
match all 128 bits BCP 198 for unicast forwarding.

Any other semantics in addresses are limited to and shared by the original
packet source host and the final packet destination host. This, for
example, permits addresses to be used as anycast function identifiers once
the packet arrives at the final destination host.

So there is clear separation between the purpose of the network -
forwarding to reach the specified destination - and the destination host -
processing of the packet to serve the original, typically application,
purpose of the original source host sending it.

Regards,
Mark.



>
>
> > Good catch, though ;-)
>
> ;-)
>
>
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>