Installing and Administering Internet Services

Chapter 5 175
Configuring TFTP and BOOTP Servers
Configuring the BOOTP Server
1. On the host where you configured bootpd, use bootpquery to send a
boot request to the server. (Type man 1M bootpquery for more
information.) For example, if you configured bootpd on a system
named myhost, enter:
/usr/sbin/bootpquery 001122334455 -s myhost
A bootrequest is sent to the server, requesting a bootreply for the
client with hardware address 001122334455. The BOOTP server will
not respond to this request, so you will see the following message:
bootpquery:Bootp servers not responding!
2. To see if the BOOTP server was started, on myhost enter the
command:
ps -e | grep bootpd
You should see a bootpd entry.
3. If your system is configured to use syslogd, bootpd logs informative
messages to the daemon facility. (Type man 1M syslogd for more
information.) In the default configuration, where syslogd sends
daemon information messages to /var/adm/syslog/syslog.log,
you should see messages similar to the following:
Dec 13 13:32:22 myhost bootpd[13381]: reading "/etc/bootptab"
Dec 13 13:32:22 myhost bootpd[13381]: read 0 entries from "/etc/bootptab"
Dec 13 13:32:22 myhost bootpd[13381]: hardware address not found: 001122334455
These messages tell you that bootpd was able to read the
configuration file /etc/bootptab and that it correctly rejected the
test bootrequest that you sent with bootpquery.
Having verified that bootpd is configured to start from inetd, you
should add to the configuration file any BOOTP clients that the system is
to serve, or any BOOTP clients that are to be relayed to another server.
The next section, “Adding Client or Relay Information” on page 176,
describes how to add client information or client relay information and
how to verify that the BOOTP server will respond to the client.