From owner-freebsd-questions Thu Feb 24 6:21:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp25.baruch.cuny.edu (smtp25.baruch.cuny.edu [150.210.155.201]) by hub.freebsd.org (Postfix) with SMTP id 4F18A37B905 for ; Thu, 24 Feb 2000 06:21:23 -0800 (PST) (envelope-from vince@baruch.cuny.edu) Received: (qmail 2072 invoked by uid 0); 24 Feb 2000 14:09:34 -0000 Received: from newton.baruch.cuny.edu (HELO baruch.cuny.edu) (150.210.155.202) by smtp25.baruch.cuny.edu with SMTP; 24 Feb 2000 14:09:34 -0000 Received: (qmail 7438 invoked by uid 1000); 24 Feb 2000 14:21:21 -0000 Date: Thu, 24 Feb 2000 09:21:21 -0500 From: Vince Gonzalez To: Ivan Fetch Cc: "Fred J. Lomas" , "freebsd-questions@freebsd.org" Subject: Re: dhcpd Message-ID: <20000224092121.A2303@newton.baruch.cuny.edu> References: <38B40D3F.B892D646@8hill.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from ivanfetch@technologist.com on Wed, Feb 23, 2000 at 08:52:45PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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