subclass or class not working in dhcp

ARUN CHAKRAPANI RAO arunrao_erp at yahoo.com
Sun Jun 17 02:08:38 UTC 2012


Thanks all for helping me out.

After changing the
match pick-first-value (option dhcp-client-identifier, hardware);
to
match substring (hardware, 1, 6);

it has started working fine.

Frank
We are using ETTH technology which is also called as cable modem.  this is uses OFDM technology instead of cmts, built by a company called Teleste from Finland.
Sorry for the confusion.
Again thanks all for helping

Arun



--- On Thu, 6/14/12, Frank Bulk <frnkblk at iname.com> wrote:

From: Frank Bulk <frnkblk at iname.com>
Subject: RE: subclass or class not working in dhcp
To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
Date: Thursday, June 14, 2012, 8:47 PM

Arun:  You shouldn’t need to use subclasses to separate the DHCP assignment of CMs and CPE.  We have a CMTS and have never needed subclasses.  We specify helper addresses on our CMTS: cable helper-address a.b.c.d cable-modem global cable helper-address a.b.c.d host global cable helper-address a.b.c.d mta global  The first address of the loopback interface on the CMTS uses an IP address in the CM range and the secondary IPs belong to the CPE.    In our DHCP configuration we use a shared subnet for the CPE because there are several noncontiguous netblocks.  Frank  From: dhcp-users-bounces+frnkblk=iname.com at lists.isc.org [mailto:dhcp-users-bounces+frnkblk=iname.com at lists.isc.org] On Behalf Of ARUN CHAKRAPANI RAO
Sent: Wednesday, June 13, 2012 11:10 PM
To: Users of ISC DHCP
Subject: subclass or class not working in dhcp  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





  
-----Inline Attachment Follows-----

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120616/a539a594/attachment.html>


More information about the dhcp-users mailing list