Tuesday, February 21, 2012

DOCSIS and eRouter ISC DHCPv6 server configuration

After googling around a lot I managed to configure my ISC DHCP server to provision a DOCSIS modem and eRouter in IPv6. Given below is how I configured the DHCPv6 options in the ISC DHCPD config file (dhcp6.conf),

---------- Cable modem DHCP options ---------------
option space docsis code width 2 length width 2 hash size 17;
option docsis.tftp-server 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;


shared-network CM {
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 2001:0:140:1::/64 {
range6 2001:0:140:1::50 2001:0:140:1::254;
option dhcp6.name-servers 2001:0:130:1::23;
option docsis.tftp-server 2001:0:130:1::24;
option docsis.cablelabs-configuration-file "basic.cfg";
option docsis.cablelabs-syslog-servers 2001:0:130:1::23;
option docsis.time-servers 2001:0:130:1::24;
option docsis.time-offset 28800;
}
}

---------------------------------------------------------


----------- CPE ( eRouter ) DHCP options -----------------

shared-network CPE {
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 2001:0:f140:1::/64 {
range6 2001:0:f140:1::50 2001:0:f140:1::254;
option dhcp6.name-servers 2001:0:130:1::23;
prefix6 2001:0:150:: 2001:0:150:: /64;
}
}

-----------------------------------------------------------

1 comment:

Unknown said...

Thanks a lot Ruwan. Great job !
I will try to do this on my ISC-DHCP