bootptab.mcs revision 18471
1238384Sjkim# /etc/bootptab: database for bootp server (/etc/bootpd) 2238384Sjkim# Last update: gwr, Sun Dec 12 19:00:00 EDT 1993 3238384Sjkim# Blank lines and lines beginning with '#' are ignored. 4238384Sjkim# 5325337Sjkim# $Id$ 6238384Sjkim# 7238384Sjkim# Legend: (see bootptab.5) 8238384Sjkim# first field -- hostname (not indented) 9238384Sjkim# bf -- bootfile 10238384Sjkim# bs -- bootfile size in 512-octet blocks 11238384Sjkim# cs -- cookie servers 12238384Sjkim# df -- dump file name 13238384Sjkim# dn -- domain name 14238384Sjkim# ds -- domain name servers 15238384Sjkim# ef -- extension file 16238384Sjkim# gw -- gateways 17238384Sjkim# ha -- hardware address 18238384Sjkim# hd -- home directory for bootfiles 19238384Sjkim# hn -- host name set for client 20238384Sjkim# ht -- hardware type 21238384Sjkim# im -- impress servers 22238384Sjkim# ip -- host IP address 23238384Sjkim# lg -- log servers 24238384Sjkim# lp -- LPR servers 25238384Sjkim# ns -- IEN-116 name servers 26238384Sjkim# ra -- reply address 27238384Sjkim# rl -- resource location protocol servers 28238384Sjkim# rp -- root path 29238384Sjkim# sa -- boot server address 30238384Sjkim# sm -- subnet mask 31238384Sjkim# sw -- swap server 32238384Sjkim# tc -- template host (points to similar host entry) 33238384Sjkim# td -- TFTP directory 34238384Sjkim# to -- time offset (seconds) 35238384Sjkim# ts -- time servers 36238384Sjkim# vm -- vendor magic number 37238384Sjkim# Tn -- generic option tag n 38238384Sjkim# 39238384Sjkim# Be careful about including backslashes where they're needed. Weird (bad) 40238384Sjkim# things can happen when a backslash is omitted where one is intended. 41238384Sjkim# Also, note that generic option data must be either a string or a 42238384Sjkim# sequence of bytes where each byte is a two-digit hex value. 43238384Sjkim 44238384Sjkim# First, we define a global entry which specifies the stuff every host uses. 45238384Sjkim 46238384Sjkim# If you leave "td" empty, run bootpd with the "-c /tftpboot" switch 47238384Sjkim# so path names (boot files) will be interpreted relative to the same 48238384Sjkim# directory as tftpd will use when opening files. 49238384Sjkim.default:\ 50238384Sjkim :hn:dn="mc.com":\ 51238384Sjkim :td=/tftpboot:\ 52238384Sjkim :ds=merlin, jericho:\ 53238384Sjkim :to=auto: 54238384Sjkim 55238384Sjkim# Next, we can define different master entries for each subnet. . . 56238384Sjkim 57238384Sjkim.subnet16:\ 58238384Sjkim :tc=.default:\ 59238384Sjkim :sm=255.255.255.0:\ 60238384Sjkim :gw=merlin:\ 61238384Sjkim :sa=merlin: 62238384Sjkim 63238384Sjkim.subnet17:\ 64238384Sjkim :tc=.default:\ 65238384Sjkim :sm=255.255.255.0:\ 66238384Sjkim :gw=merlin-gw:\ 67238384Sjkim :sa=merlin-gw: 68238384Sjkim 69238384Sjkim# 70238384Sjkim# We should be able to use as many levels of indirection as desired. Use 71238384Sjkim# your imagination. . . 72238384Sjkim# 73238384Sjkim 74238384Sjkim# Individual entries (could also have different servers for some/all of these 75238384Sjkim# hosts, but we don't really use this feature at CMU): 76238384Sjkim 77238384Sjkim# Emulex terminal server 78238384Sjkimemulex: tc=.subnet16:ha=00.00.C9.00.42.E0:bf=P4KTL0E: 79238384Sjkim 80238384Sjkim# Lantronix eps1 81238384Sjkimeps1: tc=.subnet16:ha=00.80.A3.04.1D.78: 82238384Sjkim 83238384Sjkim# Tadpole 885 board. 84238384Sjkimtp885: tc=.subnet17:ha=08.00.4C.00.2F.74:bf=tp885sys2.cfe: 85238384Sjkim 86238384Sjkim# MVME147 VxWorks board. 87238384Sjkim#mvme147:tc=.subnet17:ha=08.00.3e.20.da.47:bf=mv147vxw.st: 88238384Sjkim 89238384Sjkim# These are just for testing 90238384Sjkimbach: tc=.subnet16:ha="08:00:20:04:98:8d":bf=boot.sun4m: 91238384Sjkimxanadu:tc=.subnet17:ha="00:80:42:42:04:c7":bf=boot.sun4c: 92238384Sjkim