bootptab.mcs revision 13572
13229Spst# /etc/bootptab: database for bootp server (/etc/bootpd) 23229Spst# Last update: gwr, Sun Dec 12 19:00:00 EDT 1993 33229Spst# Blank lines and lines beginning with '#' are ignored. 43229Spst# 53229Spst# Legend: (see bootptab.5) 63229Spst# first field -- hostname (not indented) 73229Spst# bf -- bootfile 83229Spst# bs -- bootfile size in 512-octet blocks 93229Spst# cs -- cookie servers 103229Spst# df -- dump file name 113229Spst# dn -- domain name 123229Spst# ds -- domain name servers 133229Spst# ef -- extension file 143229Spst# gw -- gateways 153229Spst# ha -- hardware address 163229Spst# hd -- home directory for bootfiles 173229Spst# hn -- host name set for client 183229Spst# ht -- hardware type 193229Spst# im -- impress servers 203229Spst# ip -- host IP address 213229Spst# lg -- log servers 223229Spst# lp -- LPR servers 233229Spst# ns -- IEN-116 name servers 243229Spst# ra -- reply address 253229Spst# rl -- resource location protocol servers 263229Spst# rp -- root path 273229Spst# sa -- boot server address 283229Spst# sm -- subnet mask 293229Spst# sw -- swap server 303229Spst# tc -- template host (points to similar host entry) 313229Spst# td -- TFTP directory 323229Spst# to -- time offset (seconds) 333229Spst# ts -- time servers 343229Spst# vm -- vendor magic number 353229Spst# Tn -- generic option tag n 363229Spst# 373229Spst# Be careful about including backslashes where they're needed. Weird (bad) 383229Spst# things can happen when a backslash is omitted where one is intended. 393229Spst# Also, note that generic option data must be either a string or a 403229Spst# sequence of bytes where each byte is a two-digit hex value. 413229Spst 423229Spst# First, we define a global entry which specifies the stuff every host uses. 433229Spst 443229Spst# If you leave "td" empty, run bootpd with the "-c /tftpboot" switch 453229Spst# so path names (boot files) will be interpreted relative to the same 463229Spst# directory as tftpd will use when opening files. 473229Spst.default:\ 483229Spst :hn:dn="mc.com":\ 493229Spst :td=/tftpboot:\ 503229Spst :ds=merlin, jericho:\ 513229Spst :to=auto: 523229Spst 533229Spst# Next, we can define different master entries for each subnet. . . 543229Spst 553229Spst.subnet16:\ 563229Spst :tc=.default:\ 573229Spst :sm=255.255.255.0:\ 583229Spst :gw=merlin:\ 593229Spst :sa=merlin: 603229Spst 613229Spst.subnet17:\ 623229Spst :tc=.default:\ 633229Spst :sm=255.255.255.0:\ 643229Spst :gw=merlin-gw:\ 653229Spst :sa=merlin-gw: 663229Spst 673229Spst# 683229Spst# We should be able to use as many levels of indirection as desired. Use 693229Spst# your imagination. . . 703229Spst# 713229Spst 723229Spst# Individual entries (could also have different servers for some/all of these 733229Spst# hosts, but we don't really use this feature at CMU): 743229Spst 753229Spst# Emulex terminal server 763229Spstemulex: tc=.subnet16:ha=00.00.C9.00.42.E0:bf=P4KTL0E: 773229Spst 783229Spst# Lantronix eps1 793229Spsteps1: tc=.subnet16:ha=00.80.A3.04.1D.78: 803229Spst 813229Spst# Tadpole 885 board. 823229Spsttp885: tc=.subnet17:ha=08.00.4C.00.2F.74:bf=tp885sys2.cfe: 833229Spst 843229Spst# MVME147 VxWorks board. 853229Spst#mvme147:tc=.subnet17:ha=08.00.3e.20.da.47:bf=mv147vxw.st: 863229Spst 873229Spst# These are just for testing 8813572Spstbach: tc=.subnet16:ha="08:00:20:04:98:8d":bf=boot.sun4m: 8913572Spstxanadu:tc=.subnet17:ha="00:80:42:42:04:c7":bf=boot.sun4c: 90