If the lease files are lost what would be the solution?

Frank Bulk frnkblk at iname.com
Wed Apr 25 12:10:51 UTC 2007


I once accidentally deleted mine and had to re-create it (I used a Perl
script to do so).  I sourced the data from the router's ARP table and turned
on ping-ahead.  I obviously had some pain until my 50% of lease time arrive
(36 hours).

Frank 

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
Of S Kalyanasundaram
Sent: Wednesday, April 25, 2007 2:56 AM
To: dhcp-users at isc.org
Subject: If the lease files are lost what would be the solution?

Hi all,
The leases are stored in dhcpd.leases and backup is at dhcpd.leases~. For
some reason these files are lost and dont have any kind of backup of them
and again server got stopped. Say some hardware fault have come. We will
have to restart the dhcpd server without the lease database. 

Does anyone faced this kind of situation. What would be the good suggestion
for recovering this problem. 

The problem is, the existing client go for renewal and may be get a new IP
address which breaks his (connection, download or whatever). The other case
would be new clients have come up and ask for an IP and the server check for
a free IP but which is already available and mark as abandon and give some
new IP to the new client. When the original client goes for renewal of the
IP but that is already marked as abandon. So after that i guess it will get
a new IP address. 
I guess there would be some more scenarios. 

Anybody faced this kind of similar problem? Any suggestions are appreciated.


Thanks in advance,
 -"kalyan"







More information about the dhcp-users mailing list