Installing and Administering Internet Services
Chapter 6 277
Dynamic Host Configuration Protocol (DHCP)
Monitoring and Troubleshooting DHCP Operations
/tmp/dhcp.dump.bootptab and /tmp/dhcp.dump.dhcptab.
Review the contents of /tmp/dhcpdb, which is a less verbose version of
/tmp/dhcp.dump.dhcptab. The file /tmp/dhcpdb is continually updated
by the daemon.
DHCP Troubleshooting Tools
The HP-UX DHCP server has tools that will help you debug problems
and make adjustments while the server is running.
When building the files /etc/bootptab and /etc/dhcptab, you need a
tool that will automatically discover illegal entries and typographical
errors. The command-line tool known as dhcptools(1M) is available to
provide access to DHCP-related options for the bootpd server. The
options provide control for dumping internal data structures, generating
a host file, previewing client address assignment, reclaiming unused
addresses, tracing packets, and validating configuration files.
Refer to the dhcptools(1M) man page for detailed information about the
various options. The -v option should be used after you have completed
configuration to verify that no detectable errors exist in either the
bootptab or dhcptab configuration files.
If communication problems exist between the server and client at a
protocol level, and you have verified that no errors exist in the
configuration files, you may want to use the -t option of the dhcptools
command. This option performs packet tracing. You may want to use this
option in conjunction with the -d option of the bootpd(1M) command.
Refer to the bootpd(1M) man page for details.
Here are some of the tools available and appropriate reason for using
them.
dhcptools -v
Automatically discovers illegal entries and typographical errors in
bootptab and dhcp tab.
/usr/sbin/dhcptools -v
dhcptools -p
Allows you to review a lease for a particular client. You can use it to
make sure the client is responding correctly.