RE: [dhcwg] "Options" field

"Kostur, Andre" <Andre@incognito.com> Wed, 15 May 2002 21:49 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 RAA23368 for <dhcwg-archive@odin.ietf.org>; Wed, 15 May 2002 17:49:37 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id RAA04899 for dhcwg-archive@odin.ietf.org; Wed, 15 May 2002 17:49:52 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA04752; Wed, 15 May 2002 17:48:10 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA04723 for <dhcwg@ns.ietf.org>; Wed, 15 May 2002 17:48:08 -0400 (EDT)
Received: from portal.incognito.com (PORTAL.INCOGNITO.COM [207.102.214.30]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA23309 for <dhcwg@ietf.org>; Wed, 15 May 2002 17:47:52 -0400 (EDT)
Received: from homerdmz.incognito.com ([207.102.214.106] helo=homer.incognito.com.) by portal.incognito.com with smtp (Exim 3.33 #1) id 1786Uj-00077J-00; Wed, 15 May 2002 14:39:37 -0700
Received: by homer.incognito.com. with Internet Mail Service (5.5.2653.19) id <2ZV8SRFY>; Wed, 15 May 2002 14:54:15 -0700
Message-ID: <4FB49E60CFBA724E88867317DAA3D1984958A0@homer.incognito.com.>
From: "Kostur, Andre" <Andre@incognito.com>
To: 'Ted Lemon' <Ted.Lemon@nominum.com>, "Kostur, Andre" <Andre@incognito.com>
Cc: 'Katia Linker' <KatiaL@radlan.com>, DHCP IETF mailing list <dhcwg@ietf.org>
Subject: RE: [dhcwg] "Options" field
Date: Wed, 15 May 2002 14:54:13 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1FC5B.0D4C9230"
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

> -----Original Message-----
> From: Ted Lemon [mailto:Ted.Lemon@nominum.com]
> Sent: Wednesday, May 15, 2002 2:09 PM
> To: Kostur, Andre
> Cc: 'Katia Linker'; DHCP IETF mailing list
> Subject: Re: [dhcwg] "Options" field
> 
> 
> > The original poster did ask what the _maximum_ length the 
> options field 
> > may be (not the minimum), and he did mention that he 
> already knew that the 
> > minimum was 312 bytes.  That passage from the RFC does not 
> mention the 
> > maximum size, only the minimum size.  It does continue to 
> say that if the 
> > client can handle larger message sizes it should supply 
> option 57 to 
> > negotiate the larger sized packets.
> 
> On the contrary, the only size that section specifies is the 
> maximum size.
>     It says the field is variable length, and the maximum 
> size a client has 
> to be able to accept is 312 bytes of options (576 bytes 
> total).   It is 
> perfectly permissible to send fewer than 312 bytes of options.

I don't agree with your interpretation.  Quoting from the RFC:

"A DHCP client must be prepared to receive DHCP messages with an 'options'
field of at least length 312 octets"

If that was to be a statement on the maxmium size of the options block, then
that statement would say "at most length 312 octects".  Whether the entire
options block is actually filled with data may or may not be important (the
original poster didn't mention).  The "minimum" interpretation is somewhat
reinforced by the wording within RFC 2132 for option 57:

"The minimum legal value is 576 octets."

2132 makes no mention of a maximum value (other than it would obviously have
to fit within option 57's data).