on expiry

Jon Otterholm jon.otterholm at ide.resurscentrum.se
Thu Sep 21 14:45:16 UTC 2006


When using the "on expiry"-event in dhcpd the dhcpd-daemon exits with:

dhcpd: bogus statement type 21

This is my conf:

option domain-name "example.org";

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;


subnet netmask {
  option routers;
  default-lease-time 60;
  max-lease-time 7200;

on commit { exec("/usr/scripts/bridge0/commit.sh", binary-to-ascii(10, 
8, ".", leased-address));

on expiry { exec("/usr/scripts/bridge0/release.sh", binary-to-ascii(10, 
8, ".", leased-address));

When I remove the "on expiry"-event it works fine.

I have worked on this for days now without a solution.

Any suggestions out there?


More information about the dhcp-users mailing list