ISC Dhcp and CableLabs vendor specific option 2171
Patricio Latini
p_latini at hotmail.com
Tue May 8 20:46:30 UTC 2012
Vincent, sorry I misunderstood 2170 for 2171.
For 2171 I would try this. unfortunatelly I cannot test in my lab given that
I do not have any cpe that solicits opt 2171.
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.relayagent-cmmac code 1026 = string;
option docsis.PKTCBL-CCCV4 code 2170 = { integer 16,
integer 16, ip-address, integer 16, integer 16, ip-address};
option docsis.PKTCBL-CCCV6 code 2171 = { integer 16,
integer 16, integer 16};
option vsio.docsis code 4491 = encapsulate docsis;
option docsis.PKTCBL-CCCV6 1 1 1;
This is not going to give you the desired value but at least would be a
start to see if dhcpd offers the "1" value.
BTW, I am not completely sure the 2171.1 is of type ip6-address , in
CL-SP-CANN-DHCP-Reg-I08-111117 it says that it is suboption 1 and 2 are of
type DSS_ID. "A DSS_ID is an abstract opaque value that identifies valid
DHCPv6 servers from which an embedded PacketCable device can accept its
DHCPv6 parameters". But do not specifies the encoding.
Patricio
-----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: Tuesday, May 08, 2012 2:47 AM
To: Users of ISC DHCP
Subject: Re: ISC Dhcp and CableLabs vendor specific option 2171
@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
_______________________________________________
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