Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX IP Address and Client Management Administrator’s Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 3 Configuring the BOOTP and TFTP Servers

Configuring the BOOTP Server

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Procedure for Configuring bootpd

Configuring bootpd sets up your local system to act as a server of boot information for remote clients. To manually configure bootpd, complete the following steps:

  1. Make sure that the BOOTP server and client protocols are added to the /etc/services file:

    bootps  67/udp # Bootstrap protocol server
    bootpc  68/udp # Bootstrap protocol client
  2. Uncomment the following entry in the /etc/inetd.conf file:

    bootps dgram udp wait root /usr/lbin/bootpd bootpd
  3. Reconfigure /usr/sbin/inetd using the following command:

    /usr/sbin/inetd  -c

You are now ready to add client or relay information to the configuration file /etc/bootptab. See “Adding Client or Relay Information” for information on adding client or rely information to the /etc/bootptab file.

NOTE: HP SMH does not add relay information to the configuration file. You must manually configure relay information on a BOOTP server.

Verifying bootpd Installation

To verify that you have properly configured bootpd to handle boot requests, perform the following steps:

  1. 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.

  2. To determine if the BOOTP server is running, type the following command on myhost:

    ps -ef | grep bootpd

    The following message displays if bootpd is running:

    root  20424   494 1 10:51:45 ?    0.00  bootpd
  3. 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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.