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

JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp> Thu, 08 June 2017 15:59 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 DED241293FD for <ipv6@ietfa.amsl.com>; Thu, 8 Jun 2017 08:59:25 -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 kVrx8zRBessO for <ipv6@ietfa.amsl.com>; Thu, 8 Jun 2017 08:59:23 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (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 90272128BA2 for <ipv6@ietf.org>; Thu, 8 Jun 2017 08:59:23 -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 3E08B349315; Thu, 8 Jun 2017 15:59:19 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 22BAB160041; Thu, 8 Jun 2017 15:59:19 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 0D06716006A; Thu, 8 Jun 2017 15:59:19 +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 JSN5PW8Byz6J; Thu, 8 Jun 2017 15:59:18 +0000 (UTC)
Received: from jmb.localhost (c-50-156-82-172.hsd1.ca.comcast.net [50.156.82.172]) by zmx1.isc.org (Postfix) with ESMTPSA id AF6D0160041; Thu, 8 Jun 2017 15:59:18 +0000 (UTC)
Date: Thu, 08 Jun 2017 08:59:18 -0700
Message-ID: <m2ink6sc6h.wl%jinmei@wide.ad.jp>
From: JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp>
To: Lorenzo Colitti <lorenzo@google.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, IETF IPv6 Mailing List <ipv6@ietf.org>
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
In-Reply-To: <CAKD1Yr3SUOPd+5H66WPc2ikxauVWVG2ZBjFTHoFOQPCEYTBdiA@mail.gmail.com>
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> <CAKD1Yr1wmY3O9Uxe=KRxzCidpyhn3e0zSnikY0K6LK9ue4OzwA@mail.gmail.com> <71c7286c-0e86-5dbe-f9c2-7d473d1de728@gmail.com> <CAKD1Yr3SUOPd+5H66WPc2ikxauVWVG2ZBjFTHoFOQPCEYTBdiA@mail.gmail.com>
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/cCnRoHEqn6HN_kZrcC7N0Majfe0>
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: Thu, 08 Jun 2017 15:59:26 -0000

At Thu, 8 Jun 2017 20:56:15 +0900,
Lorenzo Colitti <lorenzo@google.com> wrote:

> > "Interface Identifiers should be 64 bit long except
> > when the addresses are manually configured,
> 
> In order to publish that text we need to agree on what it means. Can you
> explain the semantics of the the interface identifier of a manually
> configured IPv6 address? What are they used for?

Right, this text is actually a bit awkward in that sense.  I think
this message is a good answer to this question:
https://www.ietf.org/mail-archive/web/ipv6/current/msg27573.html

"only relevant to SLAAC" may be too strong from an architectural point
of view, but at least that's today's reality.  So "except when the
addresses are manually configured" actually doesn't make much sense.
I was aware of that oddity too, but I didn't go into this point so we
could focus on whether we can at least agree on a more higher level
point, i.e., if we can agree that manual configuration is
(effectively) an exception of the IID length woe while 64 is
acceptable for SLAAC (unless other standard protocol overturns it).
Now that we are on this detail, this is what I would envision as
something that this draft might actually have wanted to say and that
most of us can hopefully agree on:

    Interface Identifiers must be 64 bit except for addresses that
    start with the binary value 000 and unless a different value is
    defined in standards track documents.  The rationale for using 64
    bit Interface Identifiers can be found in [RFC7421].  Note that
    the separation between the interface identifier and the subnet
    prefix is not important unless the address is configured using
    stateless address autoconfiguration [RFC4862].  So, for example,
    this constraint on the length of interface identifiers is
    irrelevant to manually configured addresses in practice.

    IPv6 unicast routing is based on prefixes of any valid length up
    to 128 [BCP198], and so is on-link determination ([RFC5942],
    [I-D.jinmei-6man-prefix-clarify]).  In particular, the fact that
    the "subnet prefix" length of certain addresses is 64 in terms of
    the addressing architecture is independent from whether addresses
    that match this prefix are considered to be on-link.  For example,
    [RFC6164] standardises 127 bit prefixes for on-link determination
    on inter-router point-to-point links.  This is not contradictory
    to that an address used in this link may have a 64-bit interface
    identifier (and a 64-bit subnet prefix as a result).

Notes:
- I've replaced "should" with "must" in the first sentence as
  discussed before, as I thought this is critical for some group and
  is still acceptable for other group with the additional conditions
  ("except" and "unless").
- Brian might want to be more explicit about the relationship between
  this and ipv6-over-foo specs, but I didn't do that for now.  If we
  can agree on the sense of the text it will be a relatively
  straightforward update.
- we may also want to emphasize that an implementation must not
  blindly hardcode 64 either as the length of interface identifiers or
  as on-link prefix length.  again, as long as we can agree on the
  general sense it will be a trivial update.

--
JINMEI, Tatuya