13229Spst# /etc/bootptab: database for bootp server (/etc/bootpd) 23229Spst# (I've hacked on this but can't test it... -gwr) 33229Spst 43229Spst# Blank lines and lines beginning with '#' are ignored. 53229Spst# 63229Spst# Legend: (see bootptab.5) 73229Spst# first field -- hostname (not indented) 83229Spst# bf -- bootfile 93229Spst# bs -- bootfile size in 512-octet blocks 103229Spst# cs -- cookie servers 113229Spst# df -- dump file name 123229Spst# dn -- domain name 133229Spst# ds -- domain name servers 143229Spst# ef -- extension file 153229Spst# gw -- gateways 163229Spst# ha -- hardware address 173229Spst# hd -- home directory for bootfiles 183229Spst# hn -- host name set for client 193229Spst# ht -- hardware type 203229Spst# im -- impress servers 213229Spst# ip -- host IP address 223229Spst# lg -- log servers 233229Spst# lp -- LPR servers 243229Spst# ns -- IEN-116 name servers 253229Spst# ra -- reply address 263229Spst# rl -- resource location protocol servers 273229Spst# rp -- root path 283229Spst# sa -- boot server address 293229Spst# sm -- subnet mask 303229Spst# sw -- swap server 313229Spst# tc -- template host (points to similar host entry) 323229Spst# td -- TFTP directory 333229Spst# to -- time offset (seconds) 343229Spst# ts -- time servers 353229Spst# vm -- vendor magic number 363229Spst# Tn -- generic option tag n 373229Spst# 383229Spst# Be careful about including backslashes where they're needed. Weird (bad) 393229Spst# things can happen when a backslash is omitted where one is intended. 403229Spst# Also, note that generic option data must be either a string or a 413229Spst# sequence of bytes where each byte is a two-digit hex value. 423229Spst 433229Spst# First, we define a global entry which specifies the stuff every host uses. 443229Spst# (Host name lookups are relative to the domain: andrew.cmu.edu) 453229Spst.default:\ 463229Spst :hn:dn=cmu.edu:\ 473229Spst :hd=/usr/boot:\ 483229Spst :ds=netserver, lancaster:\ 493229Spst :ns=pcs2, pcs1:\ 503229Spst :ts=pcs2, pcs1:\ 513229Spst :sm=255.255.0.0:\ 523229Spst :gw=gw.cs.cmu.edu:\ 533229Spst to=auto: 543229Spst 553229Spst 563229Spst# Next, we can define different master entries for each subnet. . . 573229Spst.subnet13 :sm=255.255.255.0:gw=128.2.13.1 :tc=.default: 583229Spst.subnet19 :sm=255.255.255.0:gw=128.2.19.1 :tc=.default: 593229Spst.subnet232 :sm=255.255.255.0:gw=128.2.232.1 :tc=.default: 603229Spst 613229Spst# 623229Spst# We should be able to use as many levels of indirection as desired. Use 633229Spst# your imagination. . . 643229Spst# 653229Spst 663229Spst 673229Spst# Individual entries (could also have different servers for some/all of these 683229Spst# hosts, but we don't really use this feature at CMU): 693229Spst 703229Spstcarnegie:tc=.subnet13:ht=ieee802:ha=7FF8100000AF: 713229Spstbaldwin:tc=.subnet19:ha=0800200159C3: 723229Spstwylie:tc=.subnet232:ha=00DD00CADF00: 733229Spstarnold:tc=.subnet19:ha=0800200102AD: 743229Spstbairdford:tc=.subnet19:ha=08002B02A2F9: 753229Spstbakerstown:tc=.subnet19:ha=08002B0287C8: 763229Spstbutlerjct:tc=.subnet232:ha=08002001560D: 773229Spstgastonville:tc=.subnet232:ht=ieee802:ha=7FFF81000A47: 783229Spsthahntown:tc=.subnet13:ht=ieee802:ha=7FFF81000434: 793229Spsthickman:tc=.subnet19:ht=ieee802:ha=7FFF810001BA: 803229Spstlowber:tc=.subnet13:ha=00DD00CAF000: 813229Spstmtoliver:tc=.subnet19:ha=00DD00FE1600: 823229Spstosborne:tc=.subnet232:ha=00DD00CAD600: 833229Spstrusselton:tc=.subnet232:ha=080020017FC3: 843229Spstthornburg:tc=.subnet13:ha=080020012A33: 853229Spst 863229Spst 873229Spst# Hmmm. . . Let's throw in some whitespace for readability. . . . 883229Spst 893229Spstandrew: tc=.subnet19:ha=00DD00C88900: 903229Spstbirdville: tc=.subnet19:ha=00DD00FE2D00: 913229Spstcoudersport: tc=.subnet13:ha=00DD00CB1E00: 923229Spstbridgeville: tc=.subnet232:ha=080020011394: 933229Spstfranklin: tc=.subnet19:ha=08002B02A5D5: 943229Spsthollidaysburg: tc=.subnet19:ht=ieee802:ha=7FFF810002C8: 953229Spsthonesdale: tc=.subnet19:ha=08002B02F83F: 963229Spsthuntingdon: tc=.subnet19:ha=08002B02E410: 973229Spstindiana: tc=.subnet13:ha=08002B029BEC: 983229Spstjimthorpe: tc=.subnet232:ha=08002B02FBBA: 993229Spstkittanning: tc=.subnet232:ha=08002B0273FC: 1003229Spstlebanon: tc=.subnet232:ha=08002B037F67: 1013229Spstlewisburg: tc=.subnet19:ha=50005A1A0DE4: 1023229Spstmiddleburg: tc=.subnet232:ha=00DD00FE1200: 1033229Spstaspinwall: tc=.subnet13:ha=08002B03C163: 1043229Spstberlin: tc=.subnet13:ha=00DD000A4400: 1053229Spstnorristown: tc=.subnet13:ha=08002001455B: 1063229Spstpottsville: tc=.subnet13:ha=00DD000A3700: 1073229Spstridgway: tc=.subnet19:ha=08002B029425: 1083229Spstscranton: tc=.subnet232:ha=0800200113A1: 1093229Spstchalfont: tc=.subnet13:ha=08002001124B: 1103229Spstwashington: tc=.subnet19:ha=00DD00656E00: 1113229Spstwellsboro: tc=.subnet13:ha=00DD00CB1C00: 1123229Spstbb1: tc=.subnet19:ha=00DD000A1F00: 1133229Spstadamstown: tc=.subnet13:ha=08002B02D0E6: 1143229Spstbeta: tc=.subnet19:ha=02070100B197: 1153229Spstcarbondale: tc=.subnet232:ha=08002B022A73: 1163229Spstclairton: tc=.subnet19:ha=080020010FD1: 1173229Spstegypt: tc=.subnet13:ha=00DD00847B00: 1183229Spstfairchance: tc=.subnet232:ha=00DD000AB100: 1193229Spstfairhope: tc=.subnet232:ha=00DD00CB0800: 1203229Spstgaleton: tc=.subnet232:ha=08002001138C: 1213229Spstimperial: tc=.subnet232:ha=08002001130C: 1223229Spstkingston: tc=.subnet232:ha=080020011382: 1233229Spstknox: tc=.subnet232:ha=50005A1A0D2A: 1243229Spstlakecity: tc=.subnet13:ha=080020011380: 125