Hi,<br><br>I tried this:<br>class "rule1" {<br>match if substring (option dhcp-client-identifier, 0, 5) = 01:00:19:7d:72;<br>option time-offset -12345;<br>option boot-size 65000;<br>}<br>subnet 192.168.1.0 netmask 255.255.255.0 {<br>

pool {<br>allow members of "rule1";<br>range 192.168.1.66;<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>=> 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>Ashmath<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">dhcp1@thehobsons.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">Ashmath Khan wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 class="im"><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>