subclass or class not working in dhcp
ARUN CHAKRAPANI RAO
arunrao_erp at yahoo.com
Thu Jun 14 04:09:38 UTC 2012
Hi,
I am trying to configure dhcp using class and subclasses, some how it does not work.
Down below is the configuration
we are using cable modems for the clients. if i use a group it works fine, but if i use a class concept it is failing to get an ip address.
I am running this dhcp server on ubuntu 8.04.
i have around 300 to 400 modems working fine with group, currently i have assigned static addresses to them, it is becoming cumbersome hence planning on to set the classes and provide dynamic ip addresses.
Please do let me know where i am going wrong.
class "goldcstrmrs" {
option tftp-server-name "172.16.192.1";
option extensions-path "slave512mbps.conf";
match substring (hardware, 1, 6);
}
class "homenet" {
match pick-first-value (option dhcp-client-identifier, hardware);
}
subclass "homenet" 1:00:90:50:d0:9b:75;
subnet 10.10.1.0 netmask 255.255.255.0 {
option routers 10.10.1.1;
pool {
range 10.10.1.151 10.10.1.169;
allow members of "homenet";
deny unknown-clients;
option tftp-server-name "172.16.192.1";
option extensions-path "slave512mbps.conf";
}
group AUTHTEST {
option tftp-server-name "172.16.192.1";
option extensions-path "TESTINMSTRMDM.conf";
option ifcp-code 0;
option routers 10.10.1.1;
host authm1 {hardware ethernet 00:90:50:03:60:20; fixed-address 10.10.1.5;}
}
}
Following is the error which i am recieving.
Jun 14 09:32:40 tftpserver dhcpd: DHCPDISCOVER from 00:90:50:d0:9b:75 via eth0.10: network 10.10.1/24: no free leases
Jun 14 09:32:46 tftpserver snmpd[8494]: Connection from UDP: [172.16.192.67]:1033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120613/7ef1f213/attachment-0001.html>
More information about the dhcp-users
mailing list