RFC4862 and 64-bit IID (Re: draft-bourbaki-6man-classless-ipv6-00)

JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp> Sat, 10 June 2017 15:43 UTC

Return-Path: <jinmei@wide.ad.jp>
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 477B8129432 for <ipv6@ietfa.amsl.com>; Sat, 10 Jun 2017 08:43:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.121
X-Spam-Level:
X-Spam-Status: No, score=-6.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] 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 ZClEmGRZ88s4 for <ipv6@ietfa.amsl.com>; Sat, 10 Jun 2017 08:43:00 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (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 19ADF1200E5 for <ipv6@ietf.org>; Sat, 10 Jun 2017 08:42:59 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 97A2A3493CD; Sat, 10 Jun 2017 15:42:56 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 55AEE16003D; Sat, 10 Jun 2017 15:42:56 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 3559E16004F; Sat, 10 Jun 2017 15:42:56 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RVkI78T5RnSs; Sat, 10 Jun 2017 15:42:56 +0000 (UTC)
Received: from jmb.localhost (c-69-181-118-158.hsd1.ca.comcast.net [69.181.118.158]) by zmx1.isc.org (Postfix) with ESMTPSA id E9FA016003D; Sat, 10 Jun 2017 15:42:55 +0000 (UTC)
Date: Sat, 10 Jun 2017 08:42:55 -0700
Message-ID: <m2h8znsvb4.wl%jinmei@wide.ad.jp>
From: JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp>
To: otroan@employees.org
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, 6man WG <ipv6@ietf.org>
Subject: RFC4862 and 64-bit IID (Re: draft-bourbaki-6man-classless-ipv6-00)
In-Reply-To: <04CE008D-7A07-468B-A8AB-5A00C70C68AA@employees.org>
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <20170602141259.GD30896@gir.theapt.org> <CAKD1Yr0DtQYvCYLQexhXe_nhb5rjeyhnB4bCveqyO5Xbuwdg1A@mail.gmail.com> <CAKFn1SEdjhsQ3tKPZdbdfF4ArDzw-FZfjQT68gV55Fc-5vzBvw@mail.gmail.com> <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> <426b1b86-575f-77e5-67d6-9b1fef55d074@gmail.com> <04CE008D-7A07-468B-A8AB-5A00C70C68AA@employees.org>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.5 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/RQaPWAuqetfD7-lNgVH4YBRHcXk>
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: Sat, 10 Jun 2017 15:43:02 -0000

At Sat, 10 Jun 2017 15:24:34 +0200,
otroan@employees.org wrote:

> >> do we have a rationale for fixing the value in the IPv6-over-foo documents (anymore)?
> > 
> > My rationale is that
> > 
> > a) RFC4862 describes it very carefully as a parameter.
> 
> And explicitly says it must be consistent with the value defined in 4291 and IPV6 over foo documents.

It's actually subtle how RFC4862 ended up with the current text.  It
might help if we recall the discussion at that time:
https://www.ietf.org/mail-archive/web/ipv6/current/msg01797.html

Different people may interpret it in different ways, but my
recollection is that

- we actually thought it was quite unlikely to see a change to the IID
  length, not least because the addressing architecture spec (RFC3513
  at that time) is "100% unambiguous" about it, i.e., 64 bits.
- but, the addr-arch and link-type specific documents defined the
  length (seemingly) independently.  RFC2462 referred to addr-arch in
  one place and referred to link-type specific docs in other place.
  RFC2462 also mentioned the magic number of 64.  Since the
  relationship between the addr-arch and link-type is not explicit
  this could potentially lead to inconsistency between them (we only
  relied on the IETF human review process for consistency).
- ideally we should have resolved this fragility at that point, but it
  was considered out of scope of rfc2462bis (and probably rightly so).
- as a result, in rfc2462bis we decided to remove the reference to the
  magic number to avoid further possible conflict and specify
  link-type specific docs as the primary source of the IID length,
  while noting the addr-arch defines the length so it will be less
  likely to cause inconsistency if and when either of them is updated.
  And, as long as we use link-type specific documents as the primary
  source, it's natural to expect it might be different for different
  link types (no matter how unlikely it was deemed due to the
  constraint of addr-arch).  So we also added notes to implementations
  not to assume a particular constant.

In a nutshell, RFC4862 is not an appropriate source as a supporting
material for either position on this matter, whether to keep fixing 64
or make it more variable even in practice.  RFC4862 tried to keep
itself as independent as possible from that discussion, while being
sufficiently flexible in case the current practice (i.e. fixed 64)
ever changes.

I'd also note once again that this discussion has nothing to do with
the fact that we can perform 'ifconfig en0 2001:db8::1/120'.  This
operation configures a 128-bit IPv6 address with 120-bit on-link
prefix.  On-link prefixes have always been variable, and they have
nothing to do with IID length or SLAAC.  We don't have to update
addr-arch or RFC4862 because of this.  (draft-bourbaki-6man-classless-ipv6-00
seems to be confused on this point, and I suspect it increases the
confusion and controversy in this whole thread).

--
JINMEI, Tatuya