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

神明達哉 <jinmei@wide.ad.jp> Mon, 12 June 2017 17:43 UTC

Return-Path: <jinmei.tatuya@gmail.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 EEBD812951E for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 10:43:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level:
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 JnrahevwT6p6 for <ipv6@ietfa.amsl.com>; Mon, 12 Jun 2017 10:43:14 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A043912945E for <ipv6@ietf.org>; Mon, 12 Jun 2017 10:43:14 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id v7so21793978ywc.2 for <ipv6@ietf.org>; Mon, 12 Jun 2017 10:43:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=kKA9j6dDC+D+ITdNzLmrHb9DmpQ8+um0QcYyxDnZJds=; b=J6jRdH0o0oQAlGS4g+hjCX4WWPhALHPudLPX9eunkjy0oA99Xv+daMjZOAHVa+KtZQ 4fAEAPuNKunXubPUmOLO2WzyC5vX34qY761GoNDBexIhAmXYEm2yD+NdjDG83+azhvnt gr8AMyN7kJnX0nCSQcu1HyN05/hPFFtUSGUTtelQbWpf1AKGANLXMviSxkj6ADTeN8PD hz1Ap8uRAxXYmjJyBgEYl57lAy3as/pn00pW9VbUH9jJ66CyT5e6DLQTzOH9etoinJ8g QPfsTJjQvArE3CQUa8cSJY2+sqD3PE+4tEV9LgBg9upZB3vNu/fK817JOS4FRjcpeF+1 e5fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=kKA9j6dDC+D+ITdNzLmrHb9DmpQ8+um0QcYyxDnZJds=; b=jcsO5dk/GMjkOKXbFoz9VzfbIMxXNxpbSUGkG0f+V2Aoi8jziLFSWdDWpDMkhJCXe0 PE40rnawFi92K7js/S/BmfXkLuHzMc4xyYHyJH6aodm0yBkH5sccAxRbGPfmsKVPbPJV BHbjpICuDOTz+i/2ExyHNnghZM/L2GnQtjk+3UY/wogwdoGKdUZUDsdUNi0+/FaTsZio X2O0poEC+sRl0xQpeOQ9xjn4Q6hA9gkD7hPsIkVtsfZdrlxGFtcpoeXkgvByc043yYQo rbmjviif3VFToIo9w8Pz9KK1sOSq3pKU7cffsCK1aD2uENl24mrJx9+BfWQ11D9IG7qF Yksw==
X-Gm-Message-State: AKS2vOzAcfOsMRjj3PqRpTh99bK+ndUNyo5ShEQkSN+N4UlIdXKtlpot H0rEfkAxwLKAWkK9aaEBUVVDvJoHKw+sJ8E=
X-Received: by 10.55.74.147 with SMTP id x141mr37469736qka.37.1497289393766; Mon, 12 Jun 2017 10:43:13 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.60.53 with HTTP; Mon, 12 Jun 2017 10:43:12 -0700 (PDT)
In-Reply-To: <CAN-Dau38xD0oZ-0xe3K=VYgwAU25z6ySp7BgMj8HQ2iG96AoRA@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> <4B891D4C-96E7-42F4-9A38-EBA7B3466BE0@employees.org> <CAN-Dau38xD0oZ-0xe3K=VYgwAU25z6ySp7BgMj8HQ2iG96AoRA@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Mon, 12 Jun 2017 10:43:12 -0700
X-Google-Sender-Auth: mvZ9LCttP_jrQR4j8YpUmSq7bgc
Message-ID: <CAJE_bqc+7gQdKe_q90VScAY5+e3Tt0wzxkwWaLWQhw690hmcOA@mail.gmail.com>
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
To: David Farmer <farmer@umn.edu>
Cc: Ole Troan <otroan@employees.org>, 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/sBhJIZ0P3kTlRcqrYy0BWziW0Rc>
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 17:43:17 -0000

At Sat, 10 Jun 2017 15:34:30 -0500,
David Farmer <farmer@umn.edu> wrote:

> >    A slightly sophisticated host (but still rather simple) may
> >    additionally be aware of subnet prefix(es) for the link(s) it is
> >    attached to, where different addresses may have different values for
> >    n:
> >
> >    |          n bits               |           128-n bits            |
> >    +-------------------------------+---------------------------------+
> >    |       subnet prefix           |           interface ID          |
> >    +-------------------------------+---------------------------------+
> >
>
> To be truly honest I've never found that description helpful, in fact I
> think it is part of the problem. It confuses classic IPv4 subnet
> prefix(mask) terminology with IIDs and on-link prefixes for IPv6, which are
> subtly different.  In my opinion, the IPv4 subnet prefix is not used in the
> generation of the IPv4 address per se, it is really only used to determine
> locality, in this way it is similar to an IPv6 on-link prefix, and has
> little to do with the IID length.
> However, the above quote by using subnet prefix terminology, ties the
> subnet prefix length and IID length directly together, also seeming to
> indicate that IIDs and on-link prefixes have to be congruent, but the IID
> and on-link prefix can be incongruent and therefore again using subnet
> prefix terminology really confuses the situation and I think this is the
> root of this conflict. Therefore when we say the IID is 64, the above seems
> says the subnet prefix is /64 and therefore the on-link prefix is also /64,
> but this is not suppose to be the case.

Agreed.

> I've been thinking about this for a while and I think the only way to
> resolve this conflict is to stop using "subnet prefix" in reference to IPv6
> and only use it in reference to IPv4.  I would propose substituting
> "addressing prefix" for "subnet prefix" in the above quotation from RFC4291
> and add a separate discussion of on-link prefixes and then note the classic
> IPv4 subnet prefix length is equivalent to the on-link prefix length in
> IPv6.  If this is done then the statement that the IID length MUST be 64
> says nothing about the on-link prefix length.

Also agreed.  The term "subnet prefix" in RFC4291 and rfc4291bis is so
confusing that we've been having unnecessary controversy.  Although
I'm still not 100% sure about the real goal of
draft-bourbaki-6man-classless-ipv6-00, one thing we could do for
rfc4291bis is to resolve this terminology confusion either by changing
the term and/or by adding more explanation.  IMO this can be done without
changing the addressing architecture itself (so it's within the scope
of rfc4291bis), and I believe it can be accepted by most of us,
whether they prefer "operational needs" or "conceptual purity".

Whether we should keep fixing the IID length for 7/8-ish of unicast
addresses at 64 bits or keep letting link-layer docs specify that
value is an interesting discussion.  But that can and actually should
be done separately and probably be better deferred until we complete
rfc4291bis, since there will be real controversy in that discussion.

--
JINMEI, Tatuya