about /var/lib/dhcp/dhclient-eth0.leases

David W. Hankins David_Hankins at isc.org
Sat Feb 3 22:55:11 UTC 2007


On Sat, Feb 03, 2007 at 04:13:07PM +0530, hitesh sharma wrote:
>                            i have one more query, which way will be good =
> to
> store the lease information , two diff. file(eth0,eth1) or one common fil=
> e.=0D

There is no real advantage to using a single common file unless you're
going to use a single dhclient daemon (which is an advantage in saving
memory).

Even in one file, the leases are segregated by interface name.

> If  i want to use two different file , then will hv to create them my me =
> ,
> or anything else? =0D

Just provide the name of the files as a flag to dhclient.  The flags
are documented in the manpage that comes with the source distribution.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


More information about the dhcp-users mailing list