I tried adding log:<br><table style="border-collapse: collapse; width: 280pt;" border="0" cellpadding="0" cellspacing="0" width="373"><col style="width: 280pt;" width="373"><tbody><tr style="height: 12.75pt;" height="17">
  <td style="height: 12.75pt; width: 280pt;" height="17" width="373">log (info, kind);</td>
</tr></tbody></table><br>Does anybody know where does it log to ? thanks.<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 6:51 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>Can somebody please let me know why set doesn't work in the following case ?<br>

I don't see any response from dhcpd, it should have choosen a pool for class "Crule1". Even if it didn't match it should have choosen from "Crule2A". But no response. Am I missing something ?<br>


Here is the conf file:<br>subnet 192.168.1.0 netmask 255.255.255.0 {<br><br>default-lease-time 86500;<br>max-lease-time 86500;<br>option routers 192.168.1.254;<br><br>set kind = 0;<br>    <br>if substring (option vendor-class-identifier, 0, 4) = "MSFT" {<br>


set kind = 1;<br>} elsif substring (option dhcp-option-overload, 0, 4) = "MSFT" {<br>set kind = 2;<br>} elsif not exists dhcp-option-overload {<br>set kind = 21;<br>}<br><br><br>class "Crule1" {<br>match if kind = "1";<br>


}<br><br>pool {<br>option router-discovery off;<br>option domain-name-servers 192.168.1.254, 192.168.1.202;<br>range 192.168.1.87;<br>allow members of "Crule1";<br>}<br><br>class "Crule2" {<br>match if kind = "2";<br>


}<br><br>pool {<br>option router-discovery off;<br>option domain-name-servers 192.168.1.111;<br>range 192.168.1.117;<br>allow members of "Crule2";<br>}<br><br>class "Crule2A" {<br>match if kind = "0";<br>


}<br><br>pool {<br>option router-discovery on;<br>option domain-name-servers 192.168.1.222;<br>option boot-size 512;<br>range 192.168.1.237;<br>allow members of "Crule2A";<br>}<br><br><br>}<br><br>thanks<br><font color="#888888">Ashmath <br>


</font></blockquote></div><br>