Andrea Bencini andrea.bencini at
Tue Apr 15 13:33:01 UTC 2008

> Stop the server, edit the file, start the server.
> If you are interested in keeping the historical connection between 
> client and IP address, then you could set an expiry date instead of 
> just deleting the lease. The server will automatically recover and 
> re-use expired leases as required.

I repeat you if I understand.

If I have in dhcpd.leases file
starts 5 2008/01/25 08:24:00;
ends never;
tstp 2 2038/01/19 03:14:07;

Then I can do this to modify it:

service dhcpd stop

vi dhcpd.leases
(change ends never in)
ends 5 2008/04/18 08:00:00;

service dhcpd start

Is it ok?

More information about the dhcp-users mailing list