Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 09:21:21 -0500
From:      Vince Gonzalez <vg@pobox.com>
To:        Ivan Fetch <ivanfetch@technologist.com>
Cc:        "Fred J. Lomas" <aj@8hill.com>, "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: dhcpd
Message-ID:  <20000224092121.A2303@newton.baruch.cuny.edu>
In-Reply-To: <Pine.LNX.4.20.0002231227440.989-100000@ibis.ivanfetch.tzo.com>; from ivanfetch@technologist.com on Wed, Feb 23, 2000 at 08:52:45PM -0700
References:  <38B40D3F.B892D646@8hill.com> <Pine.LNX.4.20.0002231227440.989-100000@ibis.ivanfetch.tzo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 23, 2000 at 08:52:45PM -0700, Ivan Fetch wrote:
> Hi Fred,
> 
>    The difference between the dhcp.leases and dhcp.leases~ file is that
> the file with a ~ at the end is the backup leases file.  If your
> dhcpd.leases file becomes damaged you are supposed to copy the
> dhcpd.leases~ file to dhcpd.leases instead of just using an empty
> dhcpd.leases file (so that you do not totally lose your IP
> assignments).

> On Wed, 23 Feb 2000, Fred J. Lomas wrote:
> 
> > Hi,
> >        I have a BSD box that runs 2.2.7 on it, doing dhcp, I was
> > wondering if there is a way to clear out that dhcpd.leases file so it
> > will refresh, and also there is another file that is called
> > dhcpd.leases~    what is the difference i couldn't find any?? one more
> > thing, where would I go to check my IP scope and set that up at.. any
> > ideas thanks in advanced.

From the DHCPD FAQ:


How can I remove unwanted leases?
     Q: How can I remove unwanted leases?
     A: 
	Removing leases from the file will obviously cause trouble for clients
	in that leases already belonging to clients may be
	assigned to other clients. If you're running version 2, there's
	a decent chance that some leases will be abandoned.

	Right now there's no way to force leases to go away.

--vince


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000224092121.A2303>