Re: Proposal to further clarify prefix length issues in I-D.ietf-6man-rfc4291bis

Philip Homburg <pch-ipv6-ietf-3@u-1.phicoh.com> Thu, 09 March 2017 11:17 UTC

Return-Path: <pch-bF054DD66@u-1.phicoh.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 0876712950A for <ipv6@ietfa.amsl.com>; Thu, 9 Mar 2017 03:17:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 dDA4319zbxxv for <ipv6@ietfa.amsl.com>; Thu, 9 Mar 2017 03:17:02 -0800 (PST)
Received: from stereo.hq.phicoh.net (stereo6-tun.hq.phicoh.net [IPv6:2001:888:1044:10:2a0:c9ff:fe9f:17a9]) by ietfa.amsl.com (Postfix) with ESMTP id C0BCF129468 for <ipv6@ietf.org>; Thu, 9 Mar 2017 03:17:01 -0800 (PST)
Received: from stereo.hq.phicoh.net ([::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (Smail #127) id m1clw44-0000I4C; Thu, 9 Mar 2017 12:17:00 +0100
Message-Id: <m1clw44-0000I4C@stereo.hq.phicoh.net>
To: ipv6@ietf.org
Subject: Re: Proposal to further clarify prefix length issues in I-D.ietf-6man-rfc4291bis
From: Philip Homburg <pch-ipv6-ietf-3@u-1.phicoh.com>
Sender: pch-bF054DD66@u-1.phicoh.com
In-reply-to: Your message of "Thu, 9 Mar 2017 00:19:21 -0800 ." <0ED54B2A-AF35-4510-9F04-EA2E213634C4@google.com>
Date: Thu, 09 Mar 2017 12:16:59 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/DeJSR4QMiDNhZAyw4-5TVDV4Zmw>
Cc: james woodyatt <jhw@google.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Mar 2017 11:17:03 -0000

> 1. In the conservative alternative, interface identifiers are
> required to have a standard length according to the type of link,
> and 64 bits is the recommended length for use in future standards,
> citing RFC 7421. I believe this to be consistent with what RFC 4291
> says today, but also at variance with what many participants would
> prefer and not fully consistent with what some people also say is
> the letter and spirit of RFC 4861 and RFC 4862 (including the
> authors of those documents).
> 
> 2. In the liberal alternative, the length of interface identifiers
> is unspecified, and 64 bits is the RECOMMENDED length, citing RFC
> 7421. I believe this to be a significant technical change to the
> current requirements set by RFC 4291, with additional complications
> that need to be described and understood, but it would be more in
> keeping with the letter and spirit of RFC 4861 (but not entirely
> with RFC 4862) and I believe more preferable to the participants
> who object to the current draft (and likely my conservative
> alternative too).

It seems to me that RFC 4291 uses the term interface identifier for what
are now two separate concepts. 

The first interface identifier concept is that for any prefix of length n,
the length of the interface identifier is 128-n. Let me call this prefix-iid.

The second iid concept is in auto configuration of addresses. I'll call this
slaac-iid.

The way I see it, any slaac-iid that is based on (pseudo)-random number 
has to be at least 64 bits. I don't see any reason for more than 64 so
exactly 64 sounds about right.

In theory, a link that has hardware MAC addresses with less than 64 bits
could define a slaac-iid that is shorter, however that precludes the use of
pseudo-random slaac-iids. So that doesn't make a lot of sense. Though we
could leave room for a future IPv6-over-foo document to do just that.

Simply put, a slaac-iid should be 64 bits.

For prefix-iids the situation is completely different. A /127 on p2p links is
standard. Various long prefixes are used in practice. There really is no
reason why a node would care about the length of an onlink prefix.
So basically, a node just has to support onlink prefixes of any length.

Note that onlink prefixes are not tied to a particular link type.