LDAP/DHCP config | docsis.org

You are here

LDAP/DHCP config

2 posts / 0 new
Last post
dkokoshi
LDAP/DHCP config

Hello,

I have a problem with ldap/dhcp provisioning server. The cable modem and MTA takes IP normally but the CPE router(WAN) does not.
I dont know where the problem is. Below is the config that the dhcp takes from LDAP:

authoritative;
deny duplicates;
one-lease-per-client on;
update-conflict-detection on;
allow leasequery;
option space vsi;
option vsi.version code 6 = string;
option vsi.model code 9 = string;
option vsi.vendor code 10 = string;
option vsi-pkt code 43 = encapsulate vsi;
option space docsis-mta;
option docsis-mta.dhcp-server-1 code 1 = ip-address;
option docsis-mta.dhcp-server-2 code 2 = ip-address;
option docsis-mta.web-server code 72 = ip-address;
option docsis-mta.provision-server code 3 = { integer 8, ip-address };
option docsis-mta.as-req-as-rep-1 code 4 = { integer 32, integer 32, integer 32 };
option docsis-mta.as-req-as-rep-2 code 5 = { integer 32, integer 32, integer 32 };
option docsis-mta.krb-realm-name code 6 = string;
option docsis-mta.tgs-util code 7 = integer 8;
option docsis-mta.timer code 8 = integer 8;
option docsis-mta.ticket-ctrl-mask code 9 = integer 16;
option docsis-mta-pkt code 122 = encapsulate docsis-mta;
option ntp-servers 80.78.66.67;
option time-offset 3600;
class "BACKUP-CASA-CM" {
match if ((substring(option vendor-class-identifier,0,6) = "docsis") and (binary-to-ascii(10,8, ".", packet(24,4)) ="10.91.96.1")) ;
spawn with option agent.remote-id;
default-lease-time 259200;
next-server 10.254.254.254;
ddns-updates off;
option time-servers 10.254.254.254;
option log-servers 10.254.254.254;
option routers 10.91.96.1;
option docsis-mta-pkt 01:04:0A:74:74:03:02:04:0A:74:74:03:03:0F:00:02:31:30:03:31:31:36:03:31:31:36:01:33:00:06:09:05:42:41:53:49:43:01:31:00;
}
class "BACKUP-CASA-MTA" {
match if ((substring(option vendor-class-identifier,0,5) = "pktc1") and (binary-to-ascii(10,8, ".", packet(24,4)) ="10.95.96.1"));
spawn with option agent.remote-id;
default-lease-time 259200;
max-lease-time 259200;
ddns-updates off;
next-server 80.78.66.68;
option domain-name "abcom.al";
option domain-name-servers 80.78.66.66, 80.78.66.67;
option routers 10.95.96.1;
option log-servers 10.254.254.254;
option time-servers 10.254.254.254;
option host-name = host-decl-name;
option docsis-mta-pkt 001:04:0A:FE:FE:01:03:0F:00:08:74:65:6C:65:62:6F:74:61:03:6E:65:74:00:06:09:05:42:41:53:49:43:01:31:00;
}
class "BACKUP-CASA-HOST" {
match if ((binary-to-ascii(10,8, ".", packet(24,4)) ="10.95.96.1") and (substring(option vendor-class-identifier,0,4) != "pktc"));
default-lease-time 259200;
next-server 10.254.254.254;
ddns-updates off;
option time-servers 10.254.254.254;
option log-servers 10.254.254.254;
option routers 10.93.96.1;
option domain-name-servers 80.78.66.66, 80.78.66.67;
}
group {
}
group {
}
subnet 10.91.96.0 netmask 255.255.224.0 {
pool {
range 10.91.96.50 10.91.127.254;
allow members of "BACKUP-CASA-CM";
deny unknown-clients;
}
}
subnet 10.93.96.0 netmask 255.255.224.0 {
pool {
range 10.93.96.10 10.93.127.254;
allow members of "BACKUP-CASA-HOST";
#deny unknown-clients;
}
}
subnet 10.95.96.0 netmask 255.255.224.0 {
pool {
range 10.95.96.50 10.95.127.254;
allow members of "BACKUP-CASA-MTA";
deny unknown-clients;
}
}
subnet 10.116.116.0 netmask 255.255.255.0 {
}

Regards,
Dori

walter.keen
MTA is a CPE

Hi, in this case the MTA getting an IP is considered a CPE.

you have this in your config posted above
one-lease-per-client on;

You likely want to remove that, as well as ensuring you have a limit on number of CPE in the modem configuration files that allows for at least 2 CPE. (MTA + customer equipment)

Log in or register to post comments