diff options
Diffstat (limited to 'contrib/isc-dhcp/client/dhclient.conf.5')
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.conf.5 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.conf.5 b/contrib/isc-dhcp/client/dhclient.conf.5 index 691908193e00..3e3e6ce65018 100644 --- a/contrib/isc-dhcp/client/dhclient.conf.5 +++ b/contrib/isc-dhcp/client/dhclient.conf.5 @@ -179,7 +179,7 @@ needs, or if the information provided is not satisfactory. There is a variety of data contained in offers that DHCP servers send to DHCP clients. The data that can be specifically requested is what are called \fIDHCP Options\fR. DHCP Options are defined in - \fBdhcp-options(5)\fR. +\fBdhcp-options(5)\fR. .PP .I The .B request @@ -294,7 +294,7 @@ enforced - if you ignore it, the behaviour will be unpredictable. \fBlease {\fR \fIlease-declaration\fR [ ... \fIlease-declaration ] \fB}\fR .PP The DHCP client may decide after some period of time (see \fBPROTOCOL -TIMING\fR) decide that it is not going to succeed in contacting a +TIMING\fR) that it is not going to succeed in contacting a server. At that time, it consults its own database of old leases and tests each one that has not yet timed out by pinging the listed router for that lease to see if that lease could work. It is possible to @@ -380,7 +380,7 @@ interface's final configuration once a lease has been acquired. 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. For more information, see -.B dhclient-lease(8). +.B dhclient.leases(5). .PP \fBmedium "\fImedia setup\fB";\fR .PP @@ -394,7 +394,7 @@ initializing the interface. On Unix and Unix-like systems, the argument is passed on the ifconfig command line when configuring te interface. .PP -The dhcp client automatically declares this parameter if it used a +The dhcp client automatically declares this parameter if it uses a media type (see the .B media statement) when configuring the interface in order to obtain a lease. @@ -432,8 +432,8 @@ 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. +number between 0 and 23, the minute a number between 0 and 59, and the +second also a number between 0 and 59. .SH ALIAS DECLARATIONS \fBalias { \fI declarations ... \fB}\fR .PP @@ -457,7 +457,9 @@ declaration. .SH OTHER DECLARATIONS \fBreject \fIip-address\fB;\fR .PP -The reject statement causes the DHCP client to reject offers from +The +.B 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 @@ -488,7 +490,7 @@ 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 +acquisition (the DHCPDISCOVER and DHCPOFFER packets). 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 @@ -520,7 +522,7 @@ interface "ep0" { request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; - script "/etc/dhclient-script"; + script "/sbin/dhclient-script"; media "media 10baseT/UTP", "media 10base2/BNC"; } @@ -534,8 +536,8 @@ 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 SEE ALSO -dhcp-options(5), dhclient.leases(5), dhcpd(8), dhcpd.conf(5), RFC2132, -RFC2131. +dhcp-options(5), dhclient.leases(5), dhclient(8), RFC2132, +RFC2131 .SH AUTHOR .B dhclient(8) was written by Ted Lemon <mellon@vix.com> |