1*e332fe20SAntonio Huete Jimenez.\" $OpenBSD: src/sbin/dhclient/dhclient.leases.5,v 1.7 2012/09/22 20:09:43 jmc Exp $ 2846204b6SHasso Tepper.\" 3846204b6SHasso Tepper.\" Copyright (c) 1997 The Internet Software Consortium. 4846204b6SHasso Tepper.\" All rights reserved. 5846204b6SHasso Tepper.\" 6846204b6SHasso Tepper.\" Redistribution and use in source and binary forms, with or without 7846204b6SHasso Tepper.\" modification, are permitted provided that the following conditions 8846204b6SHasso Tepper.\" are met: 9846204b6SHasso Tepper.\" 10846204b6SHasso Tepper.\" 1. Redistributions of source code must retain the above copyright 11846204b6SHasso Tepper.\" notice, this list of conditions and the following disclaimer. 12846204b6SHasso Tepper.\" 2. Redistributions in binary form must reproduce the above copyright 13846204b6SHasso Tepper.\" notice, this list of conditions and the following disclaimer in the 14846204b6SHasso Tepper.\" documentation and/or other materials provided with the distribution. 15846204b6SHasso Tepper.\" 3. Neither the name of The Internet Software Consortium nor the names 16846204b6SHasso Tepper.\" of its contributors may be used to endorse or promote products derived 17846204b6SHasso Tepper.\" from this software without specific prior written permission. 18846204b6SHasso Tepper.\" 19846204b6SHasso Tepper.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND 20846204b6SHasso Tepper.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 21846204b6SHasso Tepper.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 22846204b6SHasso Tepper.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23846204b6SHasso Tepper.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR 24846204b6SHasso Tepper.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25846204b6SHasso Tepper.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26846204b6SHasso Tepper.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 27846204b6SHasso Tepper.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 28846204b6SHasso Tepper.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 29846204b6SHasso Tepper.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 30846204b6SHasso Tepper.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31846204b6SHasso Tepper.\" SUCH DAMAGE. 32846204b6SHasso Tepper.\" 33846204b6SHasso Tepper.\" This software has been written for the Internet Software Consortium 34846204b6SHasso Tepper.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie 35846204b6SHasso Tepper.\" Enterprises. To learn more about the Internet Software Consortium, 36846204b6SHasso Tepper.\" see ``http://www.isc.org/isc''. To learn more about Vixie 37846204b6SHasso Tepper.\" Enterprises, see ``http://www.vix.com''. 38846204b6SHasso Tepper.\" 39*e332fe20SAntonio Huete Jimenez.Dd August 7, 2014 40846204b6SHasso Tepper.Dt DHCLIENT.LEASES 5 41846204b6SHasso Tepper.Os 42846204b6SHasso Tepper.Sh NAME 43846204b6SHasso Tepper.Nm dhclient.leases 44846204b6SHasso Tepper.Nd DHCP client lease database 45846204b6SHasso Tepper.Sh DESCRIPTION 460f17c1abSFranco Fichtner.Xr dhclient 8 470f17c1abSFranco Fichtnerkeeps a persistent database of leases that it has acquired that are still 480f17c1abSFranco Fichtnervalid. 49846204b6SHasso TepperThe database is a free-form ASCII file containing one valid declaration 50846204b6SHasso Tepperper lease. 510f17c1abSFranco FichtnerThe file is written as a log, so the last declaration is the most recent 520f17c1abSFranco Fichtnerlease obtained. 53846204b6SHasso Tepper.Pp 54846204b6SHasso TepperThe lease file is named 550f17c1abSFranco Fichtner.Pa /var/db/dhclient.leases. Ns Aq Ar IFNAME , 56846204b6SHasso Tepperwhere 57846204b6SHasso Tepper.Qq IFNAME 580f17c1abSFranco Fichtnerrepresents the network interface 590f17c1abSFranco Fichtner.Xr dhclient 8 600f17c1abSFranco Fichtneracquired the lease on. 61846204b6SHasso TepperFor example, if 62846204b6SHasso Tepper.Xr dhclient 8 63846204b6SHasso Tepperis configured for the em0 network device, 64846204b6SHasso Tepperthe lease file will be named 650f17c1abSFranco Fichtner.Pa /var/db/dhclient.leases.em0 , 66846204b6SHasso Tepper.Pp 67846204b6SHasso TepperThe format of the lease declarations is described in 68846204b6SHasso Tepper.Xr dhclient.conf 5 . 69846204b6SHasso Tepper.Sh FILES 70846204b6SHasso Tepper.Bl -tag -width "/var/db/dhclient.leases.IFNAME " 710f17c1abSFranco Fichtner.It Pa /var/db/dhclient.leases. Ns Aq Ar IFNAME , 72846204b6SHasso TepperCurrent lease file. 73846204b6SHasso Tepper.El 74846204b6SHasso Tepper.Sh SEE ALSO 75846204b6SHasso Tepper.Xr dhclient.conf 5 , 76846204b6SHasso Tepper.Xr dhcp-options 5 , 77846204b6SHasso Tepper.Xr dhcpd.conf 5 , 78846204b6SHasso Tepper.Xr dhclient 8 , 79846204b6SHasso Tepper.Xr dhcpd 8 800f17c1abSFranco Fichtner.Sh STANDARDS 810f17c1abSFranco Fichtner.Rs 820f17c1abSFranco Fichtner.%A R. Droms 830f17c1abSFranco Fichtner.%D March 1997 840f17c1abSFranco Fichtner.%R RFC 2131 850f17c1abSFranco Fichtner.%T Dynamic Host Configuration Protocol 860f17c1abSFranco Fichtner.Re 87846204b6SHasso Tepper.Pp 880f17c1abSFranco Fichtner.Rs 890f17c1abSFranco Fichtner.%A S. Alexander 900f17c1abSFranco Fichtner.%A R. Droms 910f17c1abSFranco Fichtner.%D March 1997 920f17c1abSFranco Fichtner.%R RFC 2132 930f17c1abSFranco Fichtner.%T DHCP Options and BOOTP Vendor Extensions 940f17c1abSFranco Fichtner.Re 95846204b6SHasso Tepper.Sh AUTHORS 96846204b6SHasso Tepper.An -nosplit 97846204b6SHasso Tepper.Xr dhclient 8 98846204b6SHasso Tepperwas written by 991cb631f7SFranco Fichtner.An Ted Lemon Aq Mt mellon@vix.com 100846204b6SHasso Tepperunder a contract with Vixie Labs. 101846204b6SHasso Tepper.Pp 102846204b6SHasso TepperThe current implementation was reworked by 1031cb631f7SFranco Fichtner.An Henning Brauer Aq Mt henning@openbsd.org . 104