Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

64 Chapter4
BOOTP Service
Troubleshooting bootpd
Troubleshooting bootpd
The BOOTPQRY program is a diagnostic tool used to check the
configuration of bootpd. It uses the supplied parameters to construct a
boot request to send to a BOOTP server. It prints the contents of the boot
reply, including the client’s Internet address, the name of a boot file,
and the name and address of the server that sent the reply. BOOTPQRY
formats and prints RFC1048 or CMU-style vendor information included
in the reply.
The boot request packet is broadcast on the BOOTP server port.
Responding servers return a bootreply packet on the BOOTP client port.
BOOTPQRY can only display bootreply packets when the BOOTP server
broadcasts the reply on the client port or when the hardware address
and IP address supplied in the boot request are those of the host on
which BOOTPQRY is run.
To use the BOOTPQRY program to troubleshoot bootpd, do the following:
1. Open the bootpd configuration file and look for the entry describing
the network device you want to test.
2. When you find the entry, add the ba tag to it. This will force bootpd
to broadcast the reply so that BOOTPQRY can display it.
3. Run the BOOTPQRY program by entering the BOOTPQRY command
followed by the hardware address of the network you are testing,
expressed in hexadecimal notation. For example, at the CI prompt
you would enter:
:BOOTPQRY.NET.SYS 08000902CA00
Or, from the POSIX shell, you would enter:
$/etc/bootpquery 08000902CA00
Diagnostic Options
The following options provide the information for the boot request:
Option Purpose
haddr The hardware address of the BOOTP client to use in the
boot request. A BOOTP server responds if it has
configuration information for a host with this link level
address.
htype The type of address specified as haddr, which may be
ether or ieee802. The default address type is ether.
-i<ipaddr> The Internet address of the BOOTP client <ipaddr> to
use in the boot request. If the BOOTP client doesn’t know
its IP address, the BOOTP server supplies it in the