Re: [v6ops] Last Call: <draft-ietf-v6ops-unique-ipv6-prefix-per-host-03.txt> (Unique IPv6 Prefix Per Host) to Best Current Practice

神明達哉 <jinmei@wide.ad.jp> Tue, 30 May 2017 18:51 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79F19129440; Tue, 30 May 2017 11:51:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level:
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 x-w0MmMXzvHX; Tue, 30 May 2017 11:51:19 -0700 (PDT)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E890B129420; Tue, 30 May 2017 11:51:18 -0700 (PDT)
Received: by mail-qk0-x236.google.com with SMTP id u75so76024345qka.3; Tue, 30 May 2017 11:51:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=l+siWs4Zxd8827PTbYgaDszkKJi+QRaL/JSUSnlwXlw=; b=rexeH9Xx3zQGdZnCKTnugG3512pXBNSKKOYrauzIAkNstIRWRzCBzCw0KKfon7pylH +lmlgbJC5x8dy/+HWMwpM0huHXXl22NJK0epKHcyoBW4CjfB7+N2L5bPXphMe8wug+2h nFzfczxWmkhGILm7o+YgXamLbBL/22gy5UN052Q9Cx+ujMBrABjXV8NhjirowugFl/Un fEvrmzMmwkIPyw64BE9sN5FCtHDfz3/TDfYy8PRyVMaWEFwmbNCLjE2y9EMpw2FsdYUe 1bUtkoyj06o0qEF9bvcm5k0GjCSP5Nqjze+n0RVTTQFJQMb0dQSlUU5Z9NqBYLveMu8D q01w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=l+siWs4Zxd8827PTbYgaDszkKJi+QRaL/JSUSnlwXlw=; b=jaC1MUh6Nb5SqkR8RJiUZ/Kp8DGUwanLtMNN7Qzsn8zUdZAYz/mmHnMbYI2zIUB/NH r0jggzE4RIyW49pevbuuto4pDWtGjhSbKzilfz/EVisJcYrlkbBUgrqXquwxZYK0kT6T tWWJn1i9/N68u5iP+1UHP+WyhK8MRHTEBagK6gxTmkbQ7MTHFxZhuRCtmoLOx+UNf82D kpJBESFu2GGMU4+KH53dm0CrP54iv+77hRCXgT0QewsLqGPyow5A8/gLF9g+0+Mh4UB4 lUftLySSrGu/NndDFmm3WAWiOqHhtoJ66fiuMHjxojEBaDIRfay7a717wLHBa9prB27D CpQw==
X-Gm-Message-State: AODbwcDoFnPS/0XPW83WDcl1P8YwypplM4c46WJPpW/SgxWNqsz/DlqB mjrlVpp2XK273o9xDyxYfvyMuvVtnQ==
X-Received: by 10.55.104.129 with SMTP id d123mr26987944qkc.126.1496170278051; Tue, 30 May 2017 11:51:18 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.200.48.141 with HTTP; Tue, 30 May 2017 11:51:17 -0700 (PDT)
In-Reply-To: <fa82ceef-7cd6-ab37-aee6-f386266b5c56@gmail.com>
References: <149556850339.28443.2716896366216678645.idtracker@ietfa.amsl.com> <fa82ceef-7cd6-ab37-aee6-f386266b5c56@gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Tue, 30 May 2017 11:51:17 -0700
X-Google-Sender-Auth: 0gfMttB0zGD93h3h_yqDAWPhgTs
Message-ID: <CAJE_bqfN2u0YN1Ufd+-BN+z0byab0o97kWQoAJPn9a0xOt-vUg@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: IETF Discussion <ietf@ietf.org>, "v6ops@ietf.org" <v6ops@ietf.org>, draft-ietf-v6ops-unique-ipv6-prefix-per-host.all@ietf.org, v6ops-chairs@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/FkcCOOO0dEO-vCq2OM44h2it4wc>
Subject: Re: [v6ops] Last Call: <draft-ietf-v6ops-unique-ipv6-prefix-per-host-03.txt> (Unique IPv6 Prefix Per Host) to Best Current Practice
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 May 2017 18:51:22 -0000

At Sat, 27 May 2017 08:24:39 +1200,
Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:

> This draft cites RFC4862 (SLAAC) and mentions Router Advertisements
> (without also citing RFC4861, which is possibly a mistake). Those
> documents do not specify the subnet prefix length. So the draft
> shouldn't assume a particular prefix length either. We all know that
> it's usually 64 today, but that doesn't affect the argument made by
> the draft. We need consistency with RFC 7608 (BCP 198).

It looks like this draft has the commonly seen confusion I tried to
clarify in my own draft: draft-jinmei-6man-prefix-clarify-00

Specifically, in Section 4 v6ops-unique-ipv6-prefix-per-host-03
states:

   This
   RA contains two important parameters for the EU/subscriber to
   consume: (1) a /64 prefix and (2) flags.
[...]
   o  A-flag = 1 (The UE/subscriber can configure itself using SLAAC)
[...]
   o  L-flag = 0 (The UE/subscriber is off-link, which means that the
      UE/subscriber will ALWAYS send packets to its default gateway,
      even if the destination is within the range of the /64 prefix)

Since A-flag=1 and L-flag=0, this /64 prefix is an "SLAAC subnet
prefix" but not an "on-link prefix" (using the terminology introduced
in draft-jinmei-6man-prefix-clarify-00).  And, in that sense, the
"which means..." part could even be misleading in that it might read
as if this (SLAAC subnet) prefix were somehow related to an on-link
prefix.

I'd also note that "The UE/subscriber is off-link" is not accurate.
When L=0 "the advertisement makes no statement about on-link or
off-link properties of the prefix" (RFC4861 Section 4.6.2).  See below
for a specific suggestion to fix it.

As for the reference to the specific number of 64, I think it's okay
with this clarification, the fact that that's the only possible SLAAC
subnet prefix length today in practice, and the intended status of
this document (BCP).

But I also tend to agree with Brian in that this document could be
more clarified to avoid confusing and/or misleading readers.  My high
level suggestion is:

- clearly state that the prefix in this document is a kind of "SLAAC
  subnet prefix" but not an "on-link prefix".  I understand "SLAAC
  subnet prefix" may not be the best choice since this document
  doesn't limit the address configuration method to SLAAC - hence "a
  kind of".  But the main point is that it's better to explicitly
  clarify the prefix is one and the only one of the two kinds of
  prefixes advertised via RA PIO.  With this clarification, and fixing
  the error I pointed out above, the description for the L-flag would
  look something like this:

   o  L-flag = 0 (the prefix is not an on-link prefix, which means
      that the UE/subscriber will NEVER assume destination addresses
      that match the prefix are on-link and will ALWAYS send packets
      to those addresses to its default gateway.)

- if it refers to a specific (SLAAC subnet) prefix length of 64,
  explain that it's the SLAAC subnet prefix length derived from the
  current addressing architecture for unicast IPv6 addresses starting
  with the binary value 000 (and those are only addresses used in
  production today).  It might also note that future specification may
  or may not introduce a different prefix length for different ranges
  of addresses, but that's out of scope of the document as a BCP.

--
JINMEI, Tatuya