Koozali.org: home of the SME Server

Lanlord DHCP Leases

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Lanlord DHCP Leases
« on: May 15, 2005, 05:18:04 PM »
Is there a way to purge the expired leases?

Thanks,

Chris Buechler

cc_skavenger

Lanlord DHCP Leases
« Reply #1 on: May 16, 2005, 02:17:37 AM »
This is the only way I know:

/etc/rc.d/init.d/dhcpd stop

rm /var/lib/dhcp/dhcpd.*

touch /var/lib/dhcp/dhcpd.leases

/etc/rc.d/init.d/dhcpd start


HTH

Offline mdo

  • *
  • 355
  • +0/-0
use dhcpmanager instead?
« Reply #2 on: May 16, 2005, 08:59:55 PM »
There is a contrib available called e-smith-dhcpmanager which allows very nicely to purge leases (from server-manager). Have a search and you will find links here on contrib.org.
Michael
...