xref: /freebsd/libexec/bootpd/bootptab.mcs (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
144099b7bSPaul Traina# /etc/bootptab: database for bootp server (/etc/bootpd)
244099b7bSPaul Traina# Last update: gwr, Sun Dec 12 19:00:00 EDT 1993
344099b7bSPaul Traina# Blank lines and lines beginning with '#' are ignored.
444099b7bSPaul Traina#
5148531efSWolfram Schneider#
644099b7bSPaul Traina# Legend:	(see bootptab.5)
744099b7bSPaul Traina#	first field -- hostname (not indented)
844099b7bSPaul Traina#	bf -- bootfile
944099b7bSPaul Traina#	bs -- bootfile size in 512-octet blocks
1044099b7bSPaul Traina#	cs -- cookie servers
1144099b7bSPaul Traina#	df -- dump file name
1244099b7bSPaul Traina#	dn -- domain name
1344099b7bSPaul Traina#	ds -- domain name servers
1444099b7bSPaul Traina#	ef -- extension file
1544099b7bSPaul Traina#	gw -- gateways
1644099b7bSPaul Traina#	ha -- hardware address
1744099b7bSPaul Traina#	hd -- home directory for bootfiles
1844099b7bSPaul Traina#	hn -- host name set for client
1944099b7bSPaul Traina#	ht -- hardware type
2044099b7bSPaul Traina#	im -- impress servers
2144099b7bSPaul Traina#	ip -- host IP address
2244099b7bSPaul Traina#	lg -- log servers
2344099b7bSPaul Traina#	lp -- LPR servers
2444099b7bSPaul Traina#	ns -- IEN-116 name servers
2544099b7bSPaul Traina#	ra -- reply address
2644099b7bSPaul Traina#	rl -- resource location protocol servers
2744099b7bSPaul Traina#	rp -- root path
2844099b7bSPaul Traina#	sa -- boot server address
2944099b7bSPaul Traina#	sm -- subnet mask
3044099b7bSPaul Traina#	sw -- swap server
3144099b7bSPaul Traina#	tc -- template host (points to similar host entry)
3244099b7bSPaul Traina#	td -- TFTP directory
3344099b7bSPaul Traina#	to -- time offset (seconds)
3444099b7bSPaul Traina#	ts -- time servers
3544099b7bSPaul Traina#	vm -- vendor magic number
3644099b7bSPaul Traina#	Tn -- generic option tag n
3744099b7bSPaul Traina#
3844099b7bSPaul Traina# Be careful about including backslashes where they're needed.  Weird (bad)
3944099b7bSPaul Traina# things can happen when a backslash is omitted where one is intended.
4044099b7bSPaul Traina# Also, note that generic option data must be either a string or a
4144099b7bSPaul Traina# sequence of bytes where each byte is a two-digit hex value.
4244099b7bSPaul Traina
4344099b7bSPaul Traina# First, we define a global entry which specifies the stuff every host uses.
4444099b7bSPaul Traina
4544099b7bSPaul Traina# If you leave "td" empty, run bootpd with the "-c /tftpboot" switch
4644099b7bSPaul Traina# so path names (boot files) will be interpreted relative to the same
4744099b7bSPaul Traina# directory as tftpd will use when opening files.
4844099b7bSPaul Traina.default:\
4944099b7bSPaul Traina	:hn:dn="mc.com":\
5044099b7bSPaul Traina	:td=/tftpboot:\
5144099b7bSPaul Traina	:ds=merlin, jericho:\
5244099b7bSPaul Traina	:to=auto:
5344099b7bSPaul Traina
5444099b7bSPaul Traina# Next, we can define different master entries for each subnet. . .
5544099b7bSPaul Traina
5644099b7bSPaul Traina.subnet16:\
5744099b7bSPaul Traina	:tc=.default:\
5844099b7bSPaul Traina	:sm=255.255.255.0:\
5944099b7bSPaul Traina	:gw=merlin:\
6044099b7bSPaul Traina	:sa=merlin:
6144099b7bSPaul Traina
6244099b7bSPaul Traina.subnet17:\
6344099b7bSPaul Traina	:tc=.default:\
6444099b7bSPaul Traina	:sm=255.255.255.0:\
6544099b7bSPaul Traina	:gw=merlin-gw:\
6644099b7bSPaul Traina	:sa=merlin-gw:
6744099b7bSPaul Traina
6844099b7bSPaul Traina#
6944099b7bSPaul Traina# We should be able to use as many levels of indirection as desired.  Use
7044099b7bSPaul Traina# your imagination. . .
7144099b7bSPaul Traina#
7244099b7bSPaul Traina
7344099b7bSPaul Traina# Individual entries (could also have different servers for some/all of these
7444099b7bSPaul Traina# hosts, but we don't really use this feature at CMU):
7544099b7bSPaul Traina
7644099b7bSPaul Traina# Emulex terminal server
7744099b7bSPaul Trainaemulex:	tc=.subnet16:ha=00.00.C9.00.42.E0:bf=P4KTL0E:
7844099b7bSPaul Traina
7944099b7bSPaul Traina# Lantronix eps1
8044099b7bSPaul Trainaeps1:	tc=.subnet16:ha=00.80.A3.04.1D.78:
8144099b7bSPaul Traina
8244099b7bSPaul Traina# Tadpole 885 board.
8344099b7bSPaul Trainatp885:  tc=.subnet17:ha=08.00.4C.00.2F.74:bf=tp885sys2.cfe:
8444099b7bSPaul Traina
8544099b7bSPaul Traina# MVME147 VxWorks board.
8644099b7bSPaul Traina#mvme147:tc=.subnet17:ha=08.00.3e.20.da.47:bf=mv147vxw.st:
8744099b7bSPaul Traina
8844099b7bSPaul Traina# These are just for testing
89e08ac58bSPaul Trainabach:  tc=.subnet16:ha="08:00:20:04:98:8d":bf=boot.sun4m:
90e08ac58bSPaul Trainaxanadu:tc=.subnet17:ha="00:80:42:42:04:c7":bf=boot.sun4c:
91