Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-client-link-layer-addr-opt-00.txt

"A. Gregory Rabil" <greg.rabil@jagornet.com> Wed, 11 July 2012 18:49 UTC

Return-Path: <greg.rabil@jagornet.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 86ACF21F85A8 for <dhcwg@ietfa.amsl.com>; Wed, 11 Jul 2012 11:49:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4aYhEijeLjMz for <dhcwg@ietfa.amsl.com>; Wed, 11 Jul 2012 11:49:31 -0700 (PDT)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 1F85621F8554 for <dhcwg@ietf.org>; Wed, 11 Jul 2012 11:49:30 -0700 (PDT)
Received: by bkty7 with SMTP id y7so1281551bkt.31 for <dhcwg@ietf.org>; Wed, 11 Jul 2012 11:50:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=iDb1x2T9c4rSl9JlPsyWlO42rbTT1BR3/2auJvJAiBw=; b=Am4gsvU5owTl++rCfy1MBJ4p5VvomvVqG8Zzlmes/PGzcWDEoWKV6dmlvwSPJ/dI5z 89sckE5N1vmAFCjeY4iAwEVUmeH+FMu3HsEUu8xgvrioo8vf3zuTEY58ysfbZs2ogYVm FtDvaSd0EN1vSY+cW8KFQwdWm3wpZLsTj6s7g5J6I97NHpSSazLH1chgqFyEVoBFQxGd rH6i2tX9xeZHCePa/en11+vZnI99rg5l5lTAV5Pv0Ds6mgdt9qf7fDP2niDdHjUTvVC5 NTFBCW86Wd7MAG+dykubh57YeEBPH5HyleSza8VwFJGbQ8RVSXFMFGYLcVoJpzCH/UGT 9f5g==
MIME-Version: 1.0
Received: by 10.204.152.199 with SMTP id h7mr25282113bkw.39.1342032601397; Wed, 11 Jul 2012 11:50:01 -0700 (PDT)
Received: by 10.204.156.133 with HTTP; Wed, 11 Jul 2012 11:50:01 -0700 (PDT)
In-Reply-To: <545EC59B-EEB6-44A1-9663-AC0BF6F0A412@nominum.com>
References: <CC2114CA.ED37%shwethab@cisco.com> <4B2C9E20-D925-4D9A-B9B8-AAE396379AB7@nominum.com> <CAAed6vvrfAwmCUKTLfOw0WaFtmpa_4d=Gct0P6a0UedaXXPUKw@mail.gmail.com> <2411883C-9E45-454E-A3B7-3D366D47FC81@nominum.com> <CAAed6vv26APkqEbHwDqC7P7PTJ+2dnfP5dxofXSS2-Exm6p+gA@mail.gmail.com> <12EEF4CE-B85C-4542-AFF5-085CDE2ACFE5@nominum.com> <CAAed6vsuiy2Dep5ZwWyyr58JCRDFYYWOGqjpyrHfUxOGop5Zqg@mail.gmail.com> <545EC59B-EEB6-44A1-9663-AC0BF6F0A412@nominum.com>
Date: Wed, 11 Jul 2012 14:50:01 -0400
Message-ID: <CAAed6vuEV5xc4aCqNs+wBf5dUxjmm-sgYVvgnA_mr=Hp6XRGaw@mail.gmail.com>
From: "A. Gregory Rabil" <greg.rabil@jagornet.com>
To: Ted Lemon <Ted.Lemon@nominum.com>
Content-Type: multipart/alternative; boundary="0015175cd9e87bb86904c4925038"
X-Gm-Message-State: ALoCoQliBRslLJwu5Zmu1WOkTwOPVu4y092QK0dhSmFbQrfmH+Gh+PLJWjHktXizWyBat6n0VQKc
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, Andre Kostur <akostur@incognito.com>
Subject: Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-client-link-layer-addr-opt-00.txt
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: Wed, 11 Jul 2012 18:49:32 -0000

What does not satisfy about that first sentence is that it limits the
usefulness of this option because of the part that says "the interface on
which the packet was originally sent".  My argument is that although this
may be useful, it it not a complete solution because I would like it to
identify the interface which is being configured.

This text is from the section 2 of the draft:

   In dual stack scenarios it is desirable for the operator
   to associate DHCPv4 and DHCPv6 messages as belonging to the same
   client interface based on an identifier that is already used by that
   operator such as the client hardware address.


This refers to the client interface, not just the client.  This statement
is reiterated by the author earlier in this email thread:

> Since one of the uses of learning link layer address was to correlate
DHCPv4 and DHCPv6 messages from the same client interface ( as described
in Section 2 Problem Background and Scenario of the draft), the link layer
address should match 'chaddr' field of DHCPv4 messages sent for
configuring the same interface.

I believe I have explained how this may not always be the case if the relay
is responsible for inserting the option, whereas it can be ensured if the
client does it.

As an example, consider a client which is dual-stacked on two interfaces.
 In DHCPv4, each request MUST be sent with a chaddr of the interface being
configured, which is, by definition, the interface on which the request is
sent.  In this situation, an administrator could provide different options,
etc. for each interface based upon what the back-office database says.  In
DHCPv6, the text in RFC 3315 section 16 suggests that it is possible for
the client to send a request out an interface other than the one being
configured.  In this scenario, it may not be possible to correlate this as
being "messages from the same client interface" as the DHCPv4 client.
 Earlier you referenced and "inventory tracking system has a list of all
the interfaces on a machine".  What if that inventory tracking system is
trying to "discover" the interfaces by reading the DHCP server's lease
database?  DHCPv4 cannot correlate the two interfaces to being on the same
client, so even if it is the same server serving all four requests (v4 and
v6 address for each interface), it is possible that both v6 requests look
to be coming from one interface.  So, an inventory system would learn that
one interface has an IPv4 address and two IPv6 addresses, and the other
interface has one IPv4 address, which would be incorrect.

In the end, I think it comes down to the fact that DHCPv4/v6 configure
interfaces, not machines.  Administrators are accustomed to being able to
configure interfaces (not machines) by their link-layer address in DHCPv4.
 I believe that in order to provide this same capability in DHCPv6, we need
to ensure that the option identifies the interface being configured, not
just the machine.

Another aspect of the option not being inserted by the client is that it
forces implementations (relays and servers) to read layer 2 information
from the incoming packets.  If the client provides this information as an
option, it works for all implementations without such a requirement.

Greg



On Tue, Jul 10, 2012 at 11:53 PM, Ted Lemon <Ted.Lemon@nominum.com> wrote:

>  On Jul 10, 2012, at 11:30 PM, A. Gregory Rabil wrote:
>
> I believe this is exactly what limits the usefulness of this option.  Why
> not identify the machine AND the interface?  I understand the argument that
> it is easier to update relay agents versus clients, but it just seems like
> this is incomplete solution.  I also understand the DUID/IAID and am not
> out to change that at all.  I would simply like add this link-layer option
> to identify the interface actually being configured in order to provide as
> much information as possible for administrative control, because experience
> has shown that such controls are inevitably needed.
>
>
>  The purpose of the draft was very simply and exclusively to tag each
> DHCPv6 packet with the link-layer address of the interface on which the
> packet was originally sent.   This is a very simple, very restricted scope.
>   It's something that I think everyone in the working group can agree on.
> It's also very easy to implement, because it can be done in the relay agent.
>
>  What you've said is very difficult for me to parse—you seem to be
> imputing a ton of additional protocol and semantic detail on top of
> something very simple.   Can you state in simple, clear terms why the first
> sentence in the paragraph above does not satisfy you?
>
>