1 .\" $OpenBSD: src/sbin/dhclient/dhclient.leases.5,v 1.7 2012/09/22 20:09:43 jmc Exp $
3 .\" Copyright (c) 1997 The Internet Software Consortium.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. Neither the name of The Internet Software Consortium nor the names
16 .\" of its contributors may be used to endorse or promote products derived
17 .\" from this software without specific prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
20 .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 .\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
24 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
27 .\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .\" This software has been written for the Internet Software Consortium
34 .\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
35 .\" Enterprises. To learn more about the Internet Software Consortium,
36 .\" see ``http://www.isc.org/isc''. To learn more about Vixie
37 .\" Enterprises, see ``http://www.vix.com''.
44 .Nd DHCP client lease database
47 keeps a persistent database of leases that it has acquired that are still
49 The database is a free-form ASCII file containing one valid declaration
51 The file is written as a log, so the last declaration is the most recent
54 The lease file is named
55 .Pa /var/db/dhclient.leases. Ns Aq Ar IFNAME ,
58 represents the network interface
60 acquired the lease on.
63 is configured for the em0 network device,
64 the lease file will be named
65 .Pa /var/db/dhclient.leases.em0 ,
67 The format of the lease declarations is described in
70 .Bl -tag -width "/var/db/dhclient.leases.IFNAME "
71 .It Pa /var/db/dhclient.leases. Ns Aq Ar IFNAME ,
85 .%T Dynamic Host Configuration Protocol
93 .%T DHCP Options and BOOTP Vendor Extensions
99 .An Ted Lemon Aq Mt mellon@vix.com
100 under a contract with Vixie Labs.
102 The current implementation was reworked by
103 .An Henning Brauer Aq Mt henning@openbsd.org .