Re: router behaviour with prefixes longer than /64

Ray Hunter <v6ops@globis.net> Wed, 19 March 2014 07:49 UTC

Return-Path: <v6ops@globis.net>
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 060071A023B for <ipv6@ietfa.amsl.com>; Wed, 19 Mar 2014 00:49:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.121
X-Spam-Level:
X-Spam-Status: No, score=-1.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_NEUTRAL=0.779] autolearn=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 zo_oqsPRtDDi for <ipv6@ietfa.amsl.com>; Wed, 19 Mar 2014 00:49:00 -0700 (PDT)
Received: from globis01.globis.net (RayH-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:62e::2]) by ietfa.amsl.com (Postfix) with ESMTP id 114FC1A00D8 for <ipv6@ietf.org>; Wed, 19 Mar 2014 00:49:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by globis01.globis.net (Postfix) with ESMTP id 0B091870061; Wed, 19 Mar 2014 08:48:51 +0100 (CET)
Received: from globis01.globis.net ([127.0.0.1]) by localhost (mail.globis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01mJlh+vyEu9; Wed, 19 Mar 2014 08:48:50 +0100 (CET)
Received: from Rays-iMac.local (unknown [192.168.0.3]) (Authenticated sender: Ray.Hunter@globis.net) by globis01.globis.net (Postfix) with ESMTPA id CC8DD870026; Wed, 19 Mar 2014 08:48:50 +0100 (CET)
Message-ID: <53294BE1.2050101@globis.net>
Date: Wed, 19 Mar 2014 08:48:49 +0100
From: Ray Hunter <v6ops@globis.net>
User-Agent: Postbox 3.0.9 (Macintosh/20140129)
MIME-Version: 1.0
To: Erik Nordmark <nordmark@acm.org>
Subject: Re: router behaviour with prefixes longer than /64
References: <9734C3A6-2678-4B50-98BD-21767420B9A4@gmail.com> <20140313.213538.41718510.sthaug@nethelp.no> <1BDB0240-28C8-41D7-B8EF-B7F26E9A036D@gmail.com> <021E64FECA7E5A4699562F4E66716481189E2017@XCH-PHX-503.sw.nos.boeing.com> <A4C13F60-1EA5-41D2-B6D4-51C10EAFD3A9@gmail.com> <021E64FECA7E5A4699562F4E66716481189E4240@XCH-PHX-503.sw.nos.boeing.com> <1394766011.25163.77.camel@tachyon.blake> <5322BF47.6010804@globis.net> <53232DE6.9000303@acm.org> <5325939E.6080008@globis.net> <5328D54C.1040906@acm.org>
In-Reply-To: <5328D54C.1040906@acm.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/MOqtUfUt9K95gbFawQYEFrOWfiY
Cc: "ipv6@ietf.org" <ipv6@ietf.org>, Steven Blake <slblake@petri-meat.com>
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, 19 Mar 2014 07:49:02 -0000

> Erik Nordmark <mailto:nordmark@acm.org>
> 19 March 2014 00:22
> On 3/16/14 5:05 AM, Ray Hunter wrote:
>>> Erik Nordmark <mailto:nordmark@acm.org>
>>> 14 March 2014 17:27
>>>
>>> Ray,
>>> what do you see as missing?
>>>
>>> RFC 4861 allows for PIO with L=1 for any prefix length.
>>> Thus the on-link determination is orthogonal to whether DHCPv6 or 
>>> SLAAC is used for address assignment.
>>>
>>> Thanks,
>>>    Erik
>> There are those who would like to be able to ensure proper DHCP 
>> operation without RA. e.g. 
>> http://tools.ietf.org/html/draft-droms-dhc-dhcpv6-default-router-00
> Ray,
> I can understand such a desire, but I was confused by your comment 
> about "fixed with an extension to PIO for SLAAC"; if you don't have 
> RAs you wouldn't have PIOs.
>
Well it isn't at all clear to me how to treat a prefix length in SLAAC 
PIO in all cases if all unicast prefixes except those starting with 
binary 000 really are /64.

If the address architecture [4291] takes precedence then there's no need 
at all for this prefix length information in ND PIO in the vast majority 
of cases.
On link determination isn't applicable to the special function ranges 
defined so far that start with binary 000, and routing is completely 
different as well, with the vast majority never appearing on the wire.

But on link detection [5942] contradicts assuming a /64 boundary, 
stating nodes must not assume that addresses contain structure.

What do you do if you receive an RA PIO with L=1 A=1 but prefix length /80?

I presume you cannot use SLAAC [4862] to generate a GUA from modified 
EUI64 with prefix length !=64, but SLAAC could work perfectly well 
without adaptions with other non EUI64 addresses as the source of global 
uniqueness e.g. EUI48 for /80 prefixes, and it wouldn't break AFAICS. 
But at the same time this is an architecture violation for the structure 
of GUA addresses, so should you install the /80 prefix in the prefix 
table used for on-link determination if PIO had a length of /80?

ND [4861] states very clearly in 4.6.2 that the prefix length can take 
values from the set [0 .. 128], and certainly not [0 .. 64 , 127] or [64].

On link determination [5942] which amends [4861] implies very clearly in 
Section 5 that NBMA may use some prefix length other than 64, and nodes 
must not assume any structure from assigned addresses (including a fixed 
/64 boundary).

If there are conflicting standards track RFC's, which one takes precedence?

I think it would be useful in the why-64 draft to have a simple table of 
all IPv6 standards track documents, with a tag "breaks when prefix 
length !=64", "continues working nominally with prefix length !=64", 
"not sufficiently specified as a stand alone document to determine if 
all implementations will break or fail with prefix length !=64", "not 
self consistent"

It seems to me that in most cases I've seen, the addressing architecture 
is the outlier that specifies fixed /64 prefix lengths. Plus a few 
oddball ways of generating addresses stand-alone.

I think it would be useful for implementers if that view were either 
confirmed or blown out of the water.

All IPv6 code I've every written can handle prefix length [0..128].


>>
>> But it ain't going to happen.
>>
> Agreed.
>
>    Erik
>
>
>
> ------------------------------------------------------------------------


-- 
Regards,
RayH