dhcpclient.1m (2010 09)

d
dhcpclient(1M) dhcpclient(1M)
configuration file, /etc/dhcpclient.data
.
-s server_ipaddress
This option is used to specify the ip address of the
DHCP server from which the reply should
be accepted. server_ipaddress must be a unicast IP address specified in dotted decimal
form.
-t log_type If the log_type is a non zero value and if the debug_level is low enough for the process to
detach from the tty (see syslog(3C)), then, the logging goes to
syslog, else it goes to
STDERR. This option is used when the
dhcpclient is running as a daemon.
-v This option prints the various version strings of the
dhcpclient to stdout.
-x send_attempts
This option is used to specify the number of attempts the packet should be sent before
obtaining a reply. send_attempts must be specified as an unsigned number.
-z time_to_wait
This option is used to specify the time interval between successive packet retransmission.
time_to_wait will be in seconds.
EXAMPLES
To
maintain the lease for the interface lan0 and invoke logging in syslog, the following set of com-
mands is invoked at the command prompt:
dhcpclient -b lan0 -N "dhcp1"
dhcpclient -m lan0 -N "dhcp1" -l 3 -t 1
To trace the packet and get the debugging messages, use:
dhcpclient -b lan0 -N "dhcp1" -p -l 8
This is an example of a /etc/dhcpclient.data
file.
00 4 lan0
01 5 dhcph
02 0
03 0
04 0
05 0
06 4 4294967295
07 4 4294967295
08 4 0
09 4 0
10 4 1
11680925a5b1
12 4 192.11.22.107
13 4 255.255.255.0
14 4 0.0.0.0
15 0
16 4 192.11.22.3
17 4 192.11.22.3
18 0
19 0
20 0
21 4 0.0.0.0
22 0
23 0
24 39 63 82 53 63 35 1 5 33 4 ff ff ff ff 36 4 c0 b8
16314ffffff0c5646863706824ffffb2a8ff
AUTHOR
dhcpclient was developed by HP.
FILES
/etc/dhcpclient.data configuration file.
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3