<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'>Arun:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","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:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'> cable helper-address a.b.c.d cable-modem global<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'> cable helper-address a.b.c.d host global<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'> cable helper-address a.b.c.d mta global<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","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.  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'>In our DHCP configuration we use a shared subnet for the CPE because there are several noncontiguous netblocks.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'>Frank<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","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<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0in 0in 0in 0in'><p class=MsoNormal 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><o:p></o:p></p></td></tr></table><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div></body></html>