From owner-man-jp@jp.freebsd.org  Wed Apr 21 06:23:21 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) id GAA05051;
	Wed, 21 Apr 1999 06:23:21 +0900 (JST)
	(envelope-from owner-man-jp@jp.FreeBSD.org)
Received: from hiloshi.seikyou.ne.jp (kyoto-479.seikyou.ne.jp [202.211.148.34])
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) with ESMTP id GAA05046
	for <man-jp@jp.freebsd.org>; Wed, 21 Apr 1999 06:23:15 +0900 (JST)
	(envelope-from hiloshi@hiloshi.seikyou.ne.jp)
Received: (from hiloshi@localhost)
	by hiloshi.seikyou.ne.jp (8.9.2/8.9.2) id GAA01266;
	Wed, 21 Apr 1999 06:23:11 +0900 (JST)
	(envelope-from hiloshi)
Date: Wed, 21 Apr 1999 06:23:11 +0900 (JST)
Message-Id: <199904202123.GAA01266@hiloshi.seikyou.ne.jp>
References: <19990420130624F.horikawa@ebina.hitachi.co.jp>
From: =?ISO-2022-JP?B?GyRCNmIkc0VEGyhC?= <vanitas@ma3.seikyou.ne.jp>
To: man-jp@jp.freebsd.org
In-reply-to: Kazuo Horikawa's message of "Tue, 20 Apr 1999 13:06:24 +0900
	(JST)" <19990420130624F.horikawa@ebina.hitachi.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990405
X-Sequence: man-jp 1509
Subject: [man-jp 1509] Pls. follow dhclient.conf.5 (Re: Current status of section 5 and 8)
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org
X-Originator: vanitas@ma3.seikyou.ne.jp

$B6b$sED$G$9!#(B $B?=$7Lu$"$j$^$;$s!#(Bm(__)m;;;

[man-jp 1507]: $BKY@n(B $B$5$s(B
>  o $B0J2<$NDs=P$r$*4j$$$7$^$9(B > $B6b$sED$5$s(B
>    dhclient.conf.5
>    dhclient.8
>  ($BO"Mm$J$$>l9g$O!"?=$7Lu$J$$$G$9$,!"(Bman-jp-reviewer $B$N7k2L$rH?1G$5$;$F!"(B
>   $B<u$1<h$i$;$F$$$?$@$-$^$9(B)

dhclient.8 $B$O@h$[$IDs=PCW$7$^$7$?!#(B
$B:Q$_$^$;$s!"Ds=P$7K:$l$F$*$j$^$7$?!#(Bm(__;)m

dhclient.conf.5 $B$J$s$G$9$,!"<B$O$^$@H>J,$bLu$;$F$*$j$^$;$s!#(Bm(__;)m
$B$A$g$C$H@83h$,K;$7$/$J$C$F$7$^$C$F!"4V$K9g$$$=$&$K$J$$$N$G!"(B
$B?=$7Lu$"$j$^$;$s$,!"$I$J$?$+0z$-7Q$$$GD:$1$J$$$G$7$g$&$+!#(B

$B$^$@A4$/IT40A4$J$N$G$9$,!"0l1~0J2<$K8=CJ3,$N:n6H$V$s$rE:IUCW$7$^$9!#(B

$B$I$J$?$+0z$-7Q$$$G$$$?$@$1$kJ}$*$i$l$^$7$?$i!"(B
$B$A$g$C$H(B ML $B$N$[$&$,DI$$$+$1$i$l$F$$$J$$$N$G(B
$B:Q$_$^$;$s$,!"KM$K(B Cc: $B$7$F$/$@$5$$!#(B
$B$3$A$i$G$b$J$k$Y$/:n6H$r?J$a$F$=$NCJ3,$G$NLu$r$*EO$7CW$7$^$9!#(B

$B>!<j$JMj$_$G$9$,!"$I$&$+$h$m$7$/$*4j$$$7$^$9!#(B_(_ _;)_
___________________________________________
$B6bED(B $B9@;J(B  email: vanitas@ma3.seikyou.ne.jp
$B!|(B============================== $B0J2<(B ==============================$B!|(B
.\"	dhclient.conf.5
.\"
.\" Copyright (c) 1997 The Internet Software Consortium.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\"
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\"    of its contributors may be used to endorse or promote products derived
.\"    from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED.  IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises.  To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''.  To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.\" jpman %Id: dhclient.conf.5,v 0.0 1999/03/14 04:06:54 horikawa Stab %
.\" "
.TH dhclient.conf 5
.SH $BL>>N(B
dhclient.conf - DHCP $B%/%i%$%"%s%H@_Dj%U%!%$%k(B
.SH $B2r@b(B
dhclient.conf $B%U%!%$%k$K$O(B
Internet Software Consortium $B$N(B DHCP $B%/%i%$%"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HH=CG$7$F$+$i(B
$B:F$S(B DHCP $B$K%"%/%;%9$r;n$_$k$^$G$N4V$K!"7P2a$9$k$Y$-;~4V$r7h$a$^$9!#(B
$B%G%U%)%k%H$G$O!"$3$l$O(B 5 $BJ,$G$9!#(B
.PP
.I The
.B select-timeout
.I statement
.PP
 \fBselect-timeout \fItime\fR\fB;\fR
.PP
$B$"$k%M%C%H%o!<%/>e$G!"J#?t$N(B DHCP $B%5!<%P$,%5!<%S%9$rDs6!$9$k$3$H$b$G$-$^$9(B()$B!#(B
It is possible (some might say desirable) for there to be more than
one DHCP server serving any given network.
$B$=$N>l9g!"(Binitial lease discovery message $B$X$N1~Ez$G!"(B
$B%/%i%$%"%s%H$KJ#?t$NDs6!$,Aw$i$l$k$3$H$b$"$jF@$^$9!#(B
$B$=$l$i$NDs6!$NFb!"$$$:$l$+$,B>$NDs6!$h$j$b9%$^$7$$$+$b$7$l$^$;$s!#(B
($BNc$($P!"%/%i%$%"%s%H$,0JA0;HMQ$7$F$$$?%"%I%l%9$r$"$kDs6!$,;}$C$F$*$j!"(B
$BB>$NDs6!$,;}$C$F$$$J$$$J$I(B)$B!#(B
.PP
.I select-timeout
$B$O%/%i%$%"%s%H$,(B first lease discovery request $B$rAw?.$7$F$+$i!"(B
$B>/$J$/$H$b(B 1 $B$D$ODs6!$r<u$1<h$C$?$HA[Dj$7$F(B
$B%5!<%P$+$i$NDs6!$rBT$D$3$H$r$d$a$k$^$G$N;~4V$G$9!#(B
$B$b$7(B
.I select-timeout
$B$,@Z$l$k$^$G$K$I$3$+$i$bDs6!$r<u$1<h$l$J$1$l$P!"(B
$B%/%i%$%"%s%H$O:G=i$KE~C#$9$kDs6!$r<u$1F~$l$k$h$&$K$J$j$^$9!#(B
.PP
$B%G%U%)%k%H$G$O!"(Bselect-timeout $BCM$O(B 0 $BIC$G$9!#(B
$B$D$^$j%/%i%$%"%s%H$O:G=i$K<u$1<h$kDs6!$r<u$1F~$l$^$9!#(B
.PP
.I The
.B reboot
.I statement
.PP
 \fBreboot \fItime\fR\fB;\fR
.PP
$B%/%i%$%"%s%H$,:F5/F0$7$?$H$-!"(B
$B$^$::G8e$KJ];}$7$F$$$?%"%I%l%9$r<hF@$7D>$=$&$H$7$^$9!#(B
$B$3$l$r=i4|%j%V!<%H>uBV$H8F$S$^$9!#(B
$B:G8e$KF0:n$7$F$$$?$H$-$HF1$8%M%C%H%o!<%/$K(B
$B%/%i%$%"%s%H$,$^$@@\B3$7$F$$$l$P!"$3$l$O:G$bAGAa$$5/F0K!$H$J$j$^$9!#(B
.I reboot
$BJ8$O!"%/%i%$%"%s%H$,:G=i$K8E$$%"%I%l%9$N:F<hF@$r;n$_$F$+$i(B
$B$"$-$i$a$F?7$7$$%"%I%l%9$r(B discover $B$7$h$&$H$9$k$^$G$K!"(B
$B7P2a$9$k$Y$-;~4V$r@_Dj$7$^$9!#(B
$B%G%U%)%k%H$G$O!"(Breboot $B%?%$%`%"%&%HCM$O(B 10 $BIC$G$9!#(B
.PP
.I The
.B backoff-cutoff
.I statement
.PP
 \fBbackoff-cutoff \fItime\fR\fB;\fR
.PP
The client uses an exponential backoff algorithm with some randomness,
so that if many clients try to configure themselves at the same time,
they will not make their requests in lockstep.   The
.I backoff-cutoff
statement determines the maximum amount of time that the client is
allowed to back off.   It defaults to two minutes.
.PP
.I The
.B initial-interval
.I statement
.PP
 \fBinitial-interval \fItime\fR\fB;\fR
.PP
The
.I initial-interval
$BJ8$O!"%5!<%P$X$N:G=i$N%"%/%;%9$N;n$_$+$i<!$N;n$_$^$G$N;~4V$r@_Dj$7$^$9!#(B
Each time a message
is sent, the interval between messages is incremented by twice the
current interval multiplied by a random number between zero and one.
If it is greater than the backoff-cutoff amount, it is set to that
amount.  It defaults to ten seconds.
.SH LEASE REQUIREMENTS AND REQUESTS
DHCP $B%W%m%H%3%k$G$O!"FCDj$N>pJs$rAw$k$h$&%/%i%$%"%s%H$,%5!<%P$KMW5a$7$?$j!"(B
$B<u$1F~$l=`Hw$N$G$-$F$$$J$$B>$N>pJs$OAw$i$J$$$h$&$KMW5a$7$?$j$G$-$^$9!#(B
$B$^$?!"%5!<%P$+$i$NDs6!$,%/%i%$%"%s%H$NI,MW$H$9$k>pJs$r4^$s$G$$$J$+$C$?$j(B
$BDs6!$5$l$?>pJs$,=<J,$G$J$1$l$P!"%/%i%$%"%s%H$O5qH]$9$k$3$H$b$G$-$^$9!#(B
.PP
DHCP $B%5!<%P$,(B DHCP $B%/%i%$%"%s%H$KAw$kDs6!$K$OMM!9$J%G!<%?$,4^$^$l$^$9!#(B
$BFCJL$KMW5a$G$-$k%G!<%?$O(B \fIDHCP $B%*%W%7%g%s(B\fR $B$H8F$P$l$k$b$N$G$9!#(B
DHCP $B%*%W%7%g%s$O(B
 \fBdhcp-options(5)\fR
$B$KDj5A$5$l$F$$$^$9!#(B
.PP
.I The
.B request
.I statement
.PP
 \fBrequest [ \fIoption\fR ] [\fB,\fI ... \fIoption\fR ]\fB;\fR
.PP
request $BJ8$G!"%/%i%$%"%s%H$O%/%i%$%"%s%H$K1~Ez$7$F$$$k%5!<%P$K(B
$B;XDj$7$?%*%W%7%g%s$NCM$rAw$k$h$&MW5a$7$^$9!#(B
request $BJ8$K$O%*%W%7%g%sL>$@$1$r;XDj$7!"%*%W%7%g%s%Q%i%a!<%?$O;XDj$7$^$;$s!#(B
.PP
.I The
.B require
.I statement
.PP
 \fBrequire [ \fIoption\fR ] [\fB,\fI ... \fIoption ]\fB;\fR
.PP
require $BJ8$K$O!"Ds6!$r<u$1F~$l$k$?$a$KAw$i$l$k$Y$-%*%W%7%g%s$rNs5s$7$^$9!#(B
$BNs5s$5$l$?%*%W%7%g%s$9$Y$F$r4^$^$J$$Ds6!$OL5;k$5$l$^$9!#(B
.PP
.I The
.B send
.I statement
.PP
 \fBsend { [ \fIoption declaration\fR ]
[\fB,\fI ... \fIoption declaration\fR ]\fB}\fR
.PP
send $BJ8$G$O!"(B
$B;XDj$7$?%*%W%7%g%s$r;XDj$7$?CM$G%/%i%$%"%s%H$,%5!<%P$KAw?.$7$^$9!#(B
\fBdhcp-options(5)\fR $B$G2r@b$5$l$F$$$k$H$*$j!"(B
$B$?$/$5$s$N%*%W%7%g%s@k8@$,$"$j$^$9!#(B
$B$$$D$b(B DHCP $B%W%m%H%3%k$GAw$k$h$&$J%*%W%7%g%s$O(B
$B$3$3$K;XDj$9$k$Y$-$G$O$"$j$^$;$s!#(B
Options that are
always sent in the DHCP protocol should not be specified here, except
that the client can specify a \fBrequested-lease-time\fR option other
than the default requested lease time, which is two hours.  The other
obvious use for this statement is to send information to the server
that will allow it to differentiate between this client and other
clients or kinds of clients.
.SH $B%*%W%7%g%s=$>~;R(B
$B>l9g$K$h$C$F$O%/%i%$%"%s%H$O!"(B
$B$=$N%/%i%$%"%s%H$K$H$C$F(B really $BE,@Z$G$J$$%5!<%P$+$i%*%W%7%g%s%G!<%?$r(B
$B<u$1<h$C$?$j!"(B
In some cases, a client may receive option data from the server which
is not really appropriate for that client, or may not receive
information that it needs, and for which a useful default value
exists.
$B$^$?!"<BMQE*$G$O$"$k$,%m!<%+%k$N>pJs$GJd$&I,MW$N$"$k$h$&$J>pJs$r(B
$B<u$1$H$k$3$H$b$"$k$+$b$7$l$^$;$s!#(B
$B$=$&$$$C$?I,MW@-$r=hM}$9$k$?$a$K!"(B
$B$$$/$D$+$N%*%W%7%g%s=$>~;R$,MxMQ$G$-$^$9!#(B
.PP
.I The
.B default
.I statement
.PP
 \fBdefault { [ \fIoption declaration\fR ]
[\fB,\fI ... \fIoption declaration\fR ]\fB}\fR
.PP
$B$$$/$D$+$N%*%W%7%g%s72$K$D$$$F!"(B
$B%5!<%P$+$iDs6!$5$l$kCM$r%/%i%$%"%s%H$,;H$o$J$1$l$P$J$i$J$$$,!"(B
$B$b$7%5!<%P$+$iCM$,Ds6!$5$l$J$1$l$P(B
$B2?$i$+$N%G%U%)%k%HCM$r;H$&I,MW$,$"$k>l9g!"(B
$B$=$l$i$NCM$r(B
.B default
$BJ8$GDj5A$9$k$3$H$,$G$-$^$9!#(B
.PP
.I The
.B supersede
.I statement
.PP
 \fBsupersede { [ \fIoption declaration\fR ]
[\fB,\fI ... \fIoption declaration\fR ]\fB}\fR
.PP
$B$$$/$D$+$N%*%W%7%g%s72$K$D$$$F!"(B
$B%5!<%P$+$iDs6!$5$l$kCM$G$O$J$/!"(B
$B>o$K%/%i%$%"%s%H<+?H$NCM$r;H$o$J$1$l$P$J$i$J$$>l9g!"(B
$B$=$l$i$NCM$r(B
.B supersede
$BJ8$GDj5A$9$k$3$H$,$G$-$^$9!#(B
.PP
.I The
.B prepend
.I statement
.PP
 \fBprepend { [ \fIoption declaration\fR ]
[\fB,\fI ... \fIoption declaration\fR ]\fB}\fR
.PP
$B$$$/$D$+$N%*%W%7%g%s72$K$D$$$F!"(B
If for some set of options the client should first a value it
supplies, and then use the values supplied by
the server, if any, these values can be defined in the
.B prepend
statement.   The
.B prepend
$BJ8$OJ#?t$NCM$r<h$k$3$H$N$G$-$k%*%W%7%g%s$K$N$_MQ$$$k$3$H$,$G$-$^$9!#(B
.PP
.I The
.B append
.I statement
.PP
 \fBappend { [ \fIoption declaration\fR ]
[\fB,\fI ... \fIoption declaration\fR ]\fB}\fR
.PP
$B$$$/$D$+$N%*%W%7%g%s72$K$D$$$F!"(B
If for some set of options the client should first a value it
supplies, and then use the values supplied by
the server, if any, these values can be defined in the
.B append
statement.   The
.B append
$BJ8$OJ#?t$NCM$r<h$k$3$H$N$G$-$k%*%W%7%g%s$K$N$_MQ$$$k$3$H$,$G$-$^$9!#(B
.SH LEASE DECLARATIONS
.PP
.I The
.B lease
.I declaration
.PP
 \fBlease {\fR \fIlease-declaration\fR [ ... \fIlease-declaration ] \fB}\fR
.PP
$B$"$k;~4V(B (\fBPROTOCOL TIMING\fR $B;2>H(B) $B$N8e!"(BDHCP $B%/%i%$%"%s%H$O(B
$B%5!<%P$K%"%/%;%9$9$k$3$H$K@.8y$7$=$&$K$J$$$HH=CG$9$k$+$b$7$l$^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j%U%!%$%k$K;XDj$9$kI,MW$OA4$/$"$j$^$;$s!#(B
$B%/%i%$%"%s%H$O$3$N%7%s%?%C%/%9$r%j!<%9%G!<%?%Y!<%9%U%!%$%kFb$G;H$$$^$9!#(B
.PP
 \fBinterface\fR \fB"\fR\fIstring\fR\fB";\fR
.PP
.B interface
lease $BJ8$O!"%j!<%9$,M-8z$J%$%s%?%U%'!<%9$r<($7$^$9!#(B
If set, this lease will only be tried on a particular
interface.
$B%5!<%P$+$i%j!<%9$r<u$1<h$C$?$H$-!"(B
$B%/%i%$%"%s%H$O>o$K$=$N%j!<%9$r<u$1<h$C$?%$%s%?%U%'!<%9$NHV9f$r5-O?$7$^$9!#(B
$B$b$7(B dhclient.conf $B%U%!%$%k$G(B predefined $B%j!<%9$,;XDj$5$l$F$$$l$P!"(B
If predefined leases are specified in the dhclient.conf file, the
interface should also be specified, although this is not required.
.PP
 \fBfixed-address\fR \fIip-address\fR\fB;\fR
.PP
.B fixed-address
$BJ8$OFCDj$N%j!<%9$N(B IP $B%"%I%l%9$r;XDj$9$k$N$K;H$$$^$9!#(B
$B$3$l$O$9$Y$F$N(B lease $BJ8$KI,MW$G$9!#(B
IP $B%"%I%l%9$O(B (12.34.56.78 $B$N$h$&$K(B) $B%I%C%HIU$-(B 4 $B$DAH7A<0$G(B
$B;XDj$7$J$1$l$P$J$j$^$;$s!#(B
.PP
 \fBfilename "\fR\fIstring\fR\fB";\fR
.PP
.B filename
$BJ8$O;HMQ$9$k%V!<%H%U%!%$%kL>$r;XDj$7$^$9!#(B
$B$3$l$OI8=`$N%/%i%$%"%s%H@_Dj%9%/%j%W%H$G$O;H$o$l$^$;$s$,!"(B
$B40A4$r4|$9$?$a$K4^$^$l$F$$$^$9!#(B
.PP
 \fBserver-name "\fR\fIstring\fR\fB";\fR
.PP
.B server-name
$BJ8$O;HMQ$9$k%V!<%H%5!<%PL>$r;XDj$7$^$9!#(B
$B$3$l$bI8=`$N%/%i%$%"%s%H@_Dj%9%/%j%W%H$G$O;H$o$l$^$;$s!#(B
.PP
 \fBoption\fR \fIoption-declaration\fR\fB;\fR
.PP
.B option
$BJ8$O!"%5!<%P$+$iDs6!$5$l$k%*%W%7%g%s$NCM$r;XDj$9$k$N$K;H$$$^$9!#(B
$B$"$k$$$O!"(Bdhclient.conf $B$G(B predefined $B%j!<%9$,(B declared $B$5$l$F$$$k>l9g$K$O!"(B
predefined $B%j!<%9$,;H$o$l$k:]$K%/%i%$%"%s%H@_Dj%9%/%j%W%H$,;H$&$h$&(B
$B%f!<%6$,K>$`CM$r;XDj$7$^$9!#(B
.PP
 \fBscript "\fIscript-name\fB";\fR
.PP
.B script
$BJ8$O(B dhcp $B%/%i%$%"%s%H@_Dj%9%/%j%W%H$N%Q%9L>$r;XDj$9$k$N$K;H$$$^$9!#(B
$B$3$N%9%/%j%W%H$O!"%"%I%l%9$rMW5a$7$?$j!"Ds6!$5$l$?%"%I%l%9$r;n$7$?$j!"(B
$B%j!<%9$r<hF@$7$F$+$i%$%s%?%U%'!<%9$N:G=*@_Dj$r9T$C$?$j$9$kA0$K!"(B
dhcp $B%/%i%$%"%s%H$,3F%$%s%?%U%'!<%9$N=i4|@_Dj$r9T$&$N$K;H$$$^$9!#(B
$B%j!<%9$,<hF@$G$-$J$+$C$?>l9g$K$O!"(B
predefined $B%j!<%9$,B8:_$9$k$J$i$=$l$i$r;n$9$?$a$K$3$N%9%/%j%W%H$,;H$o$l$^$9!#(B
$B$^$?!"M-8z$J%j!<%9$,$R$H$D$b(B
If
no lease is acquired, the script is used to test predefined leases, if
any, and also called once if no valid lease can be identified.
$B$h$j>\$7$/$O!"(B
.B dhclient-lease(8)
$B$r;2>H$7$F$/$@$5$$!#(B
.PP
 \fBmedium "\fImedia setup\fB";\fR
.PP
.B medium
$BJ8$O!"@\B3$5$l$F$$$k%M%C%H%o!<%/$N%?%$%W$r%M%C%H%o!<%/%$%s%?%U%'!<%9$,(B
$B<+F0E*$KH=CG$G$-$J$$$h$&$J%7%9%F%`$G;H$&$3$H$,$G$-$^$9!#(B
$BJ8;zNs(B media setup $B$O%7%9%F%`0MB8$N%Q%i%a!<%?$G!"(B
$B%$%s%?%U%'!<%9=i4|2=$N:]$K(B dhcp $B%/%i%$%"%s%H@_Dj%9%/%j%W%H$KEO$5$l$^$9!#(B
Unix $B$*$h$S(B Unix $BIw$N%7%9%F%`$G$O!"(B
$B$3$N0z?t$O%$%s%?%U%'!<%9$r@_Dj$9$k$H$-$K(B ifconfig $B%3%^%s%I%i%$%s$KEO$5$l$^$9!#(B
.PP
dhcp $B%/%i%$%"%s%H$O(B
client automatically declares this parameter if it used a
media type (
.B media
$BJ8$r;2>H(B) when configuring the interface in order to obtain a lease.
This statement should be used in predefined leases only if the network
interface requires media type configuration.
.PP
 \fBrenew\fR \fIdate\fB;\fR
.PP
 \fBrebind\fR \fIdate\fB;\fR
.PP
 \fBexpire\fR \fIdate\fB;\fR
.PP
The \fBrenew\fR statement defines the time at which the dhcp client
should begin trying to contact its server to renew a lease that it is
using.   The \fBrebind\fR statement defines the time at which the dhcp
client should begin to try to contact \fIany\fR dhcp server in order
to renew its lease.   The \fBexpire\fR statement defines the time at
which the dhcp client must stop using a lease if it has not been able
to contact a server in order to renew it.
.PP
These declarations are automatically set in leases acquired by the
DHCP client, but must also be configured in predefined leases - a
predefined lease whose expiry time has passed will not be used by the
DHCP client.
.PP
Dates are specified as follows:
.PP
 \fI<weekday> <year>\fB/\fI<month>\fB/\fI<day>
<hour>\fB:\fI<minute>\fB:\fI<second>\fR
.PP
The weekday is present to make it easy for a human to tell when a
lease expires - it's specified as a number from zero to six, with zero
being Sunday.  When declaring a predefined lease, it can always be
specified as zero.  The year is specified with the century, so it
should generally be four digits except for really long leases.  The
month is specified as a number starting with 1 for January.  The day
of the month is likewise specified starting with 1.  The hour is a
number between 0 and 23, the minute a number between 0 and 69, and the
second also a number between 0 and 69.
.SH ALIAS DECLARATIONS
 \fBalias { \fI declarations ... \fB}\fR
.PP
Some DHCP clients running TCP/IP roaming protocols may require that in
addition to the lease they may acquire via DHCP, their interface also
be configured with a predefined IP alias so that they can have a
permanent IP address even while roaming.   The Internet Software
Consortium DHCP client doesn't support roaming with fixed addresses
directly, but in order to facilitate such experimentation, the dhcp
client can be set up to configure an IP alias using the
.B alias
declaration.
.PP
The alias declaration resembles a lease declaration, except that
options other than the subnet-mask option are ignored by the standard
client configuration script, and expiry times are ignored.  A typical
alias declaration includes an interface declaration, a fixed-address
declaration for the IP alias address, and a subnet-mask option
declaration.   A medium statement should never be included in an alias
declaration.
.SH OTHER DECLARATIONS
 \fBreject \fIip-address\fB;\fR
.PP
The reject statement causes the DHCP client to reject offers from
servers who use the specified address as a server identifier.   This
can be used to avoid being configured by rogue or misconfigured dhcp
servers, although it should be a last resort - better to track down
the bad DHCP server and fix it.
.PP
 \fBinterface "\fIname\fB" { \fIdeclarations ... \fB }
.PP
A client with more than one network interface may require different
behaviour depending on which interface is being configured.   All
timing parameters and declarations other than lease and alias
declarations can be enclosed in an interface declaration, and those
parameters will then be used only for the interface that matches the
specified name.   Interfaces for which there is no interface
declaration will use the parameters declared outside of any interface
declaration, or the default settings.
.PP
 \fBmedia "\fImedia setup\fB"\fI [ \fB, "\fImedia setup\fB", \fI... ]\fB;\fR
.PP
The
.B media
statement defines one or more media configuration parameters which may
be tried while attempting to acquire an IP address.   The dhcp client
will cycle through each media setup string on the list, configuring
the interface using that setup and attempting to boot, and then trying
the next one.   This can be used for network interfaces which aren't
capable of sensing the media type unaided - whichever media type
succeeds in getting a request to the server and hearing the reply is
probably right (no guarantees).
.PP
The media setup is only used for the initial phase of address
acquisition (the DHCPDISCOVER and DHCPOFFER packtes).   Once an
address has been acquired, the dhcp client will record it in its lease
database and will record the media type used to acquire the address.
Whenever the client tries to renew the lease, it will use that same
media type.   The lease must expire before the client will go back to
cycling through media types.
.SH SAMPLE
The following configuration file is used on a laptop running NetBSD
1.3.   The laptop has an IP alias of 192.5.5.213, and has one
interface, ep0 (a 3com 3C589C).   Booting intervals have been
shortened somewhat from the default, because the client is known to
spend most of its time on networks with little DHCP activity.   The
laptop does roam to multiple networks.

.nf

timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
reject 192.33.137.209;

interface "ep0" {
    send host-name "andare.fugue.com";
    send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
    send dhcp-lease-time 3600;
    supersede domain-name "fugue.com rc.vix.com home.vix.com";
    prepend domain-name-servers 127.0.0.1;
    request subnet-mask, broadcast-address, time-offset, routers,
	    domain-name, domain-name-servers, host-name;
    require subnet-mask, domain-name-servers;
    script "/sbin/dhclient-script";
    media "media 10baseT/UTP", "media 10base2/BNC";
}

alias {
  interface "ep0";
  fixed-address 192.5.5.213;
  option subnet-mask 255.255.255.255;
}
.fi
This is a very complicated dhclient.conf file - in general, yours
should be much simpler.   In many cases, it's sufficient to just
create an empty dhclient.conf file - the defaults are usually fine.
.SH $B4XO"9`L\(B
dhcp-options(5), dhclient.leases(5), dhclient(8), RFC2132,
RFC2131
.SH $B:n<T(B
.B dhclient(8)
$B$O(B Vixie Labs $B$H$NO"Mm$N2<(B Ted Lemon <mellon@vix.com> $B$,=q$-$^$7$?!#(B
$BK\%W%m%8%'%/%H$N4p6b$O(B Internet Software Corporation $B$K$h$jDs6!$5$l$^$7$?!#(B
Internet Software Consortium $B$K4X$9$k>pJs$O(B
.B http://www.isc.org/isc
$B$K$"$j$^$9!#(B
