 |
» |
|
|
 |
To manually configure the BOOTP server daemon, bootpd, you need to add entries to the files /etc/services and /etc/inetd.conf. If you use HP SMH to configure the BOOTP server, entries are made to the appropriate files automatically. The following sections explain the manual method for configuring and verifying bootpd.  |  |  |  |  | NOTE: You must log in as a root user to configure the BOOTP server. |  |  |  |  |
Verifying bootpd Installation |  |
To verify that you have properly configured bootpd to handle boot requests, perform the following steps: On the host where you configured bootpd, use bootpquery to send a boot request to the server. For example, if you configure bootpd on a system named myhost, enter the following command: /usr/sbin/bootpquery 001122334455 -s myhost |
A bootrequest is sent to the server, requesting a bootreply for the client with hardware address 001122334455. Ensure that the /etc/bootptab file contains the configuration information for the hardware address queried using bootpquery. For more information on the bootquery command, type man 1M bootpquery at the HP-UX prompt. To determine if the BOOTP server is running, type the following command on myhost: The following message displays if bootpd is running: root 20424 494 1 10:51:45 ? 0.00 bootpd |
If your system is configured to use syslogd, bootpd logs messages to the daemon facility. For more information, type man 1M syslogd at the HP-UX prompt. In the default configuration, where syslogd sends daemon information messages to the /var/adm/syslog/syslog.log file, the following messages are logged in the /var/adm/syslog/syslog.log file: Mar 23 10:51:09 myhost bootpd[20413]: reading “/etc/bootptab”
Mar 23 10:51:09 myhost bootpd[20413]: read 1 entries from /etc/bootptab”
Mar 23 10:51:09 myhost bootpd[20413]: reading “/etc/dhcpdeny”
Mar 23 10:51:09 myhost bootpd[20413]: error
opening “/etc/dhcpdeny”: No such file or directory |
These messages inform that bootpd was able to read the /etc/bootptab configuration file.
After verifying that bootpd is configured to start from inetd, you can now 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. See “Adding Client or Relay Information” for more information on how to add client information or relay information and how to verify that the BOOTP server responds to the client.
|