Re: RFC4291bis

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 08 August 2018 05:40 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4A41130DC2 for <ipv6@ietfa.amsl.com>; Tue, 7 Aug 2018 22:40:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham 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 OCtVSSYmaKUp for <ipv6@ietfa.amsl.com>; Tue, 7 Aug 2018 22:40:19 -0700 (PDT)
Received: from mail-pl0-x232.google.com (mail-pl0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (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 91B991271FF for <ipv6@ietf.org>; Tue, 7 Aug 2018 22:40:19 -0700 (PDT)
Received: by mail-pl0-x232.google.com with SMTP id t17-v6so506260ply.13 for <ipv6@ietf.org>; Tue, 07 Aug 2018 22:40:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=T+Qg7JwzA3jruCWUn0CJiuWd01KtTL6fNZYFJr4zDqc=; b=fz01P3Kj1sUTng6BQBhoXSh6tS9VpcS5+zYnfoXFVt8ZkGlhIEsl8bzjQzRJ/Ljzst RFbWn0Re6cYqcLZM0faUkQ85mDV7XvGqfT0r4Irnop49ho1ILIXLcGtezDUf4AOmzMPU bpPN7sl5vUG6WX894XqcjvPYGyV5TsGjum5yAKdXaXlfTKPIK4YllC9QJEJzxqMLHNUH NzjuELNJsUlWJaoWD9AIoE459flEcLwQljkigSlOIMfYFgPQ46jR39xM4JIp9o79Y2uG iJpFLniqqnP0D1Wx0RbDe5VtQXH5HiznaeyWiEvy6O58fHgxNwt+eg0tEX31lN8KWsRV 7WCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=T+Qg7JwzA3jruCWUn0CJiuWd01KtTL6fNZYFJr4zDqc=; b=W26WnoSKkXD7y9CLgsCNQ1xnVNpWjQkIzBK6bAw8xMC+VIN/a3A8pVxnKc2TrZrKH7 Pl3nezKa+WFy3OTd6UolAJ7+89Z0iwn8/d4aaiYKRwEUX1CVFBgz5ZGMVeTK72VROTyI 3Ry6hiLGVvpKRXgkD2QsdYJAhfOs6r+nCucwQqGbQPIofjcPoiAKBejElQZbofVQON+v Fqy1HK1XVkZktdSOE3Zvqb+trvu7hOeFFMBjIPHa45ZE+d3zc+DwXM5CEiazdsfTDlqy 6soMwriWLcJKxY+RcPxyfjpRRGesm0uUpsnvwbcAlvQkHMYpRe8ra8TjuT/lX94sMDq9 Gdow==
X-Gm-Message-State: AOUpUlFhtLHh8uWGM0OPhhYzp+ZL4q4lxuJ68n7A77gI7obhnwWu3Fsu mVXpAzBN9/ZnDkXqPFvD0qyThMNV
X-Google-Smtp-Source: AA+uWPwU/Z9zukW1J0kQ/T22k/+0f12Bb/3YLGcmYJosbPSf0YFIHpGz2GElva/uDdelNcCLJmW0Vw==
X-Received: by 2002:a17:902:694a:: with SMTP id k10-v6mr1220195plt.166.1533706818829; Tue, 07 Aug 2018 22:40:18 -0700 (PDT)
Received: from [192.168.178.30] (227.24.255.123.static.snap.net.nz. [123.255.24.227]) by smtp.gmail.com with ESMTPSA id h130-v6sm11735240pgc.88.2018.08.07.22.40.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Aug 2018 22:40:17 -0700 (PDT)
Subject: Re: RFC4291bis
To: David Farmer <farmer@umn.edu>
Cc: 6man <ipv6@ietf.org>
References: <f332beb5-2ee5-c12e-b2b5-d7b1742e4ca0@gmail.com> <CAN-Dau16MojYXEgPnbyybtfMORjQRLv+NQKjNVsiz5RFgjVLCw@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <3a500f34-f4fd-e12f-2142-ee3868855127@gmail.com>
Date: Wed, 08 Aug 2018 17:40:20 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CAN-Dau16MojYXEgPnbyybtfMORjQRLv+NQKjNVsiz5RFgjVLCw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/4C1icvvmBP4hT6-kNmznhMyfZbw>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Aug 2018 05:40:22 -0000

On 08/08/2018 15:47, David Farmer wrote:
> On Tue, Aug 7, 2018 at 6:39 PM, Brian E Carpenter <
> brian.e.carpenter@gmail.com> wrote:
> 
>> Hi,
>>
>> Assuming that we adopt draft-farmer-6man-exceptions-64
>> for the standards track or BCP, I suggest that we should
>> also update draft-ietf-6man-rfc4291bis as proposed below,
>> and plan for the two documents to be published as RFCs
>> simultaneously:
>>
>> OLD:
>>    Interface Identifiers are 64 bit long except if the first three bits
>>    of the address are 000, or when the addresses are manually
>>    configured, or by exceptions defined in standards track documents.
>>    The rationale for using 64 bit Interface Identifiers can be found in
>>    [RFC7421].  An example of a standards track exception is [RFC6164]
>>    that standardises 127 bit prefixes on inter-router point-to-point
>>    links.
>>
>>       Note: In the case of manual configuration, the Prefix and
>>       Interface Identifier can be any length as long as they add up to
>>       128.
>>
>> NEW:
>>    Interface Identifiers for stateless address autoconfiguration
>>    are 64 bits long except if the first three bits
>>    of the address are 000, or when the addresses are manually
>>    configured, or by exceptions defined in standards track documents.
>>    The rationale for using 64 bit Interface Identifiers can be found in
>>    [RFC7421].  An example of a standards track exception is [RFC6164]
>>    that standardises 127 bit prefixes on inter-router point-to-point
>>    links. The relationship between prefix length and Interface Identifier
>>    length is discussed in [I-D.farmer-6man-exceptions-64].
>>
>>       Note: In the case of manual configuration, the Prefix and
>>       Interface Identifier can be any length as long as they add up to
>>       128. In all cases, routing and forwarding processes must be
>>       designed to process prefixes of any length up to /128 [BCP198].
>>
>> Comments:
>>
>> 1. This change makes it clear that the 64-bit IID length is for SLAAC.
>> 2. It specifically send the reader to draft-farmer for details.
>> 3. It underlines that routing must work for any length prefix.
>>
>>     Brian
>>
> 
> That works for me, but I've been thinking "Standard Interface Identifiers
> are 64 bit long..." and when refing to 64-bit IID later on in the documnet
> use the term "Standard IIDs"

That only seems to concern two places:

1. The definition of Link-Local IPv6 Unicast Addresses,
which is explicit about the 64.

2. A rather unnecessary reference to RFC 3587, which IMHO
could simply be dropped at this point in history.
 
> One of the sources of confusion in all of this is not distingusing between
> the generic concept of IIDs used in section 2.4, and the standardised
> 64-bit IID, it gives the faulse impression that all IIDs are 64 bits in
> length.
> 
> Something to think about, was the change from RFC1884 to RFC2373 intended
> to be backward compatible? Or was there a flag day where we went from
> RFC1884 (IPv6.0) and to RFC2373 (IPv6.1)?  

July 1998? From what I recall of the implementation and deployment
status then, backwards compatibility wasn't really an issue. As
long as all hosts on a given link were at the same level, all
would be well. Somebody might remember how AIX managed this, since
it had the first commercial release of IPv6 in 1997. But maybe it
didn't have SLAAC initially.

SLAAC was specified from the beginning (RFC1971) for an arbitrary
length interface ID (called "interface token" in RFC1971). 

> As I see it RFC2373 was an
> incremental change, adding SLAAC with a standardized IID length of 64 bits,
> and the subnet assignment prefix (the PIO with the A flag) and allowing
> backward compatibility with manual configuration and DHCPv6 based on
> RFC1884. The Standard IIDs are required for SLAAC and recommended for
> manual configuration and DHCPv6.

Sure, but RFC1971 implied 48 bit interface tokens.

   Brian

> 
> Thanks.
> 
> --
> ===============================================
> David Farmer               Email:farmer@umn.edu
> Networking & Telecommunication Services
> Office of Information Technology
> University of Minnesota
> 2218 University Ave SE        Phone: 612-626-0815
> Minneapolis, MN 55414-3029   Cell: 612-812-9952
> ===============================================
>