Bug #413 ยป dhclient.8.patch
dhclient.8 2006-12-19 11:47:00.000000000 +0100 | ||
---|---|---|
.\"
|
||
.\" $Id: dhclient.8,v 1.12.2.9 2004/09/29 23:01:46 dhankins Exp $
|
||
.\"
|
||
.\" Portions copyright (c) 2000 David E. O'Brien.
|
||
.\" All rights reserved.
|
||
.\" $FreeBSD: ports/net/isc-dhcp3-server/files/patch-client::dhclient.8,v 1.3 2004/03/22 23:33:09 des Exp $
|
||
.\"
|
||
.TH dhclient 8
|
||
.SH NAME
|
||
dhclient - Dynamic Host Configuration Protocol Client
|
||
... | ... | |
.I port
|
||
]
|
||
[
|
||
.B -D
|
||
]
|
||
[
|
||
.B -d
|
||
]
|
||
[
|
||
.B -q
|
||
]
|
||
[
|
||
.B -v
|
||
]
|
||
[
|
||
.B -1
|
||
]
|
||
[
|
||
... | ... | |
relay
|
||
]
|
||
[
|
||
.B -i
|
||
interval
|
||
]
|
||
[
|
||
.B -n
|
||
]
|
||
[
|
||
... | ... | |
configuration file or on the command line, and will ignore all other
|
||
interfaces.
|
||
.PP
|
||
The
|
||
.B -D
|
||
flag causes
|
||
.B dhclient
|
||
to save the script it creates for use in conjunction with
|
||
.B dhclient-script
|
||
in
|
||
.IR /tmp.
|
||
.PP
|
||
If the DHCP client should listen and transmit on a port other than the
|
||
standard (port 68), the
|
||
.B -p
|
||
... | ... | |
flag, followed by the IP address to send. This is only useful for testing,
|
||
and should not be expected to work in any consistent or useful way.
|
||
.PP
|
||
On FreeBSD, dhclient can be enabled to automatically handle the
|
||
link status of the network card. Normally polling is done every
|
||
five seconds. The polling interval can be set using the
|
||
.B -i
|
||
flag, followed by the numbers of seconds. Minimum is one second.
|
||
.PP
|
||
The DHCP client will normally run in the foreground until it has
|
||
configured an interface, and then will revert to running in the
|
||
background. To run force dhclient to always run as a foreground
|
||
... | ... | |
.B -q
|
||
flag prevents any messages other than errors from being printed to the
|
||
standard error descriptor.
|
||
.B -v
|
||
flag turns on all messages.
|
||
Opposite of
|
||
.B -q .
|
||
.PP
|
||
The client normally doesn't release the current lease as it is not
|
||
required by the DHCP protocol. Some cable ISPs require their clients
|
||
... | ... | |
.B -w
|
||
flag can be used to cause the client not to exit when it doesn't find
|
||
any such interfaces. The
|
||
.B omshell (8)
|
||
.B omshell (1)
|
||
program can then be used to notify the client when a network interface
|
||
has been added or removed, so that the client can attempt to configure an IP
|
||
address on that interface.
|