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

Jeffrey Hutzelman <jhutz@cmu.edu> Tue, 10 July 2012 21:44 UTC

Return-Path: <jhutz@cmu.edu>
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 1678211E80F8 for <dhcwg@ietfa.amsl.com>; Tue, 10 Jul 2012 14:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 dB-qCrp7wN-L for <dhcwg@ietfa.amsl.com>; Tue, 10 Jul 2012 14:44:34 -0700 (PDT)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by ietfa.amsl.com (Postfix) with ESMTP id 328B311E80C4 for <dhcwg@ietf.org>; Tue, 10 Jul 2012 14:44:26 -0700 (PDT)
Received: from [128.2.193.239] (minbar.fac.cs.cmu.edu [128.2.193.239]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id q6ALipTQ025531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Jul 2012 17:44:52 -0400 (EDT)
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Ted Lemon <Ted.Lemon@nominum.com>
In-Reply-To: <14182_1341929504_q6AEBh92024157_12EEF4CE-B85C-4542-AFF5-085CDE2ACFE5@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> <14182_1341929504_q6AEBh92024157_12EEF4CE-B85C-4542-AFF5-085CDE2ACFE5@nominum.com>
Content-Type: text/plain; charset="UTF-8"
Date: Tue, 10 Jul 2012 17:44:51 -0400
Message-ID: <1341956691.7190.24.camel@minbar.fac.cs.cmu.edu>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Content-Transfer-Encoding: 8bit
X-Scanned-By: mimedefang-cmuscs on 128.2.217.196
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, Andre Kostur <akostur@incognito.com>, jhutz@cmu.edu
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: Tue, 10 Jul 2012 21:44:35 -0000

On Tue, 2012-07-10 at 14:11 +0000, Ted Lemon wrote:
> On Jul 9, 2012, at 7:41 PM, A. Gregory Rabil wrote:
> > I don't believe the information would be the same in the case where
> > the client is requesting an address for a different interface (which
> > is possible in DHCPv6, but not in DHCPv4).  That's what I was trying
> > to explain with the rest of my post.
> 
> Why do we care?   The link layer address is not an interface
> identifier—it's a hint to be used by your corporate back-office
> inventory tracking system so that it can tell that an IPv4 address
> belongs to the same machine as an IPv6 address.

No.  Not only is it an interface identifier; for this purpose, it is
_the_ interface identifier.  We use client hardware addresses not just
for after-the-fact tracking, but for making decisions about what
addresses to assign, what options to send, and what DDNS updates to do,
among other things.

It seems to me there are two use cases here, which argue for different
uses of the option:


The first use case is to allow the DHCP server to identify the client by
its hardware address, the same as it could under DHCPv4, even when there
is a relay involved.  The option takes the place of the DHCPv4 chaddr
field or the layer 2 source address, and is needed when and only when
there is a relay involved.

The second use case is to allow a client which is configuring addresses
for multiple interfaces, or for interfaces other than the one which it
is using to reach the server, to identify those interfaces.  As I note
above, we _do_ use hardware addresses for interface identification, and
to me this is definitely a valid use case.  Here, the option performs a
function not available in DHCPv4, and is needed only when the client is
using a feature of DHCPv6 that is also not available in DHCPv4.  The
need exists whether or not there is a relay involved, and a relay does
not have enough information to help anyway.


I would suggest that for the first use case, the option be added at the
top-level by the relay agent.  Relays which support this option should,
in the normal case, unconditionally add or replace this option at the
top level.  Clients SHOULD NOT use this option at the top level.

For the second use case, a client wishing to identify a particular
interface may do so by using this option in the IA options field for
that interface.  Relays SHOULD NOT add, modify, or remove this option at
the IA level.

-- Jeff