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

Sunil Gandhewar <sgandhewar@juniper.net> Mon, 17 August 2015 02:01 UTC

Return-Path: <sgandhewar@juniper.net>
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 20AA21ACD46 for <dhcwg@ietfa.amsl.com>; Sun, 16 Aug 2015 19:01:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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 geKSnynD-wAU for <dhcwg@ietfa.amsl.com>; Sun, 16 Aug 2015 19:01:05 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0123.outbound.protection.outlook.com [207.46.100.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 792DD1ACD1C for <dhcwg@ietf.org>; Sun, 16 Aug 2015 19:01:05 -0700 (PDT)
Received: from BLUPR0501MB1043.namprd05.prod.outlook.com (10.160.35.142) by BLUPR0501MB1044.namprd05.prod.outlook.com (10.160.35.143) with Microsoft SMTP Server (TLS) id 15.1.231.21; Mon, 17 Aug 2015 02:01:03 +0000
Received: from BLUPR0501MB1043.namprd05.prod.outlook.com ([10.160.35.142]) by BLUPR0501MB1043.namprd05.prod.outlook.com ([10.160.35.142]) with mapi id 15.01.0231.024; Mon, 17 Aug 2015 02:01:03 +0000
From: Sunil Gandhewar <sgandhewar@juniper.net>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: [dhcwg] two comments on draft-cui-dhc-dhcpv6-prefix-length-hint-issue
Thread-Index: AQHQyG3DPGhBWNCtokGsjOHaEEI09J3vZ8QAgBOvyeA=
Date: Mon, 17 Aug 2015 02:01:03 +0000
Message-ID: <BLUPR0501MB10432F65107608B8CE8EB620C2790@BLUPR0501MB1043.namprd05.prod.outlook.com>
References: <CAFx+hENzkutk+0i7aXZhyJsheZkejzwqyjndu3XQS2dviRn-5w@mail.gmail.com> <489D13FBFA9B3E41812EA89F188F018E1CB8BFDA@xmb-rcd-x04.cisco.com>
In-Reply-To: <489D13FBFA9B3E41812EA89F188F018E1CB8BFDA@xmb-rcd-x04.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=sgandhewar@juniper.net;
x-originating-ip: [116.197.184.11]
x-microsoft-exchange-diagnostics: 1; BLUPR0501MB1044; 5:GQckC1TqEO2umYzBPSJ5+cHJnGeZOF0ecSdx56VkZ/CoMDh/1j0EnymG/07sAhzXtEXASjbgdppVnMKrizk9MvaKapYhCgg/YoIEKKkr+0ROiIKLa48KwyOdgmdJVamTSBD6XnDrBwNjyRj4ouLkFg==; 24:aZ6kXJdCaxSWkKZOX0rN0xAowKq/7JEMOhDG+eRi0GMvlDd81SeZ936p59PhcH0ylhNRZvXOrxTuR7JA1Lr3QvWuPLeAx+ewXxmpvVFXsmk=; 20:GC4kxE3N0/AllJ7jOXSfyQiddo5WLYB/+Opv+JabjmbX2RxFzpas3MR30LcaijLrHAl4f5SRN5oSOncKXFiOmg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB1044;
x-microsoft-antispam-prvs: <BLUPR0501MB1044D63BEA74ECC42DFD5509C2790@BLUPR0501MB1044.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(108003899814671);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:BLUPR0501MB1044; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB1044;
x-forefront-prvs: 0671F32598
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(189002)(377454003)(199003)(24454002)(19580405001)(450100001)(50986999)(19617315012)(76176999)(86362001)(19300405004)(87936001)(19580395003)(74316001)(110136002)(46102003)(99286002)(54356999)(105586002)(106116001)(106356001)(5001960100002)(107886002)(81156007)(5001830100001)(5001860100001)(97736004)(4001540100001)(2656002)(10400500002)(62966003)(122556002)(77156002)(5003600100002)(16236675004)(189998001)(68736005)(19609705001)(40100003)(92566002)(15975445007)(66066001)(19625215002)(64706001)(2900100001)(5002640100001)(16601075003)(77096005)(18717965001)(102836002)(2501003)(76576001)(2351001)(2950100001)(101416001)(33656002)(230783001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB1044; H:BLUPR0501MB1043.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
Content-Type: multipart/alternative; boundary="_000_BLUPR0501MB10432F65107608B8CE8EB620C2790BLUPR0501MB1043_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2015 02:01:03.2303 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB1044
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/cjHJhMHQX0pvldUrAYICh3njL-Q>
Cc: Sunil Gandhewar <sgandhewar@juniper.net>
Subject: Re: [dhcwg] two comments on draft-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 02:01:09 -0000

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<https://tools.ietf.org/html/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<mailto:alexandru.petrescu@gmail.com>; Dan.Seibel@TELUS.COM<mailto:Dan.Seibel@TELUS.COM>
Cc: dhcwg@ietf.org<mailto: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<http://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<http://ietf.org>

> https://www.ietf.org/mailman/listinfo/dhcwg