ISC Dhcp and CableLabs vendor specific option 2171

Vincent De Maertelaere vincent.demaertelaere at excentis.com
Tue May 8 05:47:00 UTC 2012


@Patricio: Thank you for your reply.

This is what I am using in the dhcpd6.conf too,
but what I am looking for is CCCv6 for dhcpd4.conf.

I've tried a similar approach, but the DHCP daemon refused to answer to 
this particular option.
This is the layout shown by CableLabs:

OPTION_VI_VENDOR_OPTS(125)
    - CL_V4OPTION_CCCV6 (123)
       - Primary DHCPv6 server (1)
       - Secondary DHCPv6 Server (2)
       - Provisioning server address (3)
       - Kerberos REALM of the KDC (6)
    - CL_V4OPTION_IP_PREF (124)

I was trying a configuration file like this:

/etc/dhcpd4.conf
option space docsis code width 2 length width 2 hash size 100;
option docsis.tftp-servers code 32 = array of ip6-address;
option docsis.cablelabs-configuraiton-file code 33 = text;
option docsis.syslog-servers code 34 = array of ip6-address;
option docsis.time-servers code 37 = array of ip6-address;
option docsis.time-offset code 38 = signed integer 32;
option docsis.ip-pref code 39 = unsigned integer 8;

option space cccv6 code width 2 length width 2 hash size 100;
option cccv6.primary-dhcp code 1 = ip6-address;
option cccv6.prov-server code 3 = { integer 8, text };
option cccv6.krb-realm code 6 = text;

option docsis.cccv6 code 2171 = encapsulate cccv6; option vsio.docsis code
4491 = encapsulate docsis;

option cccv6.primary-dhcp <ipv6 address of the server>
...

Best regards,

Vincent De Maertelaere
Excentis NV.
Ghent
Belgium



Op maandag 7 mei 2012 22:17:10, Patricio Latini schreef:
>
> Vincent:
> That is how it worked for me
>
> root at debian:~# more /etc/dhcpd6.conf
> option space docsis code width 2 length width 2 hash size 17;
> option docsis.device-type code 2 = string;
> 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 docsis.PKTCBL-CCCV4 code 2170 = { integer 16,
> integer 16, ip-address, integer 16, integer 16, ip-address};
> option vsio.docsis code 4491 = encapsulate docsis;
>
>
> and in the cm subnet.... 1 is Suboption, 4 is Length (same for 
> suboption 2).
>
> option docsis.PKTCBL-CCCV4 1 4 255.255.255.255 2 4 255.255.255.255;
>
> Patricio
>
> -----------------------------------------------
> Patricio S. Latini
> Arris Group
> -----------------------------------------------
>
>
>
> -----Original Message-----
> From: dhcp-users-bounces+p_latini=hotmail.com at lists.isc.org
> [mailto:dhcp-users-bounces+p_latini=hotmail.com at lists.isc.org] On 
> Behalf Of
> Vincent De Maertelaere
> Sent: Friday, April 27, 2012 6:22 AM
> To: dhcp-users at lists.isc.org
> Subject: ISC Dhcp and CableLabs vendor specific option 2171
>
> Hi,
>
> I'm trying to configure the ISC dhcp server (4.2.3) to hand out option
> 2171 for cable modems.
>
> I am using a configuration file like this:
>
> option space docsis code width 2 length width 2 hash size 100; option
> docsis.tftp-servers code 32 = array of ip6-address; option
> docsis.cablelabs-configuraiton-file code 33 = text; option
> docsis.syslog-servers code 34 = array of ip6-address; option
> docsis.time-servers code 37 = array of ip6-address; option
> docsis.time-offset code 38 = signed integer 32; option docsis.ip-prev code
> 39 = unsigned integer 8;
>
> option space cccv6 code width 2 length width 2 hash size 100; option
> cccv6.primary-dhcp code 1 = ip6-address; option cccv6.prov-server code 
> 3 = {
> ingeger 8, text }; option cccv6.krb-realm code 6 = text;
>
> option docsis.cccv6 code 2171 = encapsulate cccv6; option vsio.docsis code
> 4491 = encapsulate docsis;
>
> option cccv6.primary-dhcp<ipv6 address of the server>
>
> When I start the DHCP server with this config, it does not complain about
> the config.
> But when a device requests option 2171, the server does not include the
> option 2171 in the vendor specific options.
>
> What am I doing wrong?
>
> Best Regards,
>
> ---
> Vincent De Maertelaere
> Excentis N.V.
> Gildestraat 8
> 9000 Ghent
> Belgium
> _______________________________________________
> 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




More information about the dhcp-users mailing list