Re: RFC4291bis

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 08 August 2018 22:55 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 081C8130E94 for <ipv6@ietfa.amsl.com>; Wed, 8 Aug 2018 15:55:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level:
X-Spam-Status: No, score=-1 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, GB_AFFORDABLE=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 VDBcELmE6e8o for <ipv6@ietfa.amsl.com>; Wed, 8 Aug 2018 15:55:53 -0700 (PDT)
Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 849BB130DC3 for <ipv6@ietf.org>; Wed, 8 Aug 2018 15:55:53 -0700 (PDT)
Received: by mail-pf1-x434.google.com with SMTP id l9-v6so1841792pff.9 for <ipv6@ietf.org>; Wed, 08 Aug 2018 15:55:53 -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=GVsEwpVGURlD6FrlCU3vfUFkV0CmNQ8SarVNfhJjR/Y=; b=FCKYUKR7QnRPnVnIFCxJREYxkw4mDwieSJc11SVRWKy0BasS6S95GRjvGrJFCexuMh Ljf7VscVzQl1Q4yq4VrUfP2CrLCVg8vRTouXgIeO6WOJ1gFEy1L4RM7J72VwhijbgO95 4dC9udkbp92IvVebaNr91Oiw7En0xddDK7HN/YjcbboVS++Z2Z3yxuO9iNyR19s9L2iI /LEe7eLvp+bTgHSwmI8JuaPfQjgXd8p6l6BYJpcgaN26yETV6IdXxONVF37T3+2sMslc K51wVDc9/InJNJKAVddoChj+MWlDB9BJk5Zs91nAZVpgPwpgBvfW8rYbYk6NB3jjvDIk sjdg==
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=GVsEwpVGURlD6FrlCU3vfUFkV0CmNQ8SarVNfhJjR/Y=; b=LfIZqgBTqMOlInrX9E3+pk26CRh9fJUxTeFjmTRNs3V7eJNO6XYNbHPh6XJ5lzRviC 68Z6KpxelfjE9dXZFW6DbQBicrgpZbcPxV5lOeyUJTwRqMlgq2PS/S9jTEhcJfTU4Kie fekJiyKxzWYtYSm3pz2ukpY5GLlvTR1NVsY1TmC0m3DIc3bTHvE78X1RgLv/tHByMGT0 XhOa8kSb5A5HosLA5F3jBIuhV80i/HIRaswih+JAFrjEBNDJGMjYbkY3+lxtCH8fytjM /G8Jc7/5TfSxacNx1PzzsgL3s1b2Tv7uxO3srgd3J6Zwb5RdY/t2YCVG1QvNgoX6045P BxbA==
X-Gm-Message-State: AOUpUlGo8BvUTV+3+A2ti5f7UjcNbvxjBYiXtFDXDaGLaOq7uRHYlM07 dfadEuI7Kq57NqcOLtgck8DVi4yx
X-Google-Smtp-Source: AA+uWPyf20uw5IHlEMMYTWVwEd/i5JUUvhWHomL7Qk9r/tPM+MiPDEqVjCM9kMxVKJzVnoeuf+7IWg==
X-Received: by 2002:a62:6003:: with SMTP id u3-v6mr4897231pfb.114.1533768952754; Wed, 08 Aug 2018 15:55:52 -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 w81-v6sm13840501pfk.92.2018.08.08.15.55.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 15:55:51 -0700 (PDT)
Subject: Re: RFC4291bis
To: Mark Smith <markzzzsmith@gmail.com>
Cc: 6man WG <ipv6@ietf.org>
References: <f332beb5-2ee5-c12e-b2b5-d7b1742e4ca0@gmail.com> <CAO42Z2yibLcYF5AT40aR+U6k7An5_XhxozJBL=+K25pvM6H=uQ@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <739b018b-d4ea-e33e-d818-e86de9046d7a@gmail.com>
Date: Thu, 09 Aug 2018 10:55:54 +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: <CAO42Z2yibLcYF5AT40aR+U6k7An5_XhxozJBL=+K25pvM6H=uQ@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/U4-pmXBhApUhmNYU2JvGdtqa1OQ>
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 22:55:55 -0000

On 08/08/2018 20:51, Mark Smith wrote:
> On Wed., 8 Aug. 2018, 09:39 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,
> 
> 
> So this reads as though manually configured addresses will never have 64
> bit IIDs, as it is stating it is an exception to the 64 bit IID part of the
> sentence.
> 
> Actually, reference to manually configured addresses doesn't seem relevant
> at all, because presumably "stateless address autoconfiguration" is
> referring to SLAAC, and SLAAC is an automated address configuration method,
> not a manual one.

But there are potentially many automated methods, such as DHCPv6,
where the concept of a fixed IID length is unnecessary. However,
people previously objected to wording in which the standard length
was formally only applicable to SLAAC.
 
> There seems to be a bit of conflating address configuration methods and
> address properties.

Yes.

> In some cases the address properties are specified by the address
> configuration method so that an automated address configuration method has
> default address properties it can assume out of the box, and will work for
> common and ideally all cases without requiring a network operator to
> bootstrap the network i.e. SLAAC.

Yes. 

> (With a large enough IID space, the constraint on the number if nodes that
> can be attached to a link is shifted from being the available and
> affordable layer 3 addresses to the underlying link layer constraints.)
> 
> In the case of stateful DHCPv6, an assumed default prefix size/IID size is
> also useful to minimise the operator effort to configure it.

Useful, but not required.

> The operator
> however has decided to accept the expense of setting up a stateful DHCPv6
> infrastructure. The cost of overriding defaults is incremental.

Sure. But if you ask: "Could we invent a method of autonomously assigning
addresses that does not depend on a standardised IID length?" of
course we could. So maybe the correct formulation is:

 Interface Identifiers are 64 bits long for any method of
 address assignment that depends upon a standardised length.

I'll stop there, because in my mind that is a significant
change that might just allow us to stop digging this hole.

    Brian

> 
> Manual addresses are totally manual, so the operator is required to decide
> an address structure. There is no opportunity to reduce operator effort
> through reasonable defaults, and going without the benefits of reasonable
> defaults is the choice the operator has made by going with manual
> configuration.
> 
> 
> Regards,
> Mark.
> 
> 
> 
> 
> 
> 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
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
>