11.6Spooka# $NetBSD: bootptab,v 1.6 2001/04/24 21:55:06 pooka Exp $ 21.3Sthorpej# 31.6Spooka# /etc/bootptab: database for bootp server (/usr/sbin/bootpd) 41.1Sglass# Last update Mon 11/7/88 18:03 51.1Sglass# Blank lines and lines beginning with '#' are ignored. 61.1Sglass# 71.1Sglass# Legend: 81.1Sglass# 91.1Sglass# first field -- hostname 101.1Sglass# (may be full domain name and probably should be) 111.1Sglass# 121.2Spk# bf Bootfile 131.2Spk# bs Bootfile size in 512-octet blocks 141.2Spk# cs Cookie server address list 151.2Spk# df Merit dump file 161.2Spk# dn Domain name 171.2Spk# ds Domain name server address list 181.2Spk# ef Extension file 191.2Spk# gw Gateway address list 201.2Spk# ha Host hardware address 211.2Spk# hd Bootfile home directory 221.2Spk# hn Send client's hostname to client 231.2Spk# ht Host hardware type (see Assigned Numbers RFC) 241.2Spk# im Impress server address list 251.2Spk# ip Host IP address 261.2Spk# lg Log server address list 271.2Spk# lp LPR server address list 281.2Spk# ns IEN-116 name server address list 291.2Spk# nt NTP (time) Server (RFC 1129) 301.2Spk# ra Reply address override 311.2Spk# rl Resource location protocol server address list 321.2Spk# rp Root path to mount as root 331.2Spk# sa TFTP server address client should use 341.2Spk# sm Host subnet mask 351.2Spk# sw Swap server address 361.2Spk# tc Table continuation (points to similar "template" host entry) 371.2Spk# td TFTP root directory used by "secure" TFTP servers 381.2Spk# to Time offset in seconds from UTC 391.2Spk# ts Time server address list 401.2Spk# vm Vendor magic cookie selector 411.2Spk# yd YP (NIS) domain name 421.2Spk# ys YP (NIS) server address 431.1Sglass 441.1Sglass# 451.1Sglass# Be careful about including backslashes where they're needed. Weird (bad) 461.1Sglass# things can happen when a backslash is omitted where one is intended. 471.1Sglass# 481.1Sglass 491.1Sglass 501.1Sglass# First, we define a global entry which specifies the stuff every host uses. 511.5Sperry# Dummy entries have an invalid hostname (one with a "." as first character). 521.1Sglass 531.5Sperry#.global.dummy:\ 541.4Smrg# :sm=255.255.255.0:\ 551.4Smrg# :hd=/home/nfsclient:bf=null:\ 561.4Smrg# :ds=128.32.149.141:\ 571.4Smrg# :ns=0x80020b4d 0x80020ffd:\ 581.4Smrg# :ts=0x80020b4d 0x80020ffd:\ 591.4Smrg# :to=18000: 601.1Sglass 611.1Sglass# Next, we can define different master entries for each subnet. . . 621.1Sglass 631.5Sperry#.subnet13.dummy:\ 641.5Sperry# :tc=.global.dummy:gw=128.2.13.1: 651.1Sglass# 661.1Sglass# 671.1Sglass# We should be able to use as many levels of indirection as desired. Use 681.1Sglass# your imagination. . . 691.1Sglass# 701.1Sglass 711.1Sglass 721.1Sglass# Individual entries (could also have different servers for some/all of these 731.1Sglass# hosts, but we don't really use this feature at CMU): 741.1Sglass 751.5Sperry#carnegie:tc=.subnet13.dummy:ht=ieee802:ha=7FF8100000AF:ip=128.2.11.1: 761.5Sperry#baldwin:tc=.subnet19.dummy:ht=ethernet:ha=0800200159C3:ip=128.2.11.10: 771.1Sglass 781.1Sglass 791.1Sglass#example nfs diskless client 801.1Sglass 811.1Sglass#timesink:hd=/home/nfsclient/timesink:\ 821.5Sperry# tc=.subnet149.dummy:ht=ethernet:ha=0800200168A7:ip=128.32.149.20: 83