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

Fernando Gont <fgont@si6networks.com> Mon, 12 June 2017 08:51 UTC

Return-Path: <fgont@si6networks.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 787F412946B for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 01:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.358
X-Spam-Level:
X-Spam-Status: No, score=-0.358 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 4bENDxFvYQCl for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 01:51:48 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B83AD126B7E for <ipv6@ietf.org>; Mon, 12 Jun 2017 01:51:47 -0700 (PDT)
Received: from [192.168.0.171] (unknown [197.181.50.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 3CA8D827B8; Mon, 12 Jun 2017 10:52:39 +0200 (CEST)
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
To: otroan@employees.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: 6man WG <ipv6@ietf.org>
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <CAKFn1SHASt34ihJmGN0iRFQQzLTMspZfxXHgBjBatXXcRYF4cw@mail.gmail.com> <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>
From: Fernando Gont <fgont@si6networks.com>
Message-ID: <b1c5c13d-ef69-ef30-546c-9178a2655caf@si6networks.com>
Date: Mon, 12 Jun 2017 04:00:31 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <FA3032F9-F44B-45B4-9AFF-01EBC84F1448@employees.org>
Content-Type: text/plain; charset="windows-1252"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/BkVxTIpFIPdex6-m1xpzeQaYe38>
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: Mon, 12 Jun 2017 08:51:49 -0000

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.


-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492