Re: [dhcwg] WGLC: draft-ietf-dhc-dhcpv6-stateful-issues-00

"Bernie Volz (volz)" <volz@cisco.com> Mon, 17 September 2012 00:26 UTC

Return-Path: <volz@cisco.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AD6721F8527 for <dhcwg@ietfa.amsl.com>; Sun, 16 Sep 2012 17:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level:
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_13=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-Z8T9c-3lEB for <dhcwg@ietfa.amsl.com>; Sun, 16 Sep 2012 17:26:50 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id 3DDF221F8510 for <dhcwg@ietf.org>; Sun, 16 Sep 2012 17:26:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6387; q=dns/txt; s=iport; t=1347841610; x=1349051210; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=4YGaJ5b2VZIVD+g32zHwZ3P63F0ytWwRi1XcBulRh9M=; b=cuTDl9TyAM1JAaGwI/eAWRuIlVoOvcM882iDB4QA9TBI+tERO8CYUgDa j8tmgr/9saEdJgRCNXT8K4u/JCek3DPUDfUysWC9NmXwHUKkJDsS2TcZe GSz+Eop8x5x+z9Cfcb/ybkK9S9SddhUWhMx/PgSZUpcvgsew0T8lkLvbl g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAARuVlCtJV2b/2dsb2JhbABFvBOBB4IgAQEBAwESASc/BQcEAgEIEQQBAR8JBzIUCQgCBA4FIodYBppYnxiGJYR8hghgA5VijjiBaYJmgWM
X-IronPort-AV: E=Sophos;i="4.80,432,1344211200"; d="scan'208";a="122151366"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-8.cisco.com with ESMTP; 17 Sep 2012 00:26:49 +0000
Received: from xhc-rcd-x08.cisco.com (xhc-rcd-x08.cisco.com [173.37.183.82]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q8H0QnnG032306 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 17 Sep 2012 00:26:49 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.159]) by xhc-rcd-x08.cisco.com ([173.37.183.82]) with mapi id 14.02.0298.004; Sun, 16 Sep 2012 19:26:48 -0500
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "Hemant Singh (shemant)" <shemant@cisco.com>
Thread-Topic: WGLC: draft-ietf-dhc-dhcpv6-stateful-issues-00
Thread-Index: AQHNdqZP3dOUnDeDJkKs3MsN2OTAhpd/JdswgAB/xoD//5GrgIAAeqgAgAsV/xCAAo6qwIAAkkea
Date: Mon, 17 Sep 2012 00:26:36 +0000
Message-ID: <56DD5F8D-D04D-40F6-B5BA-A5673E2264F8@cisco.com>
References: <0AE8374B-0E04-48FF-B71D-2EE8FAAC9ED1@nominum.com> <489D13FBFA9B3E41812EA89F188F018E0F4F83D1@xmb-rcd-x04.cisco.com> <21C54D57-372F-46B0-892B-398919992546@nominum.com> <489D13FBFA9B3E41812EA89F188F018E0F4F857F@xmb-rcd-x04.cisco.com> <CD3ECABE-12FB-428C-9FFF-078793B32C0E@nominum.com> <75B6FA9F576969419E42BECB86CB1B8908A7CF@xmb-rcd-x06.cisco.com>, <75B6FA9F576969419E42BECB86CB1B8908AAC6@xmb-rcd-x06.cisco.com>
In-Reply-To: <75B6FA9F576969419E42BECB86CB1B8908AAC6@xmb-rcd-x06.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19186.002
x-tm-as-result: No--51.711200-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: dhc WG <dhcwg@ietf.org>, Ted Lemon <Ted.Lemon@nominum.com>, "Ole Troan (otroan)" <otroan@cisco.com>
Subject: Re: [dhcwg] WGLC: draft-ietf-dhc-dhcpv6-stateful-issues-00
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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 Sep 2012 00:26:51 -0000

The server I work on does not look up bindings for Confirming IAPREFIX (the server has allowed Confirm on prefixes since day one) so this text is false and is not required. The server does the same processing it does for addresses. It looks up the link and prefix configuration and if the delegated prefix sent by the client (or address sent by the client) is contained by a configured prefix the client is told success. If it can't tell (this is mostly the case for addresses that are link-local but also in cases where the clients "location" can not be determined from one of the addresses or prefixes provided by the client) it doesn't respond. Otherwise the client is told not-on-link.

Confirm never says a particular address or prefix is leased to the client. It just says whether the client has clearly moved or not (no response means the server can't determine).

So, I do not agree with this text change at all.

Regarding the second issue ... If the configuration has changed to remove prefix delegation or addresses, but not the other, and the Confirm returns Not-On-Link, client would move back to Solicit but why would Solicits continue forever? Are you thinking a client would implement some, but not all changes? I would think that is wrong - this is a package of changes the client and server need to implement. So, the other changes would prevent the continous Solicits? We have no good way to return separate status codes for prefix vs address and I don't see this as needed per what I just wrote?

Note that likely the client will get back the same address or prefix when it Solicits, just won't get the other that is no longer configured.

Perhaps Ole has a different view or there is something I am missing here?

- Bernie

On Sep 16, 2012, at 12:17 PM, "Hemant Singh (shemant)" <shemant@cisco.com> wrote:

> Bernie,
> 
> Here is what I prefer for text for section 4.4 of the document.  All other text in the current section 4.4 is redundant with RFC 3315.
> 
>   The Confirm message, as described in [RFC3315], is specific to
>   address assignment.  Note a server processing a Confirm message
>   that includes only IA_NAs does not have to look up any client
>   bindings. This document extends the Confirm to include other 
>   IA option types.  It is desirable other IA option 
>   types do not enforce the server to look up any client bindings 
>   to respond to a Confirm.  Another IA option type is the IA_PD. 
>   The server uses configured prefixes to determine if a prefix in 
>   the IA_PD option is on-link to respond to a Confirm.
> 
> Another issue I'd like to bring up for the Confirm section of this document.  I realize the document only supports the case of one server replying to both the IA_NA and the IA_PD.  However, after a client has completed DHCPv6 for both the IA_NA and the IA_PD, some configuration on the server changes.  Later the client issues a Confirm and the server configuration change causes one IA type to fail the on-link check.  If the Status code option in the Reply is global, the Reply has a failed on-link code and the client moves to Solicit processing and the Solicits may continue indefinitely.  I recommend using the Status code option per IA option type.  Then for an IA option type not on-link status, the client can now use Information-request rather than moving to a Solicit transaction.  Thus more text changes to RFC 3315 are required.
> 
> Hemant
> 
> -----Original Message-----
> From: dhcwg-bounces@ietf.org [mailto:dhcwg-bounces@ietf.org] On Behalf Of Hemant Singh (shemant)
> Sent: Friday, September 14, 2012 9:09 PM
> To: Ted Lemon; Bernie Volz (volz)
> Cc: dhc WG; Ole Troan (otroan)
> Subject: Re: [dhcwg] WGLC: draft-ietf-dhc-dhcpv6-stateful-issues-00
> 
> Ted/Bernie/Ole,
> 
> Humble apologies I was buried with other priorities and did not check my DHC WG email folder in a while. I actually replied to the xlat document in v6ops during my 10 days of PTO up till the Labor Day.  Bernie kindly reminded me this week of this document.  Most of my comments have been addressed.  Some pending are included below.
> 
> Why was the CONFIRM message deliberately specified by RFC 3633 as not supported for the IA_PD?  
> 
> It would be good to reply to this question.  Otherwise the IESG is likely to ask the same question and the answer to such a question may uncover issues for us.  
> 
> For one, it is easy for a server to respond to a CONFIRM to an IA_MA by just matching the IPv6 address configured on the machine the server is running on.  I am always reminded by some authors of RFC 3315 that the server distinctly does not consult its client bindings to respond to a CONFIRM for an IA_NA.  The server just relies on the machine IPv6 configuration to compute a status of on-link or not-on-link.  Thus why it is not a sea-change to support the CONFIRM for the IA_PD option and we may need to step gingerly?  If the server has to respond to a CONFIRM for an IA_PD, the server now consults with its bindings (I think Bernie alluded to in his reply to this thread) which the server did not do before for the IA_NA.  Searching thru bindings has delay implications and additional server computations.  Or as I had already said in my earlier reply that the server checks what prefixes are configured on the server to determine on-link status.  However checking prefixes for IA_PD 
> at a server has to exclude prefixes that are used for allocation of IA_NA.  So now the server maintains two types of prefixes.  
> 
> Thus I will try and propose some text over the weekend that IA_PD support in CONFIRM can't suffice with network configuration.  Some other data in the server needs checking and we should try and be little specific about the data.  Just saying something like "the sever checks network configuration" doesn't cut it for the IA_PD.  
> 
> Let me see what I can do over this weekend and propose some text as to how the server checks for on-link or not for the IA_PD to respond to a CONFIRM.  I will also catch up with other emails on this document and reply, if necessary.
> 
> Regards,
> 
> Hemant
>