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