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

"Manfredi, Albert E" <albert.e.manfredi@boeing.com> Sun, 11 June 2017 22:14 UTC

Return-Path: <albert.e.manfredi@boeing.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 BB738127599 for <ipv6@ietfa.amsl.com>; Sun, 11 Jun 2017 15:14:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 bBPAQ7YzmMws for <ipv6@ietfa.amsl.com>; Sun, 11 Jun 2017 15:14:58 -0700 (PDT)
Received: from phx-mbsout-02.mbs.boeing.net (phx-mbsout-02.mbs.boeing.net [130.76.184.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEAC5126557 for <ipv6@ietf.org>; Sun, 11 Jun 2017 15:14:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by phx-mbsout-02.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id v5BMEvd5036664; Sun, 11 Jun 2017 15:14:57 -0700
Received: from XCH15-06-12.nw.nos.boeing.com (xch15-06-12.nw.nos.boeing.com [137.136.239.221]) by phx-mbsout-02.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id v5BMEsmG036660 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL); Sun, 11 Jun 2017 15:14:55 -0700
Received: from XCH15-06-11.nw.nos.boeing.com (2002:8988:efdc::8988:efdc) by XCH15-06-12.nw.nos.boeing.com (2002:8988:efdd::8988:efdd) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Sun, 11 Jun 2017 15:14:53 -0700
Received: from XCH15-06-11.nw.nos.boeing.com ([137.136.239.220]) by XCH15-06-11.nw.nos.boeing.com ([137.136.239.220]) with mapi id 15.00.1263.000; Sun, 11 Jun 2017 15:14:54 -0700
From: "Manfredi, Albert E" <albert.e.manfredi@boeing.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
CC: 6man WG <ipv6@ietf.org>
Subject: RE: draft-bourbaki-6man-classless-ipv6-00
Thread-Topic: draft-bourbaki-6man-classless-ipv6-00
Thread-Index: AQHS4kKOngy9O72egk+O0dQc6kfgF6IexPVggACVDgCAANnBYA==
Date: Sun, 11 Jun 2017 22:14:54 +0000
Message-ID: <df8830b80f714a369be3b9f5ba311b11@XCH15-06-11.nw.nos.boeing.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>
In-Reply-To: <1489a50a-2616-f9ac-4109-16c595e15f90@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [137.136.248.6]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/7y-GPtITbjbYPC8gT7rrP9p5bRs>
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 22:15:00 -0000

-----Original Message-----
From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com] 

>> 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.

True. Clearly.

> 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.)

Section 5.5.3 states that the prefix length of a valid prefix must be 128-N bits wide, where N is the number of bits of the IID. Then it states that it's the responsibility of the system admin to ensure that prefix lengths are consistent with the IIDs for that link type.

Now, what prevents a link type from having multiple available IID lengths, ready to go, to match varying prefix lengths that might be available? The basic rules are the same. The only difference is that we are no longer held to just one length of IID (for the link type). So it becomes also the host's responsibility, to use an IID length consistent with the length of prefix offered. 

> 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.

That's the way it works now, but it's hardly the only way it can be made to work. Similarly, IPv4 did not have to remain classful, because that's the way it had been. IP stacks were upgraded, and CIDR became the rule.

>> ULAs and link local would need to create IIDs with no
>> knowledge of the outside world. But not SLAAC.
>
> ULAs have nothing to do with it; SLAAC doesn't care whether a
> prefix is ULA or globally reachable.

I think you missed my point. When the host forms either a ULA or a LLA, the host must do so with no knowledge of anything external to itself. So sure, the IID in those two examples has to be predictable. Instead, there is no valid reason for the IID used in SLAAC to have to be formed independently that way, other than "that's how it's done now."

Once we are freed from the IPX-legacy notion of the IID being formed from the hardware address of the interface, all these preconceived restrictions, derived from that deprecated notion, can be eliminated. Variable length IIDs are ideal for a system with variable length prefixes. Why should we deprecate IPv6 to something less flexible that it can be?

Bert