CableLabs Vendor Specific Option not in Relay-Reply message
Tom Martinson
thomas.s.martinson at gmail.com
Wed Oct 6 02:32:42 UTC 2010
Patricio, Niall, and Cheng,
Thank you for your help. I have my system working. Here is an over
view of what I did.
1. Use all of the recommendations to build my dhcpd.conf file.
2. disable ip6tables. (That one hurt a bit.)
3. Install a new tftp server. (tftp-hpa-v5)
4. Share the dhcpd.conf file with all of you so that hopefully this can
help someone else.
Thanks again for all the help.
Tom
###Define the options
#
option space docsis code width 2 length width 2 hash size 17;
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;
option vsio.docsis code 4491 = encapsulate docsis;
#
###Configure global options:
#
option dhcp6.rapid-commit;
default-lease-time 1800;
max-lease-time 1800;
ddns-update-style ad-hoc;
#
#
### SERVER Subnet
### This stops the server from complaining
### DO NOT REMOVE
#
option dhcp6.preference 100;
shared-network a-bb.net {
subnet6 2001:470:1f07:957:2::0/80 {
range6 2001:470:1f07:957:2::0/80;
range6 2001:470:1f07:957:2::100 2001:470:1f07:957:2::200;
max-lease-time 14400;
min-lease-time 3600;
option dhcp6.name-servers 2001:470:1f07:957:2::2;
}
}
#
### CMTS CM-subnet
shared-network "CMTS-v6-IPDR" {
subnet6 2001:470:1F07:957:3::/80 {
range6 2001:470:1F07:957:3::2 2001:470:1F07:957:3::ffff;
option docsis.tftp-servers 2001:470:1f07:957:2::2;
option docsis.cablelabs-configuration-file "basic.bin";
option docsis.cablelabs-syslog-servers 2001:470:1f07:957:2::2;
option docsis.time-servers 2001:470:1f07:957:2::3;
option docsis.time-offset -10800;
option dhcp6.name-servers 2001:470:1f07:957:2::2;
}
}
On 10/05/2010 06:28 PM, Patricio Latini wrote:
> 1) There shouldnt be a semicolon in line 39
> 2) It should be a closed curly bracket
>
> BTW I wouldn't recommend to subnet the IPv6 networks below /64 (/80).
> That might have impacts if you use autoconfiguration at some point in
> the time as might be out of spec.
>
> Thanks
>
> Patricio
>
>
> ------------------------------------------------------------------------
> Date: Tue, 5 Oct 2010 17:38:34 -0400
> From: thomas.s.martinson at gmail.com
> To: dhcp-users at lists.isc.org
> Subject: Re: CableLabs Vendor Specific Option not in Relay-Reply message
>
> I too am having some issues with getting the DHCP server to start and
> hand out IPv6 addresses to D2.0 and D3.0 CMs.
> I have commented out each of the CMTS-CM subnets, and am now just
> trying to get the software to start for the local machine. I have
> also pasted the output of the /var/log/messages.
>
> Can anyone tell me what is wrong?
>
> Thanks,
>
> Tom
>
>
> Oct 5 17:27:44 prov6 dhcpd: /etc/dhcpd.conf line 39: semicolon expected.
> Oct 5 17:27:44 prov6 dhcpd: ?
> Oct 5 17:27:44 prov6 dhcpd: ^
> Oct 5 17:27:44 prov6 dhcpd: /etc/dhcpd.conf line 39: expecting a
> parameter or declaration
> Oct 5 17:27:44 prov6 dhcpd: };
> Oct 5 17:27:44 prov6 dhcpd: ^
> Oct 5 17:27:44 prov6 dhcpd: /etc/dhcpd.conf line 39: expecting a
> parameter or declaration
> Oct 5 17:27:44 prov6 dhcpd: };
> Oct 5 17:27:44 prov6 dhcpd: ^
> Oct 5 17:27:44 prov6 dhcpd: /etc/dhcpd.conf line 40: unexpected end
> of file
> Oct 5 17:27:44 prov6 dhcpd:
> Oct 5 17:27:44 prov6 dhcpd: ^
> Oct 5 17:27:44 prov6 dhcpd: /etc/dhcpd.conf line 40: unexpected end
> of file
> Oct 5 17:27:44 prov6 dhcpd:
> Oct 5 17:27:44 prov6 dhcpd: ^
> Oct 5 17:27:44 prov6 dhcpd: Configuration file errors encountered --
> exiting
> Oct 5 17:27:44 prov6 dhcpd:
>
> 1 ###########################################
> 2 # ABN IPv6 Configuration v0.0.3 #
> 3 ###########################################
> 4 # #
> 5 # Special thanks to those who have helped #
> 6 # #
> 7 # --Tom Martinson #
> 8 # #
> 9 ###########################################
> 10 #
> 11 ###Define the options
> 12 #
> 13 option space docsis code width 2 length width 2;
> 14 option vsio.docsis code 4491 = encapsulate docsis;
> 15 option docsis.tftp-servers code 32 = array of ip6-address;
> 16 option docsis.cablelabs-configuration-file code 33 = text;
> 17 option docsis.cablelabs-syslog-servers code 34 = array of
> ip6-address;
> 18 option docsis.device-id code 36 = string;
> 19 option docsis.time-servers code 37 = array of ip6-address;
> 20 option docsis.time-offset code 38 = signed integer 32;
> 21 #
> 22 ###Configure global options:
> 23 #
> 24 option dhcp6.rapid-commit;
> 25 default-lease-time 1800;
> 26 max-lease-time 1800;
> 27 ddns-update-style ad-hoc;
> 28 #
> 29 #
> 30 ### SERVER Subnet
> 31 ### This stops the server from complaining
> 32 ### DO NOT REMOVE
> 33 #
> 34 shared-network "lab" {
> 35 subnet6 2001:470:1f07:957:2::/80 {
> 36 range6 2001:470:1f07:957:2::aaaa 2001:470:1f07:957:2::ffff;
> 37 option dhcp6.name-servers 2001:470:1f07:957:2::2;
> 38 option dhcp6.domain-search "a-bb.net;"
> 39 };
> 40 )
>
>
> On 10/05/2010 11:31 AM, Cheng Ching-Ho-LCC014 wrote:
>
> Hi Patricio,
> I just tried your suggestion with 4.1.1-P1 by moving the options
> from global to local inside subnet6 definition. I still got the
> same result: relay-reply message from server did not contain
> CableLabs vendor specific options.
> I then tried 4.2.0 and got the same result as 4.1.1-P1.
> Is there any new commands that I need to put in dhcpd6.conf in
> release 4.1.1-P1 and after to make server to insert vendor
> specific options in relay-reply message back to relay agent ?
> Thanks,
> Ching-Ho Cheng
>
> ------------------------------------------------------------------------
> *From:* dhcp-users-bounces+lcc014=motorola.com at lists.isc.org
> <mailto:dhcp-users-bounces+lcc014=motorola.com at lists.isc.org>
> [mailto:dhcp-users-bounces+lcc014=motorola.com at lists.isc.org] *On
> Behalf Of *Patricio Latini
> *Sent:* Sunday, October 03, 2010 4:20 PM
> *To:* dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
> *Subject:* RE: CableLabs Vendor Specific Option not in Relay-Reply
> message
>
> I think you should include the options within the subnet
> definition. LIke the example below. That is working for me.
>
> shared-network C4-IPV6-Bundle1 {
> subnet6 FC00:0000:0000:0001::0/64 {
> option docsis.tftp-servers FC00::1;
> option docsis.cablelabs-configuration-file "arris-D30modem.bin";
> option docsis.cablelabs-syslog-servers FC00::1;
> option docsis.time-servers FC00::1;
> option docsis.time-offset -10800;
> option dhcp6.name-servers FC00::1;
> range6 FC00:0000:0000:0001::/64;
> }
> }
>
> Thanks
>
> Patricio
> ------------------------------------------------------------------------
> Subject: RE: CableLabs Vendor Specific Option not in Relay-Reply
> message
> Date: Thu, 30 Sep 2010 10:22:43 -0400
> From: Ching-Ho.Cheng at motorola.com <mailto:Ching-Ho.Cheng at motorola.com>
> To: dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
>
> Hi,
> I have enclosed the dhcpd6.conf for reference. I hope that this
> could help to determine my DHCPv6 server problem :
> #Define the options:
> 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;
> #Configure global options:
> option docsis.cablelabs-configuration-file "basic.bin";
> option docsis.cablelabs-syslog-servers 2000:300::2;
> option docsis.tftp-servers 2000:300::2;
> option docsis.time-servers 2000:300::2;
> option docsis.time-offset 0;
> option dhcp6.rapid-commit;
> # lease-time information: default = 30 minutes, max = 120 minutes
> #default-lease-time 864000;
> #max-lease-time 864000;
> default-lease-time 1800;
> max-lease-time 1800;
> # modem configuration file name:
> #filename "basic.bin";
> ddns-update-style ad-hoc;
> # SERVER Subnet DO NOT REMOVE
> subnet6 2000:300::/64 {
> range6 2000:300::/64;
> }
> # Goldie Subnet
> shared-network "goldie_1" {
> option docsis.cablelabs-configuration-file "goldie_1.bin";
> subnet6 2001:100:101::/64 {
> range6 2001:100:101::/64;
> }
> }
>
> Thanks,
> Ching-Ho Cheng
>
> ------------------------------------------------------------------------
> *From:* dhcp-users-bounces+lcc014=motorola.com at lists.isc.org
> <mailto:dhcp-users-bounces+lcc014=motorola.com at lists.isc.org>
> [mailto:dhcp-users-bounces+lcc014=motorola.com at lists.isc.org] *On
> Behalf Of *Cheng Ching-Ho-LCC014
> *Sent:* Wednesday, September 29, 2010 2:01 PM
> *To:* Users of ISC DHCP
> *Subject:* CableLabs Vendor Specific Option not in Relay-Reply message
>
> Hi,
> I upgraded the DHCP server to 4.1.x from 4.0.x. Now, in DHCPv6
> relay-reply message from ISC server, there is no CableLabs vendor
> specific options included. IPv6 modem could not register due to
> the missing TFTP/config file information within the CableLabs
> vendor option.
> I was using the same dhcpd6.conf as in 4.0.x. Any suggestion is
> appreciated.
> Thanks,
> Ching-Ho Cheng
> Motorola Inc.
> /Mobile Devices & Home/
> *Phone: 508-786-7522*
>
> _______________________________________________ dhcp-users mailing
> list dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> _______________________________________________ dhcp-users mailing
> list dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101005/e2ba2dee/attachment.html>
More information about the dhcp-users
mailing list