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">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">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>AK<br>