bootpd(8)
Name
bootpd − Server to help boot diskless clients
Syntax
/usr/etc/bootpd [ −d ] [ −i ]
Description
The bootpd server is for the Internet BOOTP protocol (a UDP-based protocol). This allows a diskless machine to find out its Internet address, the address of a bootserver, and the name of a file to boot.
The bootpd server is either started from /etc/rc.local, or from inetd. If bootpd is started from inetd, the −i flag must be supplied by /etc/inetd.conf. The bootpd server reads its configuration file, /etc/bootptab, when it starts up. When a new request arrives, bootpd checks to see if the file has been modified, and if so, reads it again.
If started by inetd, bootpd waits until no new requests arrive for one minute. This limits the overhead of restarting the daemon without tying up a process slot when nothing is happening. The following is an example of the format of the configuration file:
#
# /etc/bootptab: database for bootp server (/usr/etc/bootpd)
#
# Blank lines and lines beginning with ’#’ are ignored.
#
# home directory
/usr/local/bootfiles
# default bootfile
defaultboot
# end of first section
%%
#
# The remainder of this file contains one line per client
# interface with the information shown by the table headings
# below. The host name is also tried as a suffix for the
# bootfile when searching the home directory (that is,
# bootfile.host)
#
# hosthtype haddriaddrbootfile
#
hostx1 02:60:8c:06:35:0599.44.0.65ultrix
hosty1 02:07:01:00:30:0299.44.0.65vms
hostz1 02:60:8c:00:77:7899.44.0.03lps40
node11 02:60:8c:00:99:4799.44.0.01tops20
The first two lines specify the home (default) directory and the default bootfile, respectively. A line starting with two percent signs (%%) separates these first lines from the host information table, which contains an entry for each bootable host.
You should start with a configuration file similar to this and edit the host entries to correspond to your local systems. The host field does not have to be a formal host name; it is used for identification in the log file and also as a possible extension to the bootfile name.
The htype is always 1 and corresponds to the hardware type assigned Ethernet by the Assigned Numbers RFC. The haddr field can use a period (.), a hyphen (-), or a colon (:) as separators. The bootfile entry is the file used if the client does not know the name of the file it wants to boot. This is frequently the case when a diskless workstation is booted.
The bootpd server logs interesting events using syslog.
Options
−dLogs all requests and indicates what responses are made.
−iIf bootpd is started from inetd, the −i flag must be supplied by /etc/inetd.conf.
Files
/etc/bootptab
Configuration file