<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks all for helping me out.<br><br>After changing the<br>match pick-first-value (option dhcp-client-identifier, hardware);<br>to<br>match substring (hardware, 1, 6);<br><br>it has started working fine.<br><br>Frank<br>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.<br>Sorry for the confusion.<br>Again thanks all for helping<br><br>Arun<br><br><br><br>--- On <b>Thu, 6/14/12, Frank Bulk <i><frnkblk@iname.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Frank Bulk <frnkblk@iname.com><br>Subject: RE: subclass or class not working in dhcp<br>To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>Date: Thursday, June 14, 2012, 8:47 PM<br><br><div
 id="yiv1743413106"><style><!--
#yiv1743413106  
 _filtered #yiv1743413106 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv1743413106 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv1743413106 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
#yiv1743413106  
#yiv1743413106 p.yiv1743413106MsoNormal, #yiv1743413106 li.yiv1743413106MsoNormal, #yiv1743413106 div.yiv1743413106MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1743413106 a:link, #yiv1743413106 span.yiv1743413106MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1743413106 a:visited, #yiv1743413106 span.yiv1743413106MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1743413106 span.yiv1743413106EmailStyle17
        {font-family:"sans-serif";color:#1F497D;}
#yiv1743413106 .yiv1743413106MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1743413106 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1743413106 div.yiv1743413106WordSection1
        {}
--></style><div><div class="yiv1743413106WordSection1"><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">Arun:</span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">  </span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">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:</span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;"> cable helper-address a.b.c.d cable-modem global</span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;"> cable helper-address a.b.c.d host global</span></p><p class="yiv1743413106MsoNormal"><span
 style="font-size:10.0pt;font-family:Consolas;"> cable helper-address a.b.c.d mta global</span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">  </span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">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.  </span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">  </span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">In our DHCP configuration we use a shared subnet for the CPE because there are several noncontiguous netblocks.</span></p><p class="yiv1743413106MsoNormal"><span
 style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">  </span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">Frank</span></p><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:#1F497D;">  </span></p><p class="yiv1743413106MsoNormal"><b><span style="font-size:10.0pt;font-family:"sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";"> dhcp-users-bounces+frnkblk=iname.com@lists.isc.org [mailto:dhcp-users-bounces+frnkblk=iname.com@lists.isc.org] <b>On Behalf Of </b>ARUN CHAKRAPANI RAO<br><b>Sent:</b> Wednesday, June 13, 2012 11:10 PM<br><b>To:</b> Users of ISC DHCP<br><b>Subject:</b> subclass or class not working in dhcp</span></p><p class="yiv1743413106MsoNormal">  </p><table class="yiv1743413106MsoNormalTable" border="0" cellpadding="0"
 cellspacing="0"><tbody><tr><td style="padding:0in 0in 0in 0in;" valign="top"><p class="yiv1743413106MsoNormal" style="margin-bottom:12.0pt;">Hi,<br>I am trying to configure dhcp using class and subclasses, some how it does not work.<br>Down below is the configuration<br>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.<br>I am running this dhcp server on ubuntu 8.04.<br>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.<br><br>Please do let me know where i am going wrong.<br><br><br><br>class "goldcstrmrs" {<br>option tftp-server-name "172.16.192.1";<br>option extensions-path "slave512mbps.conf";<br>match substring (hardware, 1, 6);<br>}<br><br>class "homenet" {<br>match pick-first-value (option
 dhcp-client-identifier, hardware);<br>}<br><br>subclass "homenet" 1:00:90:50:d0:9b:75;<br><br>subnet 10.10.1.0 netmask 255.255.255.0 {<br>option routers 10.10.1.1;<br>pool {<br>range 10.10.1.151 10.10.1.169;<br>allow members of "homenet";<br>deny unknown-clients;<br>option tftp-server-name "172.16.192.1";<br>option extensions-path "slave512mbps.conf";<br>}<br><br>                                group AUTHTEST           
 {<br>                                                                option tftp-server-name "172.16.192.1";<br>                                                                option extensions-path
 "TESTINMSTRMDM.conf";<br>                                                                option ifcp-code 0;<br>                                                                option routers
 10.10.1.1;<br>                                                                host authm1 {hardware ethernet 00:90:50:03:60:20; fixed-address 10.10.1.5;}<br>                                                                }<br><br><br><br>}<br><br>Following is the error which i am recieving.<br><br>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<br>Jun 14 09:32:46 tftpserver snmpd[8494]: Connection from UDP: [172.16.192.67]:1033<br><br><br><br><br><br></p></td></tr></tbody></table><p class="yiv1743413106MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";">  </span></p></div></div></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>dhcp-users mailing list<br><a ymailto="mailto:dhcp-users@lists.isc.org" href="/mc/compose?to=dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a></div></blockquote></td></tr></table>