Re: [dhcwg] AD review of draft-ietf-dhc-dhcpv4-over-dhcpv6

Qi Sun <sunqi.csnet.thu@gmail.com> Tue, 15 April 2014 06:55 UTC

Return-Path: <sunqi.csnet.thu@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 0F9251A0276 for <dhcwg@ietfa.amsl.com>; Mon, 14 Apr 2014 23:55:33 -0700 (PDT)
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 iC2ufBdi8M8R for <dhcwg@ietfa.amsl.com>; Mon, 14 Apr 2014 23:55:28 -0700 (PDT)
Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 0C37D1A0269 for <dhcwg@ietf.org>; Mon, 14 Apr 2014 23:55:28 -0700 (PDT)
Received: by mail-pd0-f170.google.com with SMTP id v10so9136621pde.1 for <dhcwg@ietf.org>; Mon, 14 Apr 2014 23:55:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=x6sojeHuytbuRU/FdNggMXWg1U+pK5ZWItbVa82cS6c=; b=vB7C+0sGiVKaInDnjsUR+MaVZj5EJF0DTx8sy3vefzVtFOEogdTk2Lyz8XfRB0df9l Rf23Q5ZAwX49A3/g8aAXB0iG0oeWzCgpOvUdJ58Pkk6HMJkL3Bmk8tvAj9eVV74sLAOq FoeeDvnx9k6rAbAcoFT3iECtWpMci220hpmboS09t5MAjrf8WIgISsG4/DUh8VoOuLfE ajH5eXJ5oJvngFpiN0ACAf7XL5yTP0NgVkdCtsTOdZXfjBCfgTrq1OYOMN1ie1dAsbPf FBfOvMafuf7h81KgtMGfhwT/7Q9+/H23lcDfCBZyZKGFib/l7e4G7dBZiTOH4UMxswFO 6esw==
X-Received: by 10.68.191.138 with SMTP id gy10mr192929pbc.169.1397544925378; Mon, 14 Apr 2014 23:55:25 -0700 (PDT)
Received: from ?IPv6:2402:f000:1:4410:181c:54a2:b3ae:7369? ([2402:f000:1:4410:181c:54a2:b3ae:7369]) by mx.google.com with ESMTPSA id yq4sm47563443pab.34.2014.04.14.23.55.22 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 23:55:24 -0700 (PDT)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Qi Sun <sunqi.csnet.thu@gmail.com>
In-Reply-To: <C718C42B-CFF6-4731-9B6D-17694A95D92D@fugue.com>
Date: Tue, 15 Apr 2014 14:54:14 +0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <EBB9080B-71FB-401C-9490-C873429C3E82@gmail.com>
References: <B36DAF7C-EDA6-427E-B918-FB8F4D3ED6F5@fugue.com> <06B8F2CA-A5D5-4F00-8A00-E0D8C99CF976@gmail.com> <C718C42B-CFF6-4731-9B6D-17694A95D92D@fugue.com>
To: Ted Lemon <mellon@fugue.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/dhcwg/HkaDaB0cRHinYF_rJZwsREt-HqM
Cc: DHC WG <dhcwg@ietf.org>, draft-ietf-dhc-dhcpv4-over-dhcpv6@tools.ietf.org
Subject: Re: [dhcwg] AD review of draft-ietf-dhc-dhcpv4-over-dhcpv6
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: <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: Tue, 15 Apr 2014 06:55:33 -0000

Dear Ted,

Many thanks for the suggestion. 

How about this one, with text/reference about RFC5010 removed:
OLD:
7.  Use of the DHCPv4-query Unicast Flag

   A DHCPv4 client conforming to [RFC2131] may send its DHCPREQUEST
   message to either a broadcast or unicast address depending on its
   state.  For example, a client in the RENEWING state uses a unicast
   address to contact the DHCPv4 server to renew its lease.  A client in
   the REBINDING state uses a broadcast address.  If there is a DHCPv4
   relay agent in the middle, a client in the RENEWING state may send a
   DHCPREQUEST message to the unicast address of the relay agent.  In
   such a case, the server is unable to determine whether the client
   sent the message to a unicast or broadcast address and thus the
   server may be unable to correctly determine the client's state.
   [RFC5010] introduced the "Flags Suboption" that relay agents add to
   relayed messages to indicate whether broadcast or unicast was used by
   the client.

   In DHCPv4 over DHCPv6, IPv6 is used to deliver DHCPv4 messages to the
   DHCP 4o6 server.  There is no relation between the outer IPv6 address
   and the inner DHCPv4 message.  As a result, the server is unable to
   determine whether the received DHCPv4 messages should have been sent
   using broadcast or unicast in IPv4 by checking the IPv6 address.
   This is similar to the case addressed by [RFC5010].

   In order to allow the server to determine the client's state, the
   "Unicast" flag is carried in the DHCPv4-query message.  …

NEW:
7.  Use of the DHCPv4-query Unicast Flag

   A DHCPv4 client conforming to [RFC2131] may send its DHCPREQUEST
   message to either a broadcast or unicast address depending on its
   state.  For example, a client in the RENEWING state uses a unicast
   address to contact the DHCPv4 server to renew its lease.  A client in
   the REBINDING state uses a broadcast address.  

   In DHCPv4 over DHCPv6, IPv6 is used to deliver DHCPv4 messages to the
   DHCP 4o6 server.  There is no relation between the outer IPv6 address
   and the inner DHCPv4 message.  As a result, the server is unable to
   determine whether the received DHCPv4 messages should have been sent
   using broadcast or unicast in IPv4 by checking the IPv6 address.

   In order to allow the server to determine the client's state, the
   "Unicast" flag is carried in the DHCPv4-query message.  ...

Would this be clear enough? 

Best Regards,
Qi

On Apr 14, 2014, at 11:55 PM, Ted Lemon <mellon@fugue.com> wrote:

> The only reason a client would ever unicast to a relay would be if the Server Override Suboption (RFC5107) were in use.   This can't be used in the case of DHCPv4-over-DHCPv6 because there isn't necessarily an IPv4 address for the relay agent, nor an IPv4 transport the client could use to reach it.   I think mentioning this is unnecessary and confusing.   I can't think of any situation where there would be confusion as to whether the server override option could be used with DHCPv4-over-DHCPv6.   You could forbid using the option if you think this needs to be addressed.
> 
> So I think the right thing to do is remove text, not change text.   Your new text is more confusing than the old text, but if the only reason you thought to mention this was to address the RFC5107/RFC5010 use case, I think you can skip it.
>