Good day

Sebastien Pascal sbpascal at
Fri Aug 26 19:06:39 UTC 2011

God day all;
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

I need to run a script on eval of a class

from /etc/dhcpd.conf

  class "STxxxxxxxxxx" {
        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
        spawn with option agent.remote-id;
        lease limit 1;
        if (option dhcp-message-type = 1) {
 execute ("/scripts/", "param1", "param2");
log(info, "_____++++Script Called++++____");


#pool "STxxxxxxxxxx"
 pool {
    ddns-updates off;
    filename "tests";
    option tftp-server-name "";
    option routers;
    allow members of "STxxxxxxxxxx";

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.

IT Specialist
Sebastien Pascal
P.O Box 568
Commonwealth of Dominica
Tel  767-277-2156 or 767-315-5070
email: sbpascal at

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list