[dhcwg] Re: two comments ondraft-cui-dhc-dhcpv6-prefix-length-hint-issue

" 李天翔 " <1515452578@qq.com> Mon, 17 August 2015 16:26 UTC

Return-Path: <1515452578@qq.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 83E1C1ACE25 for <dhcwg@ietfa.amsl.com>; Mon, 17 Aug 2015 09:26:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.53
X-Spam-Level: ****
X-Spam-Status: No, score=4.53 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, CN_BODY_35=0.339, 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, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 ir-PRvXJk5_0 for <dhcwg@ietfa.amsl.com>; Mon, 17 Aug 2015 09:26:08 -0700 (PDT)
Received: from smtpbg202.qq.com (smtpbg202.qq.com [184.105.206.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B02E1ACE28 for <dhcwg@ietf.org>; Mon, 17 Aug 2015 09:25:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1439828729; bh=XU+io5nZoVgICAf1cLESHJUnNr/44mD0g33eQfD9C/M=; h=In-Reply-To:References:From:To:Cc:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID; b=rPupyOlRiqrq00AouHRrH7g/XVx8fBCbAFZWpxC+9UWC7LxKpNGVL+rblZ9jreQJj bq+PsCqULLinEXbzZCW4t2gJgFG0MuVI3jaCH4TUMzRpcJ5S18RgzogkQv+y4ZsbZO f9mvsrxdGQh0TNtodIRSw7u5Lz46G1PqHpXYN4Qg=
X-QQ-FEAT: tERfHWu+p479T0gnKw5cPcaVUw9pk1S0BdUgbD4GfOAWJJxV7lUkNXUu56Zbv G0bosPo9ME8JJ7KFr75QQlypYpDPUME7dkD8YgQJy2+n2i3MIpphd1qEXbKRdrQdDb3xxnJ 6unmekTj/vonVI36rYkTBRiF59waRxmG9edLfZ0kDjnrg7sPLNpW44Sof6M1Hk9rpxlCypy Q3S01SwAc3zR9RIY8UM3Oq5CrPwC4WDNdsEYySHiR8gucPWNOswsvVdl8sLDUmDc=
X-QQ-SSF: 00000000000000F000000000000000F
X-HAS-ATTACH: no
X-QQ-BUSINESS-ORIGIN: 2
X-Originating-IP: 119.80.2.40
In-Reply-To: <BLUPR0501MB10432F65107608B8CE8EB620C2790@BLUPR0501MB1043.namprd05.prod.outlook.com>
References: <CAFx+hENzkutk+0i7aXZhyJsheZkejzwqyjndu3XQS2dviRn-5w@mail.gmail.com> <489D13FBFA9B3E41812EA89F188F018E1CB8BFDA@xmb-rcd-x04.cisco.com> <BLUPR0501MB10432F65107608B8CE8EB620C2790@BLUPR0501MB1043.namprd05.prod.outlook.com>
X-QQ-STYLE:
X-QQ-mid: webmail835t1439828728t4920608
From: 李天翔 <1515452578@qq.com>
To: Sunil Gandhewar <sgandhewar@juniper.net>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_55D20AF8_08F589A0_1BC95FE3"
Content-Transfer-Encoding: 8bit
Date: Tue, 18 Aug 2015 00:25:28 +0800
X-Priority: 3
Message-ID: <tencent_798CED7024E59A532AB9F813@qq.com>
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
X-QQ-ReplyHash: 3208465366
X-QQ-SENDSIZE: 520
X-QQ-Bgrelay: 1
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/_v8T9d1DY7DztLGKZp1V5yLRDAI>
Cc: dhcwg <dhcwg@ietf.org>
Subject: [dhcwg] Re: two comments ondraft-cui-dhc-dhcpv6-prefix-length-hint-issue
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: Mon, 17 Aug 2015 16:26:19 -0000

Thank you for providing the valuable comments. The following are my thoughts for each bullet.

>1. I think it should be clarified that when both the prefix and prefix-length is included in the hint, then server should give priority to what, prefix or the prefix-length. It is possible that server has different address pools and it can allocate different lengths from different address pools. In my opinion it should be prefix and not prefix-length.

This document mainly focuses on issues with the prefix-length hint. I’m not sure when a client would request for a specific prefix, or include both the prefix hint and prefix-length hint, could you specify the use case? If the client does include both the prefix hint and the prefix-length hint, then the prefix hint would probably be given a higher priority. The server should see which of its address pools contain the prefix matching the prefix hint, if no match is found, then the server should try to honor the prefix-length hint.



>2.Section 4.2 does not mention about the combination of same or different IAID. If IAID is same then server should treat it as the client is releasing the old one and asking for new one.

Currently, the document states that if the client wants a different prefix, it would send a different IAID. As Bernie mentioned before, the best way to assure a completely new delegated prefix, is to send a new IAID in the IA_PD. The client can release the old prefix or just let it gracefully expire. Could you specify when the client would send the same IAID asking for a different prefix?


>3. Server should include different combination of prefixes and prefix-lengths in Advertise (multiple choices client can have) and let client choose which matches it’s needs and request only that one. Instead of relying on Advertise from multiple servers, one server can send possible combinations. It saves a lot.


If the server has different address pools with different prefixes and prefix-lengths, then the selection process would be a bit complicated, because there will be different combinations of prefixes and prefix-lengths. So maybe we should try to avoid this complexity and focus on the prefix-length. I guess the question here is that even if the server is able to signify to the client the different prefix-lengths it could provide in the Advertise message, can the client decide which one best suites it? The document currently leaves the selection process to the server, as stated in section 4.2: The server should try to provide a prefix which length is no longer than the hint and closest to the hint. E.g. If the server could only provide prefixes with lengths /30,/48, and /56, and the client is requesting for a /50 in the prefix length hint, then the server should provide the /48 to the client.


>4. Section 4.4 – here client should use new IA_ID to indicate that it is looking for new IA_PD with different hint


I agree, the client should use a new IA_ID to ask for the new prefix, and use the old IA_ID to extend life time of the old prefix.


>5. Include reference to RFC 7550 as the new IAs are being requested during Renew and Rebind


Requesting for a new IA during Renew or Rebind is mentioned in RFC7550, a reference could be added.


Regards,
Tianxiang



------------------ 原始邮件 ------------------
发件人: "Sunil Gandhewar";<sgandhewar@juniper.net>;
发送时间: 2015年8月17日(星期一) 上午10:01
收件人: "dhcwg@ietf.org"<dhcwg@ietf.org>; 
抄送: "Sunil Gandhewar"<sgandhewar@juniper.net>; 
主题: Re: [dhcwg] two comments ondraft-cui-dhc-dhcpv6-prefix-length-hint-issue



  
I am glad that someone came up with this draft. When we implemented such a feature, we also came across number of concerns. This document provides guidelines  nicely. I have few comments.
 
 
 
1.       I think it should be clarified that when both the prefix and prefix-length is included in the hint, then server should give priority to what, prefix  or the prefix-length. It is possible that server has different address pools and it can allocate different lengths from different address pools. In my opinion it should be prefix and not prefix-length.
 
2.       Section 4.2 does not mention about the combination of same or different IAID. If IAID is same then server should treat it as the client is releasing  the old one and asking for new one.
 
3.       Server should include different combination of prefixes and prefix-lengths in Advertise (multiple choices client can have) and let client choose which  matches it’s needs and request only that one. Instead of relying on Advertise from multiple servers, one server can send possible combinations. It saves a lot.
 
4.       Section 4.4 – here client should use new IA_ID to indicate that it is looking for new IA_PD with different hint
 
5.       Include reference to RFC 7550 as the new IAs are being requested during Renew and Rebind
 
 
 
 
 
I am thinking may be it would be better to use the word Release instead of deprecate e.g.
 
the client could use the
 
two prefixes at the same time and deprecate the old prefix after some
 
time interval.
 
 
  
 
 
Regards,
 
Sunil Gandhewar
 
Juniper Networks, Inc.
 
sgandhewar@juniper.net
 
 
 
 
 
   
From: dhcwg [mailto:dhcwg-bounces@ietf.org] On Behalf Of Bernie Volz (volz)
 Sent: Monday, July 27, 2015 8:26 PM
 To: tianxiang li; alexandru.petrescu@gmail.com; Dan.Seibel@TELUS.COM
 Cc: dhcwg@ietf.org
 Subject: Re: [dhcwg] two comments on draft-cui-dhc-dhcpv6-prefix-length-hint-issue
 
 
 
 
 
Please let’s keep this document focused on the prefix length hint issue. It already is clear that this is only applicable when implementing RFC 3633.
 
 
 
   DHCPv6 Prefix Delegation [RFC3633]  allows a client to set a hint
 
   value in the prefix-length field of the IA_PD option to indicate a
 
   preference for the size of the prefix to be delegated, but is unclear
 
   about how the client and server should act in different situations
 
   involving the prefix length hint.  This document provides a summary
 
   of the existing problems with the prefix length hint and guidance on
 
   what the client and server could do in the different situation
 
   involving the the prefix length hint.
 
 
 
I’d also like to stay away from other issues (such as sending RAs). That should already be pretty clear – it would be dumb to send RAs about a prefix which  has been released or is no longer valid (valid lifetime has expired) and is not a new problem related to the hints but normal operation when prefixes change (through some configuration mechanism) and is not really related to DHCPv6 at all. If you want to work  on those issues, I would recommend you consider 6man.
 
 
 
And again, just for correctness, NoPrefixAvail is the Status Code related to PD.
 
 
 
-          Bernie
 
 
 
From: tianxiang li [mailto:peter416733@gmail.com] 
 Sent: Monday, July 27, 2015 9:11 AM
 To: Bernie Volz (volz); alexandru.petrescu@gmail.com; Dan.Seibel@TELUS.COM
 Cc: dhcwg@ietf.org
 Subject: Re: [dhcwg] two comments on draft-cui-dhc-dhcpv6-prefix-length-hint-issue
 
 
  
 
   
Thank you for providing the comments.
 
 
 
For #1 I agree with Bernie and Alexandru. There are two cases when a server cannot provide a prefix:
 
 
 
1.  Servers which support prefix delegation, will not include an IA_PD option in the Advertise   message.
 
2. Servers which support prefix delegation but cannot provide a prefix and the time being, will return a status code of Noaddrsavail in the IA_PD option.
 
 
 
The current document does assume all the servers could support prefix delegation. I think we could add some text in “Receipt of Advertise message by the Client” (section 3.3&4.3)  describing these cases.
 
 
 
For #2 Yes, the client should stop sending RAs on its other interfaces. I think we could add this text to section 4.1 “Creation of Solicit Message by the Client”
 
  
 
 
  > On Jul 23, 2015, at 6:38 AM, Alexandru Petrescu <alexandru.petrescu at gmail.com> wrote: >  > Hello, >  > I just read draft-cui-dhc-dhcpv6-prefix-length-hint-issue-00. >  > I am happy this draft exists and I have two comments.  One is more > general question in this context, and the other a potential improvement, > but not a request. >  > The draft assumes the Client is a Host which may request a prefix len at > some point, and another one maybe later.  It seems the prefix is to be > used on the interface which has issued that Solicit.  And it seems to > face a Server sure to be willing to deliver a prefix. >  > 1. What is the best way to query a DHCPv6 Server to ask it whether or > not it supports Prefix Delegation at all? >  > 2. when this Router changes mind and requests a different prefix, maybe > with a different length, a specification like > draft-cui-dhc-dhcpv6-prefix-length-hint-issue could recommend to > deprecate that prefix with specific consideration to below it, not just > to the Server. >  > I mean this something like this: >  > Current text: >> 1.Deprecate the old prefix right away by sending a Release message to >> the server, and switch over to the new prefix. >  > New text: >> 1.Deprecate the old prefix right away by sending a Release message to >> the server, and switch over to the new prefix.  And by stopping >> sending RAs on its other interfaces with the old prefix, stop >> propagating it in the routing protocol. >  > Alex >  > _______________________________________________ > dhcwg mailing list > dhcwg at ietf.org > https://www.ietf.org/mailman/listinfo/dhcwg