Hi Beshir,<br><br>Thanks for that.<br>I will go through this. But again are these possible:<br>1) To look into option 55, and get the list of options sent by client or search for specific option in the list.<br>2) To evaluate the rules in order and stop when one of the rule matches<br>
<br>If you have any dhcpd.conf example using these, please share.<br><br>thanks<br>Ashmath<br><br><br><div class="gmail_quote">2009/9/15 Reissom Beshir <span dir="ltr"><<a href="mailto:Reissom_Beshir@mitel.com">Reissom_Beshir@mitel.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><font size="2" face="Arial"></font>
<div><font size="2" face="Arial"></font><br><font size="2" face="Arial">You could start
by reading the man page for dhcpd.conf and look at the client classing
section.</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Regards,</font></div>
<div><font size="2" face="Arial">Reissom</font></div><div><div></div><div class="h5">
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"></font> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message -----
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><b>From:</b> <a title="hashmat.email@gmail.com" href="mailto:hashmat.email@gmail.com" target="_blank">Ashmath
Khan</a> </div>
<div><b>To:</b> <a title="dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a> </div>
<div><b>Sent:</b> Sunday, September 13, 2009 2:11 AM</div>
<div><b>Subject:</b> Re: How to set filters in the dhdpd.conf ?</div></div>
<div><font size="2" face="Arial"></font><font size="2" face="Arial"></font><br></div>Can
somebody please reply ? thanks.<br><br>
<div class="gmail_quote">2009/9/11 Ashmath Khan <span dir="ltr"><<a href="mailto:hashmat.email@gmail.com" target="_blank">hashmat.email@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello
everybody,<br><br>I have this simple problem, and I want to edit my dhcpd conf
file to run these settings. So i want to know what should go into the conf
file.<br><br>I have different sets of option groups. Say I have group 'A'
which consists of following options:<br>option xyx 123;<br>option abc "<a href="http://isc.org" target="_blank">isc.org</a>";<br>option pqr
567;<br><br>and say group 'B':<br>option xyz 222;<br>option abc "<a href="http://gmail.com" target="_blank">gmail.com</a>";<br>option def
789;<br><br>So i can have same option in different groups and with different
value.<br>Now, i want to define filters having these groups.<br>Filter
1:<br>Check for client option 60 and match for the string "phone*" =>
i can use wild card in the matching string.<br>If it matches select the pool
start address as 192.168.1.100, select options from group 'B'.<br>If it
doesn't match select the pool start address as 192.168.1.200, select options
from group 'A'.<br><br>Filter 2:<br>Check for client h/w address, start:
0:0:0:0:0 end: DD:DD:DD:DD:DD:DD<br>If it matches discard the discover message
from client<br>If it doesn't match select the pool start address as
192.168.2.100, select options from group 'B'<br><br>Filter 3:<br>Check for
option 55 from client, check if it has option 66.<br>If it has, select the
pool start address as 192.168.2.100, select options from group 'A'<br>If it
doesn't, select the pool start address as 192.168.2.200, select options from
group 'B'.<br><br>Can somebody please let me know, how do I add these filters
in the ISC dhcpd.conf file ? Is it possible ?<br><br>thanks <br><font color="#888888">AK<br></font></blockquote></div><br>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>dhcp-users mailing
list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">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></div><br>