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