Re: draft-bourbaki-6man-classless-ipv6-00

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 13 June 2017 01:35 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 BC49612947C for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 18:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, URIBL_BLOCKED=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 2AKwJmJf_P7r for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 18:35:21 -0700 (PDT)
Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com [IPv6:2607:f8b0:400e:c05::22f]) (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 D74AA129479 for <ipv6@ietf.org>; Mon, 12 Jun 2017 18:35:21 -0700 (PDT)
Received: by mail-pg0-x22f.google.com with SMTP id k71so52642094pgd.2 for <ipv6@ietf.org>; Mon, 12 Jun 2017 18:35:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KxYHUwZjLdBqyy9PaVQaXQv9V8j+lHsExfUb0ClYlXE=; b=gPHRImmzt7JatfnnZFPKHy0NdnrgQLFALlTQONqB4bVmLyDdsTSP1tikiyfxzwawD1 lFfJr29UvwJj0JHHgtBBcBOh8a/d2wSRFU/Q2I6Jxeai09sgQXMzH9thrtVyRj0kUjGY 7XjkxuKpbxcTuCI0SfwT1Lkh1kNJk53MmL6qfBtzhpRKaWhf224xdx2y1lPGtIIbmWld byZb9dXZ1gzkAgBTQa9lozedVTh7TZNRd8ZqXrx2IFmxnz+zffOtxCurUs3CHpUqfT4G hzaiyzaFVkX6V+gsg7fRyJQS7o9WpHA3PLX6LRARIeaaeDQpcNWhuRs2dHa3257Rgn5J QhQQ==
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:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=KxYHUwZjLdBqyy9PaVQaXQv9V8j+lHsExfUb0ClYlXE=; b=OejfKRgPkln1kKw4GYOOSh5prZ6AUxlCz3b7J88J5BFecLqJQZ350gHonS5Rda8jdy rNgQ0cgv/XO7g4g5cAW3g03ox9dkCopUwp98+QZjtTR0bN/H1Q5xmiFxlauH86Tc8+DR YEl/reX7Gt8jAFlsuQnIsKNliw4VSDNPyTa+YSByHXmUjGZft2oQRDvkSByMl5BdQo8U uNSEgISYCv+fD8l5JEHQTdWCssHFDTrImmyI4yGq/w57XYsrrLQM2/mJZbfBChF5sgIt gRXv/i87BiMw8oiYDr93AAD1ZYV+/B7sUj7C6RXT9iRWJxFGv1L2OzjUQsTSfVFhwQUU gM3g==
X-Gm-Message-State: AODbwcCOCltyqaPDSI5M1psq9fZVhu4l2NVpPS269ZnXlRDqGNghvzyM hrEe66Qkn48iyv9m
X-Received: by 10.84.217.152 with SMTP id p24mr59386492pli.206.1497317721245; Mon, 12 Jun 2017 18:35:21 -0700 (PDT)
Received: from ?IPv6:2406:e007:7b4b:1:28cc:dc4c:9703:6781? ([2406:e007:7b4b:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id h71sm11865617pfk.126.2017.06.12.18.35.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 18:35:20 -0700 (PDT)
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
To: Fernando Gont <fgont@si6networks.com>, otroan@employees.org
Cc: 6man WG <ipv6@ietf.org>
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <20170604093119.nt733rb3ymmjssww@Vurt.local> <m1dHTLx-0000DcC@stereo.hq.phicoh.net> <CAKD1Yr0ZZwRar6D-2bkXBKPYehqqW99+BMtDOjyovR8WDXKzxw@mail.gmail.com> <CAD6AjGTjikAWutcenW8qn7OW8kPM9c_x_yDUy5vQxJmXKL85dg@mail.gmail.com> <91c3c0f4-eb8b-cdf7-b9c9-7d1eecb7fe64@gmail.com> <CAKD1Yr0_WR_TB+OC0U1Qt2h6WzUp9EGvrqC1ZKW2mwFeBd3bCQ@mail.gmail.com> <4021a559-5b6d-b3fb-19cd-afbe9041e8f2@gmail.com> <34A29D4D-3670-40BC-B62E-85C4EABC55D5@employees.org> <6e03e25e-fd6a-6311-390e-4834281a76f7@si6networks.com> <1B580CBB-B29D-4860-9EC8-BECD1D5E0006@employees.org> <4b2f5200-86a1-7711-e5ff-7436572be467@gmail.com> <E02C4C99-155A-4358-A845-F00F8BB071C1@employees.org> <b3ca5271-21b1-ab33-2dff-82735ebe9128@gmail.com> <235143da452c4ff4aec39a26ba918e7e@XCH15-06-11.nw.nos.boeing.com> <1489a50a-2616-f9ac-4109-16c595e15f90@gmail.com> <FA3032F9-F44B-45B4-9AFF-01EBC84F1448@employees.org> <b1c5c13d-ef69-ef30-546c-9178a2655caf@si6networks.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <391c730c-fa75-7596-bb6b-383ea6583131@gmail.com>
Date: Tue, 13 Jun 2017 13:35:18 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <b1c5c13d-ef69-ef30-546c-9178a2655caf@si6networks.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/4XHJRWF9QkIRjoDFdWKXzFmWlXA>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 13 Jun 2017 01:35:23 -0000

On 12/06/2017 13:00, Fernando Gont wrote:
> On 06/11/2017 09:29 PM, otroan@employees.org wrote:
>> Brian,
>>
>>>>>> If we remove the 64 bit boundary from 4291, then an update of 2464
>>>>>> will likely result in the removal of any bit boundary there as well.
>>>>>
>>>>> No, for the out-of-the-box reason. I can't see any practical
>>>>> alternative to a fixed length per link type.
>>>>
>>>> I think there are practical alternatives, so I too would suggest not to state flatly that SLAAC requires fixed length IIDs. Anything that requires RAs to work can make adjustments to its IID, in real time.
>>>
>>> It cannot adjust its IID length when assigning itself a link-local address *before*
>>> receiving any RA/PIO messages. But whatever length N of IID it uses to generate its
>>> LL address must match the the prefix length 128-N in a later RA/PIO with A=1.
>>> Otherwise, SLAAC fails.
>>>
>>> (see Section 5.5.3 bullet d of RFC4862, as Jinmei-san kindly explained to me.)
>>>
>>> So in fact the only thing that works is if the equipment assumes the same IID length
>>> as the router announces (as 128-N). Therefore, N must be predefined.
>>
>> As I said the argument is tenuous.
>> This is a trivial change, if we were to go down this route. The fixed constant is a fundamental part of the IPv6 architecture. If we remove it from there, then it is a natural consequence to remove it from the IPv6 over foo documents and tweak SLAAC.
>>
>> The changes to SLAAC could be in two paragraphs:
>>  - LL generation. Fix IID length to 118 _or_ make IID length implementation specific.
>>    The on-link prefix for LL is regardless fe80::/10.
> 
> In practice, it's /64. BSDs assume fe80::/64, and use some of the
> assummed-to-be-zero words in that prefix to store e.g. interface index.
> 
> 
>>  - IID length = 128 - length of advertised prefix. Host is required to generate IID of suitable length per advertised prefix.
>>    (or just generate a 128 bit IID, and chop of the bits needed.
>>
>>
>> To summarize:
>>  - There is no technical reason why SLAAC cannot be made ot work with arbitrary prefix lengths.
>>    (including very long prefixes, although it might take a while to find a non-duplicate if the addressing model
>>    moves from sparse to dense).
> 
> +1
> 
> 
>>  - There is no technical reason to have a fixed IID length defined by data-link type.
> 
> +1
> 
> 
>>  - Removing the constant from the addressing architecture will likely set these changes into motion.
>>    (i.e. I don't think a position where one wants to remove the 64 bit constant from 4291 and expect the 64 bit boundary
>>     to stay in IPv6 over foo is tenable.)
> 
> Me, I don't think there's a reason to keep the 64 bit constant in
> ipv6-over-foo documents. Actually, with RFC8064 in place, there's no
> reason why the IID should be link-type dependent.

I believe that is simply false unless you want to go back to the era
of DIP switches with instructions to users to
a) choose an IID length for their new subnet
b) set the DIP switches on every device to select that length
c) then plug and play.

Otherwise LL addresses cannot be formed consistently on the
whole link.

OK, that is caricature, but without a substantial reworking of
RFC4862 I believe that is essentially what we would need, in
an automated version, before SLAAC can start.

Anway, all this is empty talk as long as the addressing architecture
*requires* 64 bits rather than *recommending* 64 bits.

   Brian