HP 3000 Manuals

Troubleshooting bootpd [ Configuring and Managing MPE/iX Internet Services ] MPE/iX 5.5 Documentation


Configuring and Managing MPE/iX Internet Services

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.

-iipaddr              The Internet address of the BOOTP client to use in
                      the boot request.  If the BOOTP client doesn't know
                      its IP address, the BOOTP server supplies it in the
                      bootreply.  Otherwise, the server returns the
                      bootreply directly to ipaddr.

-sserver              The name of the BOOTP server to which the boot
                      request should be sent directly.  When the BOOTP
                      server is known, the boot request is not broadcast.

-vvendor              Request vendor information for vendor.  The vendor
                      can be specified as rfc1048 or CMU. For any other
                      vendor specification, the first four characters of
                      the parameter are used as the vendor magic cookie.

-fbootfile            Specify a boot file needed by the BOOTP client.  If
                      a boot file is specified in the boot request, the
                      BOOTP server responds only if the server host can
                      make the file available via TFTP.

Sample diagnostic results 

Here is an example of BOOTPQRY output:
____________________________________________________________________
|                                                                  |
|                                                                  |
|      # bootpquery 0800092175ff                                   |
|                                                                  |
|      Received BOOTREPLAY from hpmpe992.cup.hp.com (15.19.134.20) |
|      hardware Address:  08:00:09:21:75:ff                        |
|      Hardware Type ethernet                                      |
|      IP Address:  15.19.123.53                                   |
|      Boot file:  (None)                                          |
|                                                                  |
|      RFC1048 Vendor Information:                                 |
|      Subnet Mask:  255.255.248.0                                 |
|      Log Server 15.19.134.20                                     |
|      Host Name; hpljnet2                                         |
|      Tag #144 [104, 112, 110, 112, 108, 106,                     |
|        110, 101, 116, 46, 99, 102, 103]                          |
|                                                                  |
____________________________________________________________________

            



MPE/iX 5.5 Documentation