[dhcwg] Review of the draft-cui-dhc-dhcpv6-prefix-length-hint-issue-01

Marcin Siodelski <msiodelski@gmail.com> Tue, 03 November 2015 01:04 UTC

Return-Path: <msiodelski@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 616631ACD2F for <dhcwg@ietfa.amsl.com>; Mon, 2 Nov 2015 17:04:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 JJzLL52zdu8t for <dhcwg@ietfa.amsl.com>; Mon, 2 Nov 2015 17:04:56 -0800 (PST)
Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 9FC3E1ACD2D for <dhcwg@ietf.org>; Mon, 2 Nov 2015 17:04:56 -0800 (PST)
Received: by padec8 with SMTP id ec8so1951983pad.1 for <dhcwg@ietf.org>; Mon, 02 Nov 2015 17:04:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=VAyh2TFso1mwQMOCN/nGOdzUrRNRykwhTZ1uj6cU2r4=; b=sCEGFECrTIAOPHR6zlssG1S9u0VP4ohl+hqPtDlftXaH07k7YzLi1hZAmbbvGIgOHF Rwmpe3I5ZPOn/p97Edc10UsoolFqiNpV76iLQIT5He7WZ0l3kJIShZtypVVB3c9YBTFM Gdiz3hjoQmC4jpE5rLWxApvQFyemmCHuSKdvZHWifxoe7spKsqz/l1q9h5oo+72lm8nx BFGatQwYkmTl1niGF4s8Xx/7MwyzNoZiGPfA2I134TKxw82W2jK15FWoo3Lj4ElJZXnz Pqvn3FhnYObijWwB+RxD59HWSQ0zD2sqhGA01XFbMCkqOkorLydHVGMkkC7kUYc3lmHQ 8xGw==
X-Received: by 10.68.172.2 with SMTP id ay2mr30169632pbc.88.1446512696290; Mon, 02 Nov 2015 17:04:56 -0800 (PST)
Received: from dhcp-28-148.meeting.ietf94.jp (t20010c4000003024d4b462bed04f6a31.v6.meeting.ietf94.jp. [2001:c40:0:3024:d4b4:62be:d04f:6a31]) by smtp.googlemail.com with ESMTPSA id ve8sm26212158pbc.48.2015.11.02.17.04.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 17:04:55 -0800 (PST)
From: Marcin Siodelski <msiodelski@gmail.com>
X-Enigmail-Draft-Status: N1110
To: yong@csnet1.cs.tsinghua.edu.cn, peter416733@gmail.com, gnocuil@gmail.com
Message-ID: <56380833.9030601@gmail.com>
Date: Tue, 03 Nov 2015 10:04:51 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/uX-IDASiS9Nlc_0tNH2HeLDVMHI>
Cc: DHC WG <dhcwg@ietf.org>
Subject: [dhcwg] Review of the draft-cui-dhc-dhcpv6-prefix-length-hint-issue-01
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Nov 2015 01:04:58 -0000

Hello,

I have read the version -01 of the document. It is important to clarify
the behavior of the requesting/delegating router behavior with respect
to prefix-length hints.

A couple of comments below.

The document is structured in a way that makes it hard to match the
issues with the solutions for them. For example: section 3.1 focuses on
issues in handling prefix length hint in case of the Solicit. It doesn't
provide a solution, though. The solution is provided in section 4.1,
i.e. a couple of sections down the road. This makes me scroll back and
forth to find out "how did they deal with this problem?". I'd suggest
that the issue and the solution is provided in the same section. See how
RFC7550 is structured.

Abstract

"DHCPv6 Prefix Delegation [RFC3633] allows a client to include a
   prefix-length hint value in the IA_PD option to indicate a preference
   for the size of the prefix to be delegated..."

According to the terminology used in RFC3633, the "client" is referred
to as "requesting router". Admittedly, when we merged the RFC3633 into
the RFC3633 into RFC3315bis we unified the terminology and we also refer
to the node having a function of requesting router as a client. However,
since this document refers to the RFC3633, it would be better to use the
original terminology in the abstract and then mention that further in
this document whenever the "client" term is used it refers to the
requesting router. On the other hand, if the document will not be
incorporated into the RFC3315bis, perhaps it is simply better to stick
to requesting router/delegating router terminology.


3.1.  Creation of Solicit Message by the Client
 "The Solicit message allows a client to ask servers for addresses and
   configuration parameters."

It is a bit odd that addresses are specifically mentioned in the context
of this draft, which discusses the issues pertaining to prefix delegation.

4.1. Creation of Solicit Message by the Client

" When the client wants the same prefix back from the server, it should
   include the prefix value in the "IPv6 prefix" field of the IA_PD
   Prefix option, and the length of the prefix in the "prefix-length"
   field.  This is an indication to the server that the client wants the
   same prefix back."

At this point there is a possibility that the lease that the client
remembers and which it includes in the hint is not available anymore.
Perhaps it has been allocated to another requesting router. Therefore
the server considerations in 4.2. could be a bit more specific what to
do in such case. The section 4.2. currently says that the server should
try to provide a prefix of a specific length, regardless of the prefix
recorded from previous interactions. In fact, if the requesting router
is sending a non-zero prefix as a hint the server could try to allocate
this prefix in the first place. If it is unavailable, it should use the
prefix length hint and use that to allocate a different prefix.

4.3. Receipt of Advertise Message by the Client

This text should be revised against the RFC7550. The text currently
recommends that the client, unsatisfied with prefixes provided, should
do Solicit but use the IA_NAs with available addresses. First of all,
this section discusses Advertise message processing when the server
hasn't committed addresses for the client, so technically the client
can't use them until it does Request-Reply. Also, doing Request-Reply
(and then Renew) for IA_NAs and Solicit for IA_PDs at the same time,
requires two state machines on the client side. The RFC7550 solves those
issues already by allowing to accept some bindings and continue
requesting other bindings in the Renew/Rebind. This section should
probably refer to RFC7550 to describe the case when the client doesn't
get the prefixes it is satisfied with.

4.4. Creation of Renew/Rebind Message by the Client

The client willing to obtain another prefix would typically include a
different IA_PD (with different IAID). The IA_PD may contain no prefix
option or it may contain a prefix option with a prefix-length hint.
Again, see RFC7550. Using the same IA_PD to renew existing prefix and
request another one is probably not a good idea.

Marcin