RE: [dhcwg] Assigning DHCPv6 option codes

Vernon Schryver <vjs@calcite.rhyolite.com> Thu, 24 January 2002 06:10 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA07642 for <dhcwg-archive@odin.ietf.org>; Thu, 24 Jan 2002 01:10:20 -0500 (EST)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id BAA10157 for dhcwg-archive@odin.ietf.org; Thu, 24 Jan 2002 01:10:21 -0500 (EST)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA04190; Thu, 24 Jan 2002 01:01:56 -0500 (EST)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id BAA04171 for <dhcwg@optimus.ietf.org>; Thu, 24 Jan 2002 01:01:54 -0500 (EST)
Received: from calcite.rhyolite.com (calcite.rhyolite.com [192.188.61.3]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA07473 for <dhcwg@ietf.org>; Thu, 24 Jan 2002 01:01:52 -0500 (EST)
Received: (from vjs@localhost) by calcite.rhyolite.com (8.12.2.Beta4/8.12.2.Beta4) id g0O61rUQ012593 for dhcwg@ietf.org env-from <vjs>; Wed, 23 Jan 2002 23:01:53 -0700 (MST)
Date: Wed, 23 Jan 2002 23:01:53 -0700
From: Vernon Schryver <vjs@calcite.rhyolite.com>
Message-Id: <200201240601.g0O61rUQ012593@calcite.rhyolite.com>
To: dhcwg@ietf.org
Subject: RE: [dhcwg] Assigning DHCPv6 option codes
References: <JCELKJCFMDGAKJCIGGPNMEJKDJAA.rbhibbs@pacbell.net>
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: <dhcwg.ietf.org>
X-BeenThere: dhcwg@ietf.org

> From: Richard Barr Hibbs <rbhibbs@pacbell.net>

> > I thought RFC 2132 clearly separated the site-specific range
> > [128,254] from the vendor-specific range defined in section 8.4.
> > Where is the overlap?
> >
> ...hmmmm...  the imprecision of words.....
>
> yes, vendor-specific <<information>> is encoded as specified in section 8.4
> into the value field of a single DHCP <<option>> (number 43), but that's not
> quite the same thing as I was pointing out in my reply:  Wyse, Citrix, and
> other vendors of "thin" clients, several vendors of VoIP telephones, and a
> few other vendors such as cisco and Intel use <<option>> numbers 128-254 to
> request and/or supply data for their products.
>
> While option 43 is defined for passing data whose code point values are not
> required to be specified by an RFC, it does permit the use of
> "vendor-specific" code points 1-254, which are permitted to redefine or
> duplicate any "standard" DHCP option, or to define completely new ones.
> Options 128-254 of the site-specific option set may also do this, so what is
> the difference?

What's the difference?!?
The site-specific options 128-254 are in a different space than the
vendor-specific options 1-254.  When a vendor abuses the site specific
option 251, it is inviting catastrophy when either some other vendor
equally provincial and incompetent vendor abuses the same site specific
option 251, or the poor sucker running a site uses option 251.


> The total length of the encapsulated data in option 43 is limited to 255
> octets:  the total length of data in the site-specific options is 127 * 255
> = 32,385 octets.  On the other hand, option 43 allows 254 different,
> presumably unique, code points while the site-specific options permit only
> 127.  The downside to using the site-specific options for conveying data is
> that server support is far from uniform because of the lack of specification
> for dealing with overlapping or conflicting vendor implementations.  Of
> course, a similar problem exists with option 43:  it is not possible to
> examine an arbitrary set of vendor-encapsulated options and know the
> identity of the vendor, since there is no standard way to specify this.
> That's why in several server implementations the vendor class identifier
> (option 60) is presumed (though not required by RFC 2132) to be used in
> conjunction with option 43.

I understand no good sense in that.

Anyone with a legitimate need to decode vendor-specific option need
only ask the vendor, and be told or not depending on whether the vendor
decides the need is legitimate.  To determine the identity of the
vendor, what's wrong with consulting the usual sources?  If those
give no joy, then you have no legitimate need to do any decoding,
even if that means that the product must be shipped back to the vendor.

Second, the downside to using site-specific options is more than mere
lack of uniformity of specification.  You may as well toss out the
whole standardization process send any random bits you want.  Why not
use option 53 for something different and interesting? 


> To stave off an argument, RFC 2132 does not require (by using MUST phrases)
> that option 43 only be used with option 60 -- the RFC uses weaker SHOULD
> phrases -- and does not specify server behavior if either option appears
> alone.

Programmers provincial enough to not conceive of the possibility that
there might be equally provincial programmers elsewhere and so not
use option 60 to prevent collisions deserve all of the grief they'll
get and more.  I'm not sure whether their customers deserve the grief
they'll get, but perhaps they're guilty for buying junk.

SHEESH!
I really hope someone will tell me I've completely misunderstood
and that I'm not really being told that the DHCP-WG consensus is
that you just pick random option numbers to use howerver you want
and just hope no one elsewhere picks the same numbers.


Vernon Schryver    vjs@rhyolite.com

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