1*94391160Spooka# $NetBSD: bootptab,v 1.6 2001/04/24 21:55:06 pooka Exp $ 2ecfa4355Sthorpej# 3*94391160Spooka# /etc/bootptab: database for bootp server (/usr/sbin/bootpd) 46cc6cf15Sglass# Last update Mon 11/7/88 18:03 56cc6cf15Sglass# Blank lines and lines beginning with '#' are ignored. 66cc6cf15Sglass# 76cc6cf15Sglass# Legend: 86cc6cf15Sglass# 96cc6cf15Sglass# first field -- hostname 106cc6cf15Sglass# (may be full domain name and probably should be) 116cc6cf15Sglass# 12590d520dSpk# bf Bootfile 13590d520dSpk# bs Bootfile size in 512-octet blocks 14590d520dSpk# cs Cookie server address list 15590d520dSpk# df Merit dump file 16590d520dSpk# dn Domain name 17590d520dSpk# ds Domain name server address list 18590d520dSpk# ef Extension file 19590d520dSpk# gw Gateway address list 20590d520dSpk# ha Host hardware address 21590d520dSpk# hd Bootfile home directory 22590d520dSpk# hn Send client's hostname to client 23590d520dSpk# ht Host hardware type (see Assigned Numbers RFC) 24590d520dSpk# im Impress server address list 25590d520dSpk# ip Host IP address 26590d520dSpk# lg Log server address list 27590d520dSpk# lp LPR server address list 28590d520dSpk# ns IEN-116 name server address list 29590d520dSpk# nt NTP (time) Server (RFC 1129) 30590d520dSpk# ra Reply address override 31590d520dSpk# rl Resource location protocol server address list 32590d520dSpk# rp Root path to mount as root 33590d520dSpk# sa TFTP server address client should use 34590d520dSpk# sm Host subnet mask 35590d520dSpk# sw Swap server address 36590d520dSpk# tc Table continuation (points to similar "template" host entry) 37590d520dSpk# td TFTP root directory used by "secure" TFTP servers 38590d520dSpk# to Time offset in seconds from UTC 39590d520dSpk# ts Time server address list 40590d520dSpk# vm Vendor magic cookie selector 41590d520dSpk# yd YP (NIS) domain name 42590d520dSpk# ys YP (NIS) server address 436cc6cf15Sglass 446cc6cf15Sglass# 456cc6cf15Sglass# Be careful about including backslashes where they're needed. Weird (bad) 466cc6cf15Sglass# things can happen when a backslash is omitted where one is intended. 476cc6cf15Sglass# 486cc6cf15Sglass 496cc6cf15Sglass 506cc6cf15Sglass# First, we define a global entry which specifies the stuff every host uses. 51e022bb30Sperry# Dummy entries have an invalid hostname (one with a "." as first character). 526cc6cf15Sglass 53e022bb30Sperry#.global.dummy:\ 549d18dd7bSmrg# :sm=255.255.255.0:\ 559d18dd7bSmrg# :hd=/home/nfsclient:bf=null:\ 569d18dd7bSmrg# :ds=128.32.149.141:\ 579d18dd7bSmrg# :ns=0x80020b4d 0x80020ffd:\ 589d18dd7bSmrg# :ts=0x80020b4d 0x80020ffd:\ 599d18dd7bSmrg# :to=18000: 606cc6cf15Sglass 616cc6cf15Sglass# Next, we can define different master entries for each subnet. . . 626cc6cf15Sglass 63e022bb30Sperry#.subnet13.dummy:\ 64e022bb30Sperry# :tc=.global.dummy:gw=128.2.13.1: 656cc6cf15Sglass# 666cc6cf15Sglass# 676cc6cf15Sglass# We should be able to use as many levels of indirection as desired. Use 686cc6cf15Sglass# your imagination. . . 696cc6cf15Sglass# 706cc6cf15Sglass 716cc6cf15Sglass 726cc6cf15Sglass# Individual entries (could also have different servers for some/all of these 736cc6cf15Sglass# hosts, but we don't really use this feature at CMU): 746cc6cf15Sglass 75e022bb30Sperry#carnegie:tc=.subnet13.dummy:ht=ieee802:ha=7FF8100000AF:ip=128.2.11.1: 76e022bb30Sperry#baldwin:tc=.subnet19.dummy:ht=ethernet:ha=0800200159C3:ip=128.2.11.10: 776cc6cf15Sglass 786cc6cf15Sglass 796cc6cf15Sglass#example nfs diskless client 806cc6cf15Sglass 816cc6cf15Sglass#timesink:hd=/home/nfsclient/timesink:\ 82e022bb30Sperry# tc=.subnet149.dummy:ht=ethernet:ha=0800200168A7:ip=128.32.149.20: 83