[rfc2462bis issue 281] "64-bit assumption" and prefix length

JINMEI Tatuya / 神明達哉 <jinmei@isl.rdc.toshiba.co.jp> Fri, 21 May 2004 07:38 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA12648 for <ipv6-archive@odin.ietf.org>; Fri, 21 May 2004 03:38:56 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BR4Za-0002sI-VZ for ipv6-archive@odin.ietf.org; Fri, 21 May 2004 03:36:07 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i4L7a6hb011044 for ipv6-archive@odin.ietf.org; Fri, 21 May 2004 03:36:06 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BR4SK-0001Vy-U6 for ipv6-web-archive@optimus.ietf.org; Fri, 21 May 2004 03:28:36 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA12255 for <ipv6-web-archive@ietf.org>; Fri, 21 May 2004 03:28:34 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BR4SI-00055j-Oe for ipv6-web-archive@ietf.org; Fri, 21 May 2004 03:28:34 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BR4Q8-0004w2-00 for ipv6-web-archive@ietf.org; Fri, 21 May 2004 03:26:21 -0400
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1BR4PD-0004oo-00 for ipv6-web-archive@ietf.org; Fri, 21 May 2004 03:25:23 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BR4I6-0007F0-UN; Fri, 21 May 2004 03:18:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BR48f-0004Yp-3w for ipv6@optimus.ietf.org; Fri, 21 May 2004 03:08:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA11048 for <ipv6@ietf.org>; Fri, 21 May 2004 03:08:13 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BR48a-0002Gn-Uq for ipv6@ietf.org; Fri, 21 May 2004 03:08:13 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BR47g-0002Az-00 for ipv6@ietf.org; Fri, 21 May 2004 03:07:17 -0400
Received: from shuttle.wide.toshiba.co.jp ([202.249.10.124]) by ietf-mx with esmtp (Exim 4.12) id 1BR478-00024z-00 for ipv6@ietf.org; Fri, 21 May 2004 03:06:43 -0400
Received: from ocean.jinmei.org (unknown [3ffe:501:100f:1010:9d2d:1b97:76ed:d268]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id 934C615263 for <ipv6@ietf.org>; Fri, 21 May 2004 16:06:42 +0900 (JST)
Date: Fri, 21 May 2004 16:06:42 +0900
Message-ID: <y7vvfiq9s3h.wl@ocean.jinmei.org>
From: JINMEI Tatuya / 神明達哉 <jinmei@isl.rdc.toshiba.co.jp>
To: ipv6@ietf.org
Subject: [rfc2462bis issue 281] "64-bit assumption" and prefix length
User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI)
Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan.
MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen")
Content-Type: text/plain; charset="US-ASCII"
Sender: ipv6-admin@ietf.org
Errors-To: ipv6-admin@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Id: IP Version 6 Working Group (ipv6) <ipv6.ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60

One more question about the prefix (and IFID) length.

Since the IFID length is defined in the link specific document (which
must be consistent with addr-arch, based on discussions so far) and
the prefix length is 128 - IFID_length by definition, the appropriate
prefix length must implicitly given by the link specific document.

The implementors may wonder why the RA bothers to specify the prefix
length in its prefix information option.

Recall that we have had a similar discussion in the context of 2461bis:
https://www1.ietf.org/mail-archive/working-groups/ipv6/current/msg01600.html

My conclusion to this point including the one in the 2461bis context
is as follows:

  The prefix length in the prefix information option has non trivial
  meaning for specifying an on-link prefix with the L flag.  For this
  purpose, the length can be shorter (or perhaps even longer) than
  "128 - IFID_length".  For example, if the following four prefixes
  should be regarded as "on-link":
    2001:db8:0:00::/64,
    2001:db8:0:01::/64,
    2001:db8:0:10::/64,
    2001:db8:0:11::/64
  then the administrator may want to advertise the set of the prefixes
  as "on-link" by sending a single aggregated prefix
  "2001:db8::/62" with the L flag being set, instead of sending the
  four prefixes separately.

So, my answer to Hesham's question (see the message available at the
above URL), what we should do is:

  just accept any lengths of prefixes in terms of the "on-link"
  processing.   We may or may not want to add an explicit note that
  the "prefix length + IFID_length" may not be equal to 128 but it's
  okay for the on-link determination.

For rfc2462bis, I'd add a note to bullet d) of Section 5.5.3:

       If the sum of the prefix length and interface identifier length
       does not equal 128 bits, the Prefix Information option MUST be
       ignored.

like this:

	Note that the appropriate prefix length should be determined
	by the interface identifier length and in that sense the
	advertised prefix length is meaningless information.  However,
	the advertised prefix length has non trivial meaning for
	on-link determination in Neighbor Discovery where the sume of
	the prefix length and the interface identifier length may not
	be equal to 128.  Thus, it should be safe to validate the
	advertised prefix length here, in order to detect and avoid
	a configuration error specifying an invalid prefix length in
	the context of address autoconfiguration.

Comments?

					JINMEI, Tatuya
					Communication Platform Lab.
					Corporate R&D Center, Toshiba Corp.
					jinmei@isl.rdc.toshiba.co.jp

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------