Re: [dhcwg] Review of the draft-cui-dhc-dhcpv6-prefix-length-hint-issue-01
tianxiang li <peter416733@gmail.com> Tue, 03 November 2015 06:49 UTC
Return-Path: <peter416733@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 3999C1B2EC7 for <dhcwg@ietfa.amsl.com>; Mon, 2 Nov 2015 22:49:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 nZzkOCf0uC6T for <dhcwg@ietfa.amsl.com>; Mon, 2 Nov 2015 22:49:09 -0800 (PST)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 3257D1B2EC1 for <dhcwg@ietf.org>; Mon, 2 Nov 2015 22:49:09 -0800 (PST)
Received: by lffz202 with SMTP id z202so6901220lff.3 for <dhcwg@ietf.org>; Mon, 02 Nov 2015 22:49:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ialneEZxkqhxXbkb/9u0mA6uFb2PvigCNQVHHOtAPR4=; b=gFUnI3AXSML+pXzONGax3jhupE9XHzQRLs1Q9JO7XpnKsfd3d53sCJMeSTbFzSVHKG M4gGu9CJSXYbrDrqk1DrySi0T2Tv9YnizNbHyVSzGzfCtbVw8grbk4IzeYyZuz3f1WI6 UtU8J2GnYGR1wouiIgzPXg8snP7M8rCiocfaPjjcAjCUbUQWSkgLw0XtwdmXxnN9xzbv 7cQOClPD/a5F1fO1h3eCJInYSpD62Zgf97hs91EFvBvvqPCwghWd5oqmSFyjRqELlfjK yxQgcQVFSp4A6r3oTIZ5DYU2nwA2dGAsBiREM56o9N8aOFks3XeTa9m0nBYsQ+2qyWdj UXjA==
X-Received: by 10.112.189.193 with SMTP id gk1mr11646068lbc.98.1446533347387; Mon, 02 Nov 2015 22:49:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.5.215 with HTTP; Mon, 2 Nov 2015 22:48:27 -0800 (PST)
In-Reply-To: <56380833.9030601@gmail.com>
References: <56380833.9030601@gmail.com>
From: tianxiang li <peter416733@gmail.com>
Date: Tue, 03 Nov 2015 14:48:27 +0800
Message-ID: <CAFx+hEMUBW4m1JMVy_jSUKmtiy8dBpHO+UQLdJJFBT8iRnJU9w@mail.gmail.com>
To: Marcin Siodelski <msiodelski@gmail.com>
Content-Type: multipart/alternative; boundary="001a11c36afe53b4cf05239d4a43"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/MZsn_niQNkgCHFZ-blCmzovChh0>
Cc: dhcwg <dhcwg@ietf.org>
Subject: Re: [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 06:49:12 -0000
Hi Marcin, Thank you for your review and comments. Please see inline. Regards, Tianxiang 2015-11-03 9:04 GMT+08:00 Marcin Siodelski <msiodelski@gmail.com>: > 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. > [TX] Yes, it would be better to put the problem statement and solution together for each message, like in RFC7550. I will change the document structure in the next version. > > 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. [TX] Agreed, will change "client" and "server" to "requesting router" and "delegating router" respectively, to keep text unified with RFC3633. > 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. > [TX] Will change this text to"The Solicit message allows requesting routers to ask delegating routers for prefixes and other configuration parameters." > > 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. > > [TX] Here I think the text could be changed to: If the requesting router includes just a prefix-length hint (zero prefix value, and non zero prefix-length value), the delegating router should try to honor the prefix-length hint. If the requesting router includes a non-zero prefix and its prefix-length value, the server should first try to provide the requested prefix. If the prefix is unavailable, then the server should try to provide a prefix matching the requested prefix-length value. > 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. [TX] I think having two state machines is something that RFC7550 tries to avoid. So here maybe the text should be: If the client also Solicited for IA_NAs, the client should accept the IA_NA addresses and continue to request for the desired IA_PD prefix during Renew/Rebind as specified in [RFC7550]. Another option would be to not discuss this issue here, since it's already mentioned in RFC7550. > 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. > [TX]Changing the IAID is a way of requesting for a new prefix, but it requires stable storage of the requesting router device, since rebooting the device would cause it to use the original IAID on the IA_PD, and then it might get back the original prefix, if the original prefix hadn't been released or expired. I think maybe both solutions could be listed in the text, and discuss which one could be used during what situation? > > Marcin > > > > >
- [dhcwg] Review of the draft-cui-dhc-dhcpv6-prefix… Marcin Siodelski
- Re: [dhcwg] Review of the draft-cui-dhc-dhcpv6-pr… tianxiang li