dhcp6.vendor-opts
David W. Hankins
David_Hankins at isc.org
Tue Jun 26 21:34:59 UTC 2007
On Fri, Jun 15, 2007 at 05:18:47PM -0500, Andrew Creer wrote:
> ddns-update-style ad-hoc;
Yikes. Are you sure you don't want interim (or 'none')?
> subnet6 2001:1234::1:0:0:0:0/64 {
> range6 2001:1234::1:0:0:0:100/64;
> option dhcp6.vendor-opts "(4491((32 2001:1234:0:1::2)(33
> v10_cm.bin)(40 20:01:12:34:00:00:00:01:00:00:00:00:00:0
> 0:00:02)(41 -21600)))";
> allow unknown-clients;
> }
That's not how it's supposed to work.
We need to improve our documentation. I see how you got to there from
the manpage, but 'string' doesn't mean "hi!" it means 'a string of
octets' like de:ad:be:ef or something. But that's not even what you
want either, what you want is to configure an option space for your
vendor (per their documentation). Here's what our test config does:
# Declare the option space.
option space docsis code width 2 length width 2;
# Anchor the docsis option space under the VSIO option.
option vsio.docsis code 4491 = encapsulate docsis;
# Define DOCSIS option formats.
option docsis.tftp-servers code 32 = array of ip6-address;
option docsis.cablelabs-configuration-file code 33 = text;
option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
option docsis.device-id code 36 = string;
Then configure values inside the docsis space:
option docsis.tftp-servers 3ffe:cccc:aaaa:aaaa::1, 3ffe:cccc:aaaa:aaaa::2;
It's similar to the 'vendor encapsulated options' section in
'man dhcp-options', but you're using the vsio space instead. If
you give that a read it might make stuff more clear.
Anyway, I'll go write some better documentation on this for the next
release. We should have some VSIO examples.
--
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil? https://secure.isc.org/store/t-shirt/
--
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
More information about the dhcp-users
mailing list