<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As people mentioned in prior discussions, the 
server nomally provides options that the client has requested in the Parameter 
Request List (option 53).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Are you trying to configure a PXE client?  I 
think the man page may have a section on that.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It would help to know what you want to accomlish 
here and what client you are configuring.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Reissom</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message ----- 
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A 
title=hashmat.email@gmail.com href="mailto:hashmat.email@gmail.com">Ashmath 
Khan</A> </DIV>
<DIV><B>To:</B> <A title=dhcp-users@lists.isc.org 
href="mailto:dhcp-users@lists.isc.org">Users of ISC DHCP</A> ; <A 
title=dhcp-users@isc.org href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</A> 
; <A title=dhcp1@thehobsons.co.uk 
href="mailto:dhcp1@thehobsons.co.uk">dhcp1@thehobsons.co.uk</A> </DIV>
<DIV><B>Sent:</B> Wednesday, October 14, 2009 7:15 AM</DIV>
<DIV><B>Subject:</B> Re: To add some filter rules in conf file</DIV></DIV>
<DIV><BR></DIV>Hi,<BR><BR>I even tried:<BR>class "rule1" {<BR>match if substring 
(option dhcp-client-identifier, 0, 5) = 01:00:19:7d:72;<BR>}<BR><BR>subnet 
192.168.1.0 netmask 255.255.255.0 {<BR><BR>pool {<BR>option time-offset 
-12345;<BR>option boot-size 65000;<BR>range 192.168.1.66;<BR>allow members of 
"rule1";<BR>}<BR><BR>default-lease-time 86500;<BR>max-lease-time 
86500;<BR>option routers 192.168.1.254;<BR>option domain-name-servers 
192.168.1.254;<BR>}<BR>=> same result. option time-offset and boot-size are 
not sent as part of dhcp offer message.<BR><BR>thanks<BR>Ashmath<BR><BR>
<DIV class=gmail_quote>On Wed, Oct 14, 2009 at 4:25 PM, Ashmath Khan <SPAN 
dir=ltr><<A 
href="mailto:hashmat.email@gmail.com">hashmat.email@gmail.com</A>></SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR><BR>I 
  tried this:<BR>class "rule1" {<BR>match if substring (option 
  dhcp-client-identifier, 0, 5) = 01:00:19:7d:72;
  <DIV class=im><BR>option time-offset -12345;<BR>option boot-size 
  65000;<BR>}<BR></DIV>
  <DIV class=im>subnet 192.168.1.0 netmask 255.255.255.0 {<BR></DIV>pool 
  {<BR>allow members of "rule1";<BR>range 192.168.1.66;
  <DIV class=im><BR>}<BR>default-lease-time 86400;<BR>max-lease-time 
  86400;<BR>option routers 192.168.1.254;<BR>option domain-name-servers 
  192.168.1.254;<BR>}<BR><BR></DIV>=> it didn't work completely. I did get 
  dhcp offer message but the options: time-offset and boot-size were not sent as 
  part of dhcp offer. Any reasons ? How do I make it work 
  ?<BR><BR>thanks<BR><FONT color=#888888>Ashmath</FONT>
  <DIV>
  <DIV></DIV>
  <DIV class=h5><BR><BR>
  <DIV class=gmail_quote>On Tue, Oct 13, 2009 at 8:18 PM, Simon Hobson <SPAN 
  dir=ltr><<A href="mailto:dhcp1@thehobsons.co.uk" 
  target=_blank>dhcp1@thehobsons.co.uk</A>></SPAN> wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>Ashmath Khan wrote:<BR><BR>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
      want to add some filter rules into the configuration file.<BR>For example, 
      If I find string "Amino" in the option dhcp-client-identifier, then the 
      range would be  A, options B and if the string is "Phone*" then the 
      range would be C and options D.<BR></BLOCKQUOTE><BR></DIV>Look at the 
    section on classes in "man dhcpd.conf"<BR><BR>-- <BR>Simon 
    Hobson<BR><BR>Visit <A href="http://www.magpiesnestpublishing.co.uk/" 
    target=_blank>http://www.magpiesnestpublishing.co.uk/</A> for books by 
    acclaimed<BR>author Gladys Hobson. Novels - poetry - short stories - ideal 
    as<BR>Christmas stocking fillers. Some available as 
    e-books.<BR>_______________________________________________<BR>dhcp-users 
    mailing list
    <DIV><BR><A href="mailto:dhcp-users@lists.isc.org" 
    target=_blank>dhcp-users@lists.isc.org</A><BR></DIV><A 
    href="https://lists.isc.org/mailman/listinfo/dhcp-users" 
    target=_blank>https://lists.isc.org/mailman/listinfo/dhcp-users</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR>
<P>
<HR>

<P></P>_______________________________________________<BR>dhcp-users mailing 
list<BR>dhcp-users@lists.isc.org<BR>https://lists.isc.org/mailman/listinfo/dhcp-users</BODY></HTML>