Never expire leases.

Keith kwoody at citytel.net
Fri Apr 17 22:41:48 UTC 2009


I have about 10 IP's that are part of a /24 that somehow are set to never
expire in a dhcpd.leases file and it is causing a bit of pain.

lease 209.145.126.22 {
  starts 1 2008/10/27 20:05:10;
  ends never;
  tstp 2 2038/01/19 03:14:07;
  binding state active;
  next binding state free;
  hardware ethernet 00:1c:df:cf:e4:59;
}

Can I just stop dhcpd and edit the lease file and delete these leases and
restart dhcpd? I know its not good to edit the lease file, but I don't see
any other choice here.

Thanks,
Keith



More information about the dhcp-users mailing list