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>Ashmath <br>