dhcp6.vendor-opts
John Jason Brzozowski
john_brzozowski at cable.comcast.com
Wed Jun 27 02:01:03 UTC 2007
I have a similar configuration and am unable to successfully provision a
cable modem in IPv6 mode, see below fore details:
option space docsis code width 2 length width 2;
option vsio.docsis code 4491 = encapsulate docsis;
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;
option docsis.time-servers code 37 = array of ip6-address;
option docsis.time-offset code 38 = signed integer 32;
default-lease-time 90;
option dhcp-renewal-time 30;
option dhcp-rebinding-time 48;
preferred-lifetime 60;
subnet6 2001:558:FF10:8AA::/64 {
range6 2001:558:FF10:8AA::/64;
option docsis.cablelabs-configuration-file "bootfile.bin";
option docsis.tftp-servers 2001:558:ff10:800:203:baff:fe2d:87f4;
option docsis.time-servers 2001:558:ff10:800:203:baff:fe2d:87f4;
option docsis.time-offset -18000;
}
Interestingly the modems gets the ADVERTISE but then does nothing further, I
am currently analyzing the sniffer traces. Just a heads up for Andrew.
Another question, for host declarations shouldn't the following also be
valid?
host cpe6 {
host-identifier option dhcp6.client-id
"00:01:00:01:0C:86:93:21:02:14:22:FF:FE:0E:BD:21";
fixed-address6 2001:0558:ff10:08aa::fffc;
}
John
On 6/26/07 5:34 PM, "David W. Hankins" <David_Hankins at isc.org> wrote:
> 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.
=========================================
John Jason Brzozowski (CISSP, RHCT)
Comcast Corporation
e) mailto:john_brzozowski at cable.comcast.com
m) 609-377-6594
p) 856-324-2671
=========================================
More information about the dhcp-users
mailing list