bootptab.mcs revision 50476
1# /etc/bootptab: database for bootp server (/etc/bootpd) 2# Last update: gwr, Sun Dec 12 19:00:00 EDT 1993 3# Blank lines and lines beginning with '#' are ignored. 4# 5# $FreeBSD: head/libexec/bootpd/bootptab.mcs 50476 1999-08-28 00:22:10Z peter $ 6# 7# Legend: (see bootptab.5) 8# first field -- hostname (not indented) 9# bf -- bootfile 10# bs -- bootfile size in 512-octet blocks 11# cs -- cookie servers 12# df -- dump file name 13# dn -- domain name 14# ds -- domain name servers 15# ef -- extension file 16# gw -- gateways 17# ha -- hardware address 18# hd -- home directory for bootfiles 19# hn -- host name set for client 20# ht -- hardware type 21# im -- impress servers 22# ip -- host IP address 23# lg -- log servers 24# lp -- LPR servers 25# ns -- IEN-116 name servers 26# ra -- reply address 27# rl -- resource location protocol servers 28# rp -- root path 29# sa -- boot server address 30# sm -- subnet mask 31# sw -- swap server 32# tc -- template host (points to similar host entry) 33# td -- TFTP directory 34# to -- time offset (seconds) 35# ts -- time servers 36# vm -- vendor magic number 37# Tn -- generic option tag n 38# 39# Be careful about including backslashes where they're needed. Weird (bad) 40# things can happen when a backslash is omitted where one is intended. 41# Also, note that generic option data must be either a string or a 42# sequence of bytes where each byte is a two-digit hex value. 43 44# First, we define a global entry which specifies the stuff every host uses. 45 46# If you leave "td" empty, run bootpd with the "-c /tftpboot" switch 47# so path names (boot files) will be interpreted relative to the same 48# directory as tftpd will use when opening files. 49.default:\ 50 :hn:dn="mc.com":\ 51 :td=/tftpboot:\ 52 :ds=merlin, jericho:\ 53 :to=auto: 54 55# Next, we can define different master entries for each subnet. . . 56 57.subnet16:\ 58 :tc=.default:\ 59 :sm=255.255.255.0:\ 60 :gw=merlin:\ 61 :sa=merlin: 62 63.subnet17:\ 64 :tc=.default:\ 65 :sm=255.255.255.0:\ 66 :gw=merlin-gw:\ 67 :sa=merlin-gw: 68 69# 70# We should be able to use as many levels of indirection as desired. Use 71# your imagination. . . 72# 73 74# Individual entries (could also have different servers for some/all of these 75# hosts, but we don't really use this feature at CMU): 76 77# Emulex terminal server 78emulex: tc=.subnet16:ha=00.00.C9.00.42.E0:bf=P4KTL0E: 79 80# Lantronix eps1 81eps1: tc=.subnet16:ha=00.80.A3.04.1D.78: 82 83# Tadpole 885 board. 84tp885: tc=.subnet17:ha=08.00.4C.00.2F.74:bf=tp885sys2.cfe: 85 86# MVME147 VxWorks board. 87#mvme147:tc=.subnet17:ha=08.00.3e.20.da.47:bf=mv147vxw.st: 88 89# These are just for testing 90bach: tc=.subnet16:ha="08:00:20:04:98:8d":bf=boot.sun4m: 91xanadu:tc=.subnet17:ha="00:80:42:42:04:c7":bf=boot.sun4c: 92