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

otroan@employees.org Sun, 11 June 2017 18:30 UTC

Return-Path: <otroan@employees.org>
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 A0D23129AC4 for <ipv6@ietfa.amsl.com>; Sun, 11 Jun 2017 11:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=employees.org; domainkeys=pass (1024-bit key) header.from=otroan@employees.org header.d=employees.org
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 DeOaSY_aIZxs for <ipv6@ietfa.amsl.com>; Sun, 11 Jun 2017 11:30:00 -0700 (PDT)
Received: from esa01.kjsl.com (esa01.kjsl.com [IPv6:2607:7c80:54:3::87]) by ietfa.amsl.com (Postfix) with ESMTP id BA8A31292F4 for <ipv6@ietf.org>; Sun, 11 Jun 2017 11:30:00 -0700 (PDT)
Received: from cowbell.employees.org ([198.137.202.74]) by esa01.kjsl.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2017 18:29:59 +0000
Received: from cowbell.employees.org (localhost [127.0.0.1]) by cowbell.employees.org (Postfix) with ESMTP id 1CF67D788D; Sun, 11 Jun 2017 11:29:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=employees.org; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=selector1; bh=ylITAeGi91uSGUndgB6y7IjfAh0=; b= nhqTg3zFwAwpY9TeNaHxM0TvC7f9oj+n1ls0PJbj3NnYGHY/eraSYT2jQ8qa1Zl0 eUH410y1mm1o2PYujrG0V6W1nlldxbIzcMWWTmEETcbdYGhzqrbJEh3FECkYP6CF 2jG/5OCoO5RGJgSe984Jq4Je26pFjRslMDCXYRGS9+Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=employees.org; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; q=dns; s=selector1; b=Sa2eih2t3aDY+VyWTJBKQ9M jLmhj5Y9P394tAAs1+UojIbpyzI3v5QOdhnHYHhxOr0ODcPFV7pLB0E7WL1idLHq 3hRYUyP+lsJL/isHXZQUxsXk67qwC/AiNWUcGqUuyQqPMfHhuqedd0F/L4hfUNx8 jHrKN7gtVwJ4JAQdPlOI=
Received: from h.hanazo.no (96.51-175-103.customer.lyse.net [51.175.103.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: otroan) by cowbell.employees.org (Postfix) with ESMTPSA id B47F3D788B; Sun, 11 Jun 2017 11:29:58 -0700 (PDT)
Received: from [IPv6:::1] (localhost [IPv6:::1]) by h.hanazo.no (Postfix) with ESMTP id 65C0FD19B74C; Sun, 11 Jun 2017 20:29:56 +0200 (CEST)
From: otroan@employees.org
Message-Id: <FA3032F9-F44B-45B4-9AFF-01EBC84F1448@employees.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_038BFFEC-5763-44A0-A171-9F5257D90EE3"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
Date: Sun, 11 Jun 2017 20:29:55 +0200
In-Reply-To: <1489a50a-2616-f9ac-4109-16c595e15f90@gmail.com>
Cc: "Manfredi, Albert E" <albert.e.manfredi@boeing.com>, 6man WG <ipv6@ietf.org>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <CAKD1Yr3ppM0UF8HoN8PgS7F0iEmK26ebiuJK=tkAdZnuLWpkZg@mail.gmail.com> <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>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/yTisXTXJDnxYekubPOAzV1A7M7c>
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: Sun, 11 Jun 2017 18:30:03 -0000

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.
 - 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).
 - There is no technical reason to have a fixed IID length defined by data-link type.
 - 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.)

If that's what we want. I believe we have to think quite hard about it and we need to consider the consequences quite hard.

Ole