# /etc/bootptab: database for bootp server (/etc/bootpd)
# (I've hacked on this but can't test it... -gwr)
# Blank lines and lines beginning with '#' are ignored.
#
# Legend: (see bootptab.5)
# first field -- hostname (not indented)
# bf -- bootfile
# bs -- bootfile size in 512-octet blocks
# cs -- cookie servers
# df -- dump file name
# dn -- domain name
# ds -- domain name servers
# ef -- extension file
# gw -- gateways
# ha -- hardware address
# hd -- home directory for bootfiles
# hn -- host name set for client
# ht -- hardware type
# im -- impress servers
# ip -- host IP address
# lg -- log servers
# lp -- LPR servers
# ns -- IEN-116 name servers
# ra -- reply address
# rl -- resource location protocol servers
# rp -- root path
# sa -- boot server address
# sm -- subnet mask
# sw -- swap server
# tc -- template host (points to similar host entry)
# td -- TFTP directory
# to -- time offset (seconds)
# ts -- time servers
# vm -- vendor magic number
# Tn -- generic option tag n
#
# Be careful about including backslashes where they're needed. Weird (bad)
# things can happen when a backslash is omitted where one is intended.
# Also, note that generic option data must be either a string or a
# sequence of bytes where each byte is a two-digit hex value.
# First, we define a global entry which specifies the stuff every host uses.
# (Host name lookups are relative to the domain: andrew.cmu.edu)
default:\
:hn:dn=cmu.edu:\
:hd=/usr/boot:\
:ds=netserver, lancaster:\
:ns=pcs2, pcs1:\
:ts=pcs2, pcs1:\
:sm=255.255.0.0:\
:gw=gw.cs.cmu.edu:\
to=auto:
# Next, we can define different master entries for each subnet. . .
subnet13 :sm=255.255.255.0:gw=128.2.13.1 :tc=.default:
subnet19 :sm=255.255.255.0:gw=128.2.19.1 :tc=.default:
subnet232 :sm=255.255.255.0:gw=128.2.232.1 :tc=.default:
#
# We should be able to use as many levels of indirection as desired. Use
# your imagination. . .
#
# Individual entries (could also have different servers for some/all of these
# hosts, but we don't really use this feature at CMU):