Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bootpquery(1M) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bootpd(1M)

tftp(1)

tftpd(1M)

bootpquery(1M)

Requires Optional ARPA Services Software

NAME

bootpquery − send BOOTREQUEST to BOOTP server

SYNOPSIS

/etc/bootpquery haddr [htype] [options]

DESCRIPTION

bootpquery is a diagnostic tool used to check the configuration of the Internet Bootstrap Protocol (BOOTP) server, bootpd(1M). 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.  bootpquery formats and prints RFC-1048 or CMU-style vendor information included in the reply.  Since it uses reserved ports, it is can only be run by the super-user. 

The BOOTREQUEST packet is broadcast on the BOOTP server port bootps.  If a BOOTP server is configured to respond to the request, it returns a BOOTREPLY packet on the BOOTP client port, bootpc.  bootpquery 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 BOOTREQUEST are those of the host on which bootpquery is run. 

The following options provide the information for the BOOTREQUEST:

haddr The hardware adresss of the BOOTP client to use in the BOOTREQUEST.  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 specify in the BOOTREQUEST.  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 BOOTREQUEST should be sent directly.  When the BOOTP server is known, the BOOTREQUEST 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 BOOTREQUEST, the BOOTP server responds only if the server host can make the file available via tftp.

EXAMPLE

/etc/bootpquery 02608cee018e ether -s hpserver

Received BOOTREPLY from hpserver.hp.com (15.9.18.119)

Hardware Address:02:60:8c:ee:01:8e
Hardware Type:ethernet
IP Address:15.9.18.113
Boot file:/usr/tftpdir/hp-gw2-confg

RFC 1048 Vendor Information:
Subnet Mask:255.255.248.0
Bootfile Size:6 512 byte blocks
Domain Name Server:15.9.18.119
Host Name:hp-gw2

AUTHOR

bootpquery was developed by HP. 

SEE ALSO

bootpd(1M), tftp(1), tftpd(1M)
DARPA Internet Request For Comments RFC951, RFC1048, RFC1084, Assigned Numbers. 

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026