<div>God day all;</div>I would like to welcome myself to the list,  I opted for the current stable ISC DHCP 4.2.2 and CentOS 5.5.  to build a dhcp server <div><br></div><div>I need to run a script on eval of a class </div>
<div><br></div><div>from /etc/dhcpd.conf</div><div><br><div><div>  class "STxxxxxxxxxx" {</div><div>        match if ((binary-to-ascii(16,8,":",option agent.remote-id) = "x:xx:xx:xx:xx:xx") and (hardware != xx:xx:xx:xx:xx) and (hardware !=xx:xx:xx:xx:xx));</div>

<div>        spawn with option agent.remote-id;</div><div>        lease limit 1;</div><div>        if (option dhcp-message-type = 1) {</div><div><span class="Apple-tab-span" style="white-space:pre">      </span> <span class="Apple-tab-span" style="white-space:pre">   </span>execute ("/scripts/script.sh", "param1", "param2");</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span>log(info, "_____++++Script Called++++____");</div><div><span class="Apple-tab-span" style="white-space:pre">       </span> }</div><div><br></div><div>
    }</div><div><snip></div><div><br></div><div><div>#pool "STxxxxxxxxxx"</div><div> pool {</div><div>    range 10.3.1.4 10.3.1.4;</div><div>    ddns-updates off;</div><div>    filename "tests";</div>
<div>    next-server 10.9.0.7;</div><div>    option tftp-server-name "10.9.0.7";</div><div>    option routers 10.3.0.1;</div><div>    allow members of "STxxxxxxxxxx";</div><div> }</div></div><div><br></div>
<div>This works fine when there are free leases in the pool ... however when the pool has no free leases the above doesnt execute and i get the no free lease error, is this the intended behavior , or is it a bug. Or am i doing something  wrong.</div>
<div><br></div><div><br></div><div>Regards  </div><div>-- </div>IT Specialist<br>Sebastien Pascal<br>P.O Box 568<br>Roseau<br>Commonwealth of Dominica<br>
Tel  <a href="tel:767-277-2156" value="+17672772156" target="_blank">767-277-2156</a> or <a href="tel:767-315-5070" value="+17673155070" target="_blank">767-315-5070</a><br>email: <a href="mailto:sbpascal@gmail.com" target="_blank">sbpascal@gmail.com</a><br>
<br>This communication and any files attached to it may contain confidential information. If you are not the addressee and receive this communication by error, please notify the sender, dispose of this communication immediately and do not disclose or use it in any manner whatsoever.<br>

<br><div></div><br>
</div></div>