Installing and Administering Internet Services

Chapter 5 183
Configuring TFTP and BOOTP Servers
Adding Client or Relay Information
The gateway address (gw=15.19.8.1) is passed back to the client in the
bootreply and allows the client to send a TFTP request to the BOOTP
server to get its boot file.
To verify the new /etc/bootptab entry, do the following:
1. Add the ba (broadcast address) tag to the xterm02 entry on the
BOOTP server that contains the client’s boot entry (server B) so that
the bootreply is not sent directly to xterm02. This allows the
bootpquery diagnostic tool to intercept any bootreply packets for
xterm02:
xterm02: ht=ether: ha=08000902CA00: \
ip=15.19.8.39: sm=255.255.248.0:\
gw=15.19.8.1: ds=15.19.8.119: bf=/xterminal ba
2. If you can boot the client in standalone mode, run the bootpquery
tool on the client to see how bootpd on the server responds to a
request from xterm02. For the example configuration, the following
would be entered (as superuser):
/usr/sbin/bootpquery 08000902CA00
You can also run bootpquery from another machine that is up and
running on the same subnet as the client.
Output like the following is displayed:
Received BOOTREPLY from hpserver.hp.com (15.4.3.136)
Hardware Address: 08:00:09:02:CA:00
Hardware Type: ethernet
IP Address: 15.19.8.39
Boot file: /xterminal
RFC 1048 Vendor Information:
Subnet Mask: 255.255.248.0
Gateway: 15.19.8.1
Domain Name Server: 15.19.8.119
Host Name: xterm02.hp.com
This shows that the BOOTP server responded with information that
corresponds to the client entry in the /etc/bootptab file. You can
also conclude that the bootrequest was correctly relayed to the
BOOTP server that contains the client’s boot information.
3. Remove the ba tag entry from the /etc/bootptab file.