RE: [dhcwg] FW: RFC3315 question

"Bernie Volz \(volz\)" <volz@cisco.com> Sat, 17 February 2007 19:18 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HIV5G-0004Df-1d; Sat, 17 Feb 2007 14:18:58 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HIV5E-0004DZ-Ne for dhcwg@ietf.org; Sat, 17 Feb 2007 14:18:56 -0500
Received: from rtp-iport-2.cisco.com ([64.102.122.149]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HIV5B-0007Kt-7B for dhcwg@ietf.org; Sat, 17 Feb 2007 14:18:56 -0500
Received: from rtp-dkim-2.cisco.com ([64.102.121.159]) by rtp-iport-2.cisco.com with ESMTP; 17 Feb 2007 14:18:51 -0500
X-IronPort-AV: i="4.14,185,1170651600"; d="scan'208"; a="114157508:sNHT88879656"
Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [64.102.124.12]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id l1HJIoPc023439 for <dhcwg@ietf.org>; Sat, 17 Feb 2007 14:18:50 -0500
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l1HJIoVT010841 for <dhcwg@ietf.org>; Sat, 17 Feb 2007 14:18:50 -0500 (EST)
Received: from xmb-rtp-20a.amer.cisco.com ([64.102.31.15]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 17 Feb 2007 14:18:50 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [dhcwg] FW: RFC3315 question
Date: Sat, 17 Feb 2007 14:18:50 -0500
Message-ID: <8E296595B6471A4689555D5D725EBB2103467C67@xmb-rtp-20a.amer.cisco.com>
In-Reply-To: <C1FB91F4.3AB2D%rdroms@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [dhcwg] FW: RFC3315 question
Thread-Index: Acc/Psc6ympXzt39SmqKB5J9mTvDMQS1hDHhACyzlYA=
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "Ralph Droms (rdroms)" <rdroms@cisco.com>, dhcwg <dhcwg@ietf.org>
X-OriginalArrivalTime: 17 Feb 2007 19:18:50.0455 (UTC) FILETIME=[747BB670:01C752C8]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=5583; t=1171739930; x=1172603930; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=volz@cisco.com; z=From:=20=22Bernie=20Volz=20\(volz\)=22=20<volz@cisco.com> |Subject:=20RE=3A=20[dhcwg]=20FW=3A=20RFC3315=20question |Sender:=20 |To:=20=22Ralph=20Droms=20\(rdroms\)=22=20<rdroms@cisco.com>, =20=22dhcwg= 22=20<dhcwg@ietf.org>; bh=SujcadX6uZED7n08koYf8356K2uIqUd89CkFAYgd2g0=; b=wGv43JaoxhxZ0tytRrn0+MhHcuCBXFItF/ddE3D750neT0yDQOHJSO0VydfQS3PUEtR2s0fV +fU5o4wbLSRRHP+NW/2QSZxT0b8eQvgmCl8Am7H84HDfHsRCR4U+S5X/;
Authentication-Results: rtp-dkim-2; header.From=volz@cisco.com; dkim=pass (s ig from cisco.com/rtpdkim2001 verified; );
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f49c97ce49302a02285a2d36a99eef8c
Cc:
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: dhcwg.ietf.org
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
Errors-To: dhcwg-bounces@ietf.org

Ah, good that this is finally being cleaned up (I recall there was some
past discussion on this). Reference to RFC 826 was very poor and really
should have referenced the IANA pages (the Number Hardware Type (hrd)
section of http://www.iana.org/assignments/arp-parameters).

Perhaps a reference to http://www.ietf.org/rfc/rfc2469.txt might also
help to address the canonical address issue? At least the describes
canonical addresses.

Link layer also confused one major vendor into thinking they should use
the EUI-64 identifier, so perhaps an example wouldn't hurt as well (we
have an example for DUID-EN, so why not for the others?).

- Bernie 

-----Original Message-----
From: Ralph Droms (rdroms) 
Sent: Friday, February 16, 2007 4:53 PM
To: dhcwg
Subject: [dhcwg] FW: RFC3315 question

Alain Durand asked me a couple of questions about the definition of the
DUID
formats based on link-layer addresses in RFC 3315.  The first question
is
about this text, which appears in both section 9.2, DUID Based on
Link-layer
Address Plus Time [DUID-LLT], and section 9.4, DUID Based on Link-layer
Address [DUID-LL]:

   The link-layer
   address is stored in canonical form, as described in RFC 2464.

Alain checked RFC 2464, and he can't find how a link layer address is
supposed to be stored in canonical form. The closest thing he found is:
 
   The Source/Target Link-layer
   Address option has the following form when the link layer is
   Ethernet.

                    0                   1
                    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
                   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                   |     Type      |    Length     |
                   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                   |                               |
                   +-          Ethernet           -+
                   |                               |
                   +-           Address           -+
                   |                               |
                   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

And, RFC 2464 only describes Ethernet and is silent on other link-layer
addresses.

There is also an issue with the text:

   The hardware type MUST be a
   valid hardware type assigned by the IANA, as described in RFC 826.

...but, RFC 826 makes no reference to IANA.

Ted Lemon and I exchanged e-mail about the DUID issue, and I've included
Ted's response below.

Regarding the IANA/RFC 826 issue, I think it can be addressed by an
errata:

OLD:

   The hardware type MUST be a valid hardware type
   assigned by the IANA as described in RFC 826 [14].

NEW:

   The hardware type MUST be a valid hardware type from the list of
   ARP hardware types maintained by IANA at <insert URL here>

- Ralph

=====

To be honest, I have no idea where the RFC2464 reference came from.
I'd never read that RFC, and wasn't even aware of its existence.
The word 'canonical' is only used twice in the RFC, and nowhere in
the RFC is the meaning of 'canonical' described.   The point Alain
raises is a really good one, and applies to RFC2464 as well, to some
extent - it should define 'canonical'.

However, RFC2464 does give us some clue about this in section 2.5.1,
Interface Identifiers, on page 8, where it describes in detail how to
construct an interface identifier.   This does tell us what the
author of RFC2464 thought the canonical form is.  But Alain's still
right that the reference to RFC2464 is a mistake in isolation,
because it leaves out all other possible frame header formats.
Having said that, the problem remains - without specifying the
arrangement of bits, you are left guessing.   People seem to have
muddled through with RFC2131/2132, and I think they probably will
with 3315 as well, but it could have been better specified.

I think the correct fix for the RFC2464 problem is to add some text
like what's in RFC2373:

    The details of forming interface identifiers are defined in the
    appropriate "IPv6 over <link>" specification such as "IPv6 over
    Ethernet" [ETHER], "IPv6 over FDDI" [FDDI], etc.

We'd change it to this:

    The details of how the link-layer address is formatted are
defined in the
    appropriate "IPv6 over <link>" specification such as "IPv6 over
    Ethernet" [RFC2464], "IPv6 over FDDI" [RFCnnnn], etc.
Specifically, the
    link-layer address should appear in the DUID-LLT option just as
it does
    in the frame header for that particular link type.  For example the
    link-layer address for an ethernet interface would be formatted
in the
    same way as the Destination Ethernet Address field of the
ethernet frame
    as described in the section of "IPv6 over Ethernet" [RFC2464]
titled "Frame
    Format."

This doesn't really solve the problem, because RFC2464 isn't specific
about it either, but it gets rid of the erroneous reference to
RFC2464 as the _only_ place to go, and it also gives the implementor
a valuable clue for how to format the DUID-LLT - look at a frame you
captured live on the wire.   That way.   That's lame, but it's better
than nothing.   Really, RFC2464 should be more particular about
referencing the document (presumably IEEE) that defines the 802.11
header format.   You can see that the author had access to that
document by reading section 2.5.1, but unfortunately s/he never
references it.

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg