Re: [dhcwg] DUID+IAID

Tomek Mrugalski <tomasz.mrugalski@gmail.com> Fri, 30 March 2012 08:01 UTC

Return-Path: <tomasz.mrugalski@gmail.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 0F67A21F8802 for <dhcwg@ietfa.amsl.com>; Fri, 30 Mar 2012 01:01:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_44=0.6, 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 z9IIoJAjWHev for <dhcwg@ietfa.amsl.com>; Fri, 30 Mar 2012 01:01:49 -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 3119021F875B for <dhcwg@ietf.org>; Fri, 30 Mar 2012 01:01:49 -0700 (PDT)
Received: by bkuw5 with SMTP id w5so272477bku.31 for <dhcwg@ietf.org>; Fri, 30 Mar 2012 01:01:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=AfJdBsWs0d+AOzlQTyQvDdl8le/8mnlJOc+/qNyj2Y8=; b=CU23N01//WrujA4BHGR/whZYf7Dggw3t8SAuGZYglHNdTfBnt8bSN83dwVGEKS63bf y4P5djmJpJGw4A+OPdarDUMqQxMOQt2jF2xD0myTwfiD4I5BLuwuYg9I+CvU5lPCFIIX l6RtTQ/bed19oJqVtSb7cG/5NEYotabNRM5zcClW/4R5nCl/h87amk8Noz5XcJrddJgb TgSXIpBAbuiyOMu5vjXQl8+U2FZ82bkZcQUsayaMUV4DJ4pmVKKhuk2xkWb0+N0uNqwo KQ8FcPvMhHIOlCVR/f/OMuTCXKxfU6E00mFp1VshdiwVom8RrN0cXUZ878LfqE5t6bHZ WB4Q==
Received: by 10.204.143.151 with SMTP id v23mr530789bku.63.1333094508203; Fri, 30 Mar 2012 01:01:48 -0700 (PDT)
Received: from dhcp-158e.meeting.ietf.org ([2001:df8:0:16:cabc:c8ff:fedf:daff]) by mx.google.com with ESMTPS id b3sm9853946bki.16.2012.03.30.01.01.46 (version=SSLv3 cipher=OTHER); Fri, 30 Mar 2012 01:01:47 -0700 (PDT)
Message-ID: <4F756869.7010404@gmail.com>
Date: Fri, 30 Mar 2012 10:01:45 +0200
From: Tomek Mrugalski <tomasz.mrugalski@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: dhcwg@ietf.org
References: <CAAed6vtfuig6Y1Zqqxd=rQc7MarO7vfkYVDG0HbzeaQrx7GcYw@mail.gmail.com> <8D23D4052ABE7A4490E77B1A012B6307472D4438@mbx-01.win.nominum.com>
In-Reply-To: <8D23D4052ABE7A4490E77B1A012B6307472D4438@mbx-01.win.nominum.com>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [dhcwg] DUID+IAID
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: Fri, 30 Mar 2012 08:01:50 -0000

On 12-03-29 16:41, Ted Lemon wrote:
>> Ted (don't mean to call you out here, but it is prevalent to my
>> question) wrote this on the ISC DHCP list:
>>> DUID+IAID uniquely identifies the interface; DUID uniquely
>>> identifies the host.
>> My question is can this be guaranteed?
> 
> No, I was oversimplifying.   The intent was that there might well be
> more than one IAID per interface.   In practice, I would expect an
> IA_NA and an IA_TA to use different IAIDs, for instance.  Similarly
> for IA_PD.   It was also intended that the client could ask for more
That is not guaranteed. I just checked RFC3315 and it is somewhat
contradictory. Is sending IA_NA and IA_PD legal? Page 11 says that
"Each IA has an IAID, which is chosen to be unique among all IAIDs for
IAs belonging to that client.". This suggest that the same iaid for
IA_NA and IA_PD is not valid. On the other hand, in section 4.2 there
following text "A binding containing information about an IA is indexed
by the tuple <DUID, IA-type, IAID>.". It suggests that IAID number
spaces for different IA types are orthogonal.

Oh well, yet another thing to clarify in 3315bis.

> than one set of IA_NA addresses per interface if it wanted to present
> more than one identity to the network.
Agree. There may be many IA_NA instances (or IA_PD or other IA types) in
a single message.

> Even if what I'd said weren't an oversimplification, it wouldn't work
> to use the MAC address as the IAID, because it's unnecessarily big.
Some implementations use part of MAC. I'm not sure what were the
original reasons for this, but that is mostly valid approach.

> I expect it to be rare that a single DHCP request will require 2^48
> IAs.
I expect it as well. Let's keep iaid as it is now - 32 bit is enough.

And if some brave soul insists on sending 2^48 IAs, he would have to
make sure that his DHCPv6 packets are fragmented properly. Which brings
us to yet another possible 3315bit thing. While I haven't seen any
DHCPv6 messages that are even close to 1280 bytes, it is something that
could possibly be clarified.

Tomek