Options that contain options that contain options

David W. Hankins dhankins at isc.org
Fri Oct 15 00:18:34 UTC 2010


On Wed, Oct 06, 2010 at 09:45:18PM +0200, teemu.savolainen at nokia.com wrote:
> I'm looking at draft https://datatracker.ietf.org/doc/draft-dec-dhcpv6-route-option/ that defines an option that contain options that contain options that contain options.
> 
> Do you think there is any way to support those in 4.2.0 other than by defining the data directly (e.g. as hex values)? I tried to define options that encapsulate other options, but couldn't manage to get that work..

I think so.  The brain-bending problem is that one option is a
container for another option, but the DHCPv6 style is to use option
code definitions from the DHCPv6 common space (and not to enumerate
sub-option codes).

So these are DHCPv6 options that might exist in the 'dhc6' space, but
to encapsulate them appropriately you need a unique space name to
define the lower level options in, and then a new unique space under
that.

It's a bit of work to enumerate all that.

The only wrinkle then is that these are options that have a fixed data
block followed by encapsulated options.  Support for this format is in
all versions of the server I think, but it is not very commonly used
so I would be quite skeptical that it would work flawlessly. :(

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101014/5be10a04/attachment.bin>


More information about the dhcp-users mailing list