| 23 |
23 |
.\"
|
| 24 |
24 |
.\" $Id: dhclient.8,v 1.12.2.9 2004/09/29 23:01:46 dhankins Exp $
|
| 25 |
25 |
.\"
|
|
26 |
.\" Portions copyright (c) 2000 David E. O'Brien.
|
|
27 |
.\" All rights reserved.
|
|
28 |
.\" $FreeBSD: ports/net/isc-dhcp3-server/files/patch-client::dhclient.8,v 1.3 2004/03/22 23:33:09 des Exp $
|
|
29 |
.\"
|
| 26 |
30 |
.TH dhclient 8
|
| 27 |
31 |
.SH NAME
|
| 28 |
32 |
dhclient - Dynamic Host Configuration Protocol Client
|
| ... | ... | |
| 33 |
37 |
.I port
|
| 34 |
38 |
]
|
| 35 |
39 |
[
|
|
40 |
.B -D
|
|
41 |
]
|
|
42 |
[
|
| 36 |
43 |
.B -d
|
| 37 |
44 |
]
|
| 38 |
45 |
[
|
| 39 |
46 |
.B -q
|
| 40 |
47 |
]
|
| 41 |
48 |
[
|
|
49 |
.B -v
|
|
50 |
]
|
|
51 |
[
|
| 42 |
52 |
.B -1
|
| 43 |
53 |
]
|
| 44 |
54 |
[
|
| ... | ... | |
| 69 |
79 |
relay
|
| 70 |
80 |
]
|
| 71 |
81 |
[
|
|
82 |
.B -i
|
|
83 |
interval
|
|
84 |
]
|
|
85 |
[
|
| 72 |
86 |
.B -n
|
| 73 |
87 |
]
|
| 74 |
88 |
[
|
| ... | ... | |
| 153 |
167 |
configuration file or on the command line, and will ignore all other
|
| 154 |
168 |
interfaces.
|
| 155 |
169 |
.PP
|
|
170 |
The
|
|
171 |
.B -D
|
|
172 |
flag causes
|
|
173 |
.B dhclient
|
|
174 |
to save the script it creates for use in conjunction with
|
|
175 |
.B dhclient-script
|
|
176 |
in
|
|
177 |
.IR /tmp.
|
|
178 |
.PP
|
| 156 |
179 |
If the DHCP client should listen and transmit on a port other than the
|
| 157 |
180 |
standard (port 68), the
|
| 158 |
181 |
.B -p
|
| ... | ... | |
| 176 |
199 |
flag, followed by the IP address to send. This is only useful for testing,
|
| 177 |
200 |
and should not be expected to work in any consistent or useful way.
|
| 178 |
201 |
.PP
|
|
202 |
On FreeBSD, dhclient can be enabled to automatically handle the
|
|
203 |
link status of the network card. Normally polling is done every
|
|
204 |
five seconds. The polling interval can be set using the
|
|
205 |
.B -i
|
|
206 |
flag, followed by the numbers of seconds. Minimum is one second.
|
|
207 |
.PP
|
| 179 |
208 |
The DHCP client will normally run in the foreground until it has
|
| 180 |
209 |
configured an interface, and then will revert to running in the
|
| 181 |
210 |
background. To run force dhclient to always run as a foreground
|
| ... | ... | |
| 193 |
222 |
.B -q
|
| 194 |
223 |
flag prevents any messages other than errors from being printed to the
|
| 195 |
224 |
standard error descriptor.
|
|
225 |
.B -v
|
|
226 |
flag turns on all messages.
|
|
227 |
Opposite of
|
|
228 |
.B -q .
|
| 196 |
229 |
.PP
|
| 197 |
230 |
The client normally doesn't release the current lease as it is not
|
| 198 |
231 |
required by the DHCP protocol. Some cable ISPs require their clients
|
| ... | ... | |
| 235 |
268 |
.B -w
|
| 236 |
269 |
flag can be used to cause the client not to exit when it doesn't find
|
| 237 |
270 |
any such interfaces. The
|
| 238 |
|
.B omshell (8)
|
|
271 |
.B omshell (1)
|
| 239 |
272 |
program can then be used to notify the client when a network interface
|
| 240 |
273 |
has been added or removed, so that the client can attempt to configure an IP
|
| 241 |
274 |
address on that interface.
|