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

David Farmer <farmer@umn.edu> Sat, 10 June 2017 20:34 UTC

Return-Path: <farmer@umn.edu>
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 A7F1E129421 for <ipv6@ietfa.amsl.com>; Sat, 10 Jun 2017 13:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.801
X-Spam-Level:
X-Spam-Status: No, score=-3.801 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 Pm_A6IONT7VT for <ipv6@ietfa.amsl.com>; Sat, 10 Jun 2017 13:34:33 -0700 (PDT)
Received: from mta-p8.oit.umn.edu (mta-p8.oit.umn.edu [134.84.196.208]) (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 A0415126D85 for <ipv6@ietf.org>; Sat, 10 Jun 2017 13:34:33 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mta-p8.oit.umn.edu (Postfix) with ESMTP id C1A6CB45 for <ipv6@ietf.org>; Sat, 10 Jun 2017 20:34:32 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p8.oit.umn.edu ([127.0.0.1]) by localhost (mta-p8.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qj5bZPI3E9Fd for <ipv6@ietf.org>; Sat, 10 Jun 2017 15:34:32 -0500 (CDT)
Received: from mail-ua0-f197.google.com (mail-ua0-f197.google.com [209.85.217.197]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p8.oit.umn.edu (Postfix) with ESMTPS id 7AC1CA67 for <ipv6@ietf.org>; Sat, 10 Jun 2017 15:34:32 -0500 (CDT)
Received: by mail-ua0-f197.google.com with SMTP id f19so14164269uab.9 for <ipv6@ietf.org>; Sat, 10 Jun 2017 13:34:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LdwNbRSh/hwieia/hWiMby/qkC06flxHqz4xzzGQwkQ=; b=fkSgHBxgccjCvWn7Tg+dww1a7rgcK4Ielccat08C4AkrPtiNHTv5YvUAOACNvGn4Ye qS9s6TDSSaX7wCujI8324r3iOwY0uKToS8aHNh42E6d8Y89obchWdwCX//tIQUkbrfaD 7uDiYP0uj0+sMwlFr9+8yRtViJzkNYN0tIqNtlEdGarPQfmNUmu23sZ80uRzF8a3TEho 6HtMsJkQvhe7iMQdlAHlADRKNA8b9Ymi8Tps9+8GNgyX3SL5KmcWBlb5SvXGenGymlDP 9oK89Ebv5MnCo55eidOOLWyr7ntnAOMMK0bpj20+vP0RqVBMc1h0TXFy4MaYqY1AzgMJ Bdjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LdwNbRSh/hwieia/hWiMby/qkC06flxHqz4xzzGQwkQ=; b=i2reBhcU/h3jc5x74UMyIFu8KjhoA5gO5wb+mpGh6rl8l5AqAbEW8ygbYCGThWqtBC y2WjDk1rUpYd2hfbM/PVS40O+Ke8a6d3e3X5WOVirvlNOwrmDlXahiFAoFSx36XG6X9p HuNbO0lO3zOd2rVqF2pPRTFbpKzlYfICyTA1XezIlb0Dgoi/pXIXNzXBBffljEjx6yyH yfxaL6uRHoDQVjqwYbiZWJXZ0SlBayiqdo4LLN1k4zV8KWYD9KGZTKJX28AznqJhC3BU gE7GgqrpNn6924Do7UaAWyksL78VE7061zs/gnz2l/R4k8+M/dtnyMuR3WId44OSsYRl aOHw==
X-Gm-Message-State: AODbwcBbNtfJJG1u5kGuuJirWMEku7e/AF+WdLsG2W1MOwyb2onJ580s DV4qKX3bjlLv9+odZ0NSkBpmD8Zgi5N2YD3My5fNRVc+I/ml8oLLPqNqHLWa7vAynV2KptZHmwb R/Na4o+FY+D6AZS0=
X-Received: by 10.159.32.194 with SMTP id 60mr5496764uaa.142.1497126871610; Sat, 10 Jun 2017 13:34:31 -0700 (PDT)
X-Received: by 10.159.32.194 with SMTP id 60mr5496758uaa.142.1497126871340; Sat, 10 Jun 2017 13:34:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.183.11 with HTTP; Sat, 10 Jun 2017 13:34:30 -0700 (PDT)
In-Reply-To: <4B891D4C-96E7-42F4-9A38-EBA7B3466BE0@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> <CAKD1Yr1wmY3O9Uxe=KRxzCidpyhn3e0zSnikY0K6LK9ue4OzwA@mail.gmail.com> <71c7286c-0e86-5dbe-f9c2-7d473d1de728@gmail.com> <CAKD1Yr3SUOPd+5H66WPc2ikxauVWVG2ZBjFTHoFOQPCEYTBdiA@mail.gmail.com> <4B891D4C-96E7-42F4-9A38-EBA7B3466BE0@employees.org>
From: David Farmer <farmer@umn.edu>
Date: Sat, 10 Jun 2017 15:34:30 -0500
Message-ID: <CAN-Dau38xD0oZ-0xe3K=VYgwAU25z6ySp7BgMj8HQ2iG96AoRA@mail.gmail.com>
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
To: Ole Troan <otroan@employees.org>
Cc: Lorenzo Colitti <lorenzo@google.com>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0b646059b4470551a10359"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/P0H3nRPDt-IuSpNEGK6aaO4WS6s>
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 20:34:36 -0000

On Thu, Jun 8, 2017 at 7:10 AM, <otroan@employees.org> 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?
> >
> > Note: the semantics are *not* the same as the prefix length of an IPv4
> address. The prefix length of an IPv4 address implies that that subnet is
> reachable on, but the IID implies nothing about reachability.
>
> I'm not sure I understand your point.
>
> RFC4291:
>
>    IPv6 nodes may have considerable or little knowledge of the internal
>    structure of the IPv6 address, depending on the role the node plays
>    (for instance, host versus router).  At a minimum, a node may
>    consider that unicast addresses (including its own) have no internal
>    structure:
>
>    |                           128 bits                              |
>    +-----------------------------------------------------------------+
>    |                          node address                           |
>    +-----------------------------------------------------------------+
>
>    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.

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.

The IID is only used to generate an address, once the address has been
generated the IID and its length are actually irrelevant, the address
itself is 128 bits long, and only the on-link prefix and length is relevant
in determining locality.

So, I think if we stop using subnet prefix vocabulary with IPv6, we might
find consensus and resolve this conflict.

Thanks

-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815 <(612)%20626-0815>
Minneapolis, MN 55414-3029   Cell: 612-812-9952 <(612)%20812-9952>
===============================================