Re: [Fwd: I-D Action: draft-carpenter-6man-why64-00.txt]

Alexandru Petrescu <alexandru.petrescu@gmail.com> Wed, 08 January 2014 12:17 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B263F1AE36D for <ipv6@ietfa.amsl.com>; Wed, 8 Jan 2014 04:17:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.983
X-Spam-Level:
X-Spam-Status: No, score=-4.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
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 cBTwvd4MDXPm for <ipv6@ietfa.amsl.com>; Wed, 8 Jan 2014 04:17:10 -0800 (PST)
Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) by ietfa.amsl.com (Postfix) with ESMTP id 698DB1AE36C for <ipv6@ietf.org>; Wed, 8 Jan 2014 04:17:10 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id s08CH0Mp020400 for <ipv6@ietf.org>; Wed, 8 Jan 2014 13:17:00 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CE69820324C for <ipv6@ietf.org>; Wed, 8 Jan 2014 13:17:59 +0100 (CET)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id C7237200BED for <ipv6@ietf.org>; Wed, 8 Jan 2014 13:17:59 +0100 (CET)
Received: from [127.0.0.1] (is010446-4.intra.cea.fr [10.8.33.116]) by muguet2.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id s08CGsqs012388 for <ipv6@ietf.org>; Wed, 8 Jan 2014 13:17:00 +0100
Message-ID: <52CD41B6.5020300@gmail.com>
Date: Wed, 08 Jan 2014 13:16:54 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: ipv6@ietf.org
Subject: Re: [Fwd: I-D Action: draft-carpenter-6man-why64-00.txt]
References: <52C9D788.8060606@gmail.com> <52CBE0E6.5020107@globis.net>
In-Reply-To: <52CBE0E6.5020107@globis.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Wed, 08 Jan 2014 12:17:12 -0000

Le 07/01/2014 12:11, Ray Hunter a écrit :
[...]
> Where exactly is the requirement that IPv6 has to use /64 prefix
> length really enshrined?

Simply put, I agree with Brian that there is no one single specification
place where this could be found enshrined.

But a huge devil lies in details I dare uncover just a bit here.

First, key places like the Addressing Architecture and SLAAC RFCs
generally read as avoiding setting rigid limits on the prefix length or
the Interface ID.  For example the subnet prefix is said to be of length
'n', and the Interface ID of length '128-n'.

But even there in RFC4291 there is a quirk saying:
> For all unicast addresses, except those that start with the binary
> value 000, Interface IDs are required to be 64 bits long and to be
> constructed in Modified EUI-64 format.

(not sure what that 000 means).

Then, an IP address being of fixed length, the prefix length could be
inferred by looking at the length of the Interface ID, or other
identifiers which look like it (e.g. an anycast IID).  If that length is
rigid, one may legitimately suppose strict limits on the prefix length
as well.

The IP-over-Ethernet RFC is precise in its limit of 64bit for the
Interface ID.  The success of its deployment made it so that others copy
on it, together with that rigid limit.  Today, not only Ethernet
Interface IDs are precisely 64bit, but also WiFi, and, more surprisingly
even 802.15.4 (surprisingly because even its short address on 16bit
leads to an Interface ID on 64bits - 3rd par, sec 6 RFC 4944).  Worse,
other links which are not even documented as IP-over-foo RFCs do
implement that 64bit limit although nobody requires them to.

As for implementation enshrinment places there are many.  One easy to
spot is dmesg on modern linux upon reception of an RA containing a
prefix whose length is 65, or 63 if one so wishes.  Decimal.

Alex