Re: [dhcwg] WGLC for draft-ietf-dhc-dhcpv4-over-dhcpv6-03 - Respond by Dec 9, 2013

Marcin Siodelski <msiodelski@gmail.com> Wed, 27 November 2013 18:42 UTC

Return-Path: <msiodelski@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 89E181AC4AB for <dhcwg@ietfa.amsl.com>; Wed, 27 Nov 2013 10:42:32 -0800 (PST)
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 r3n6ntNaMv-9 for <dhcwg@ietfa.amsl.com>; Wed, 27 Nov 2013 10:42:31 -0800 (PST)
Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id AC7171AD72A for <dhcwg@ietf.org>; Wed, 27 Nov 2013 10:42:30 -0800 (PST)
Received: by mail-la0-f49.google.com with SMTP id er20so5326587lab.22 for <dhcwg@ietf.org>; Wed, 27 Nov 2013 10:42:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Lw02SYgm3Jq2diyIdTBAbH2L2MLVFUIZYOmqb3JgW0s=; b=Bve72wCo9qiIR5PQ0ummDhm6hmaU1zmgImTrPHVa4LueXpr0Jo7XHp+MH5k2UtEHY7 s5lSaoq8lF1Ik+fWqVzmO743EPqcc5mFpMTK2UYcxaiCM/FnH7YbcRe9tLAQAqtHqJ20 NIv7WiRc0Y1t223qx/GyT0v/LX2j4RM1YYqQrXvSgy6B6E4OVCbZe6UwzfwNW3ue2BqP 6B4t1BxugV0p69Esa1Oclb1mCUB0jLSavOYWqoidA+JdVaGNHPqFWyIptwIC/tD6WTsR 27CcsWt0+9Ty5NjNHcp2KUqyq1a6A0etRKyIlwbaL9hrOpfTgcQptoH0vsTgWc1+Du4d PW9g==
MIME-Version: 1.0
X-Received: by 10.112.77.98 with SMTP id r2mr13043872lbw.26.1385577749444; Wed, 27 Nov 2013 10:42:29 -0800 (PST)
Received: by 10.112.62.166 with HTTP; Wed, 27 Nov 2013 10:42:29 -0800 (PST)
In-Reply-To: <529633F1.8020809@viagenie.ca>
References: <CEBBC722.9D48D%ian.farrer@telekom.de> <52960D33.4040501@viagenie.ca> <CAFGoqUPA1_SKzxb6xAYqP2zypRW7tke-1BJE76FABxyd6i06=A@mail.gmail.com> <529633F1.8020809@viagenie.ca>
Date: Wed, 27 Nov 2013 19:42:29 +0100
Message-ID: <CAFGoqUMEdEAXreoPN=Nnwa7_Jn63Nif6Pm1_1r2X8S6aD_S8zg@mail.gmail.com>
From: Marcin Siodelski <msiodelski@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "<dhcwg@ietf.org>" <dhcwg@ietf.org>
Subject: Re: [dhcwg] WGLC for draft-ietf-dhc-dhcpv4-over-dhcpv6-03 - Respond by Dec 9, 2013
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: Wed, 27 Nov 2013 18:42:32 -0000

On Wed, Nov 27, 2013 at 7:03 PM, Simon Perreault
<simon.perreault@viagenie.ca> wrote:
> Le 2013-11-27 11:03, Marcin Siodelski a écrit :
>
>> In the case proposed in the draft: if I want to use the multicast, I
>> send minimal amount of information to the client (boolean option).
>
>
> What if you want to use a different multicast address than the well-known
> one?

The section "4. Architecture Overview" of the draft says:
" Typically, a 4o6 DHCP client communicates with the 4o6 DHCP servers
   using well known All_DHCP_Relay_Agents_and_Servers multicast address."

Also section "8.  4o6 DHCP Client Behavior" says:
   o  If the client receives the DHCPv4-over-DHCPv6 Enable Option but no
      4o6 Servers Address Option, it SHOULD enable the DHCPv4-over-
      DHCPv6 function, and use IPv6 All_DHCP_Relay_Agents_and_Servers
      multicast address to communicate with servers and relays.

The document assumes that there is only one multicast address that the
client uses. Why would client use any other multicast address? The
All_DHCP_Servers address is rather used by relays, not clients.

>
>
>> If
>> I want to use unicast I send two options, if client receives both
>> options it uses unicast. I am not certain if this is any more
>> complicated that parsing the option, eliminate the duplicates and the
>> problem of presence of both multicast and unicast etc.
>
>
> I think that implementation-wise they're pretty much the same complexity.
> The gain would be in one less option to define, which would make the
> document shorter and easier to understand.
>

It would make a document shorter and easier in one section but would
make it longer and more complex in the other: how should client behave
receiving both unicast and multicast address, for instance? Also, it
should then give more thought to the security section.

The implementation complexity can be pretty much the same in that, you
can reuse the code which validates the unicast address list for
multicast case, yes. But it still doesn't solve the other problem
given above. Client doesn't have to check consistency of the addresses
if it receives the simple boolean-type option:
- duplicated unicast addrs
- more than one multicast
- invalid multicast
- both multicast and unicast present

If the document is unclear or ambiguous in the part that describes the
client's behavior when it receives two options, we should work to make
it clearer.

Marcin