1 1.6 pooka # $NetBSD: bootptab,v 1.6 2001/04/24 21:55:06 pooka Exp $ 2 1.3 thorpej # 3 1.6 pooka # /etc/bootptab: database for bootp server (/usr/sbin/bootpd) 4 1.1 glass # Last update Mon 11/7/88 18:03 5 1.1 glass # Blank lines and lines beginning with '#' are ignored. 6 1.1 glass # 7 1.1 glass # Legend: 8 1.1 glass # 9 1.1 glass # first field -- hostname 10 1.1 glass # (may be full domain name and probably should be) 11 1.1 glass # 12 1.2 pk # bf Bootfile 13 1.2 pk # bs Bootfile size in 512-octet blocks 14 1.2 pk # cs Cookie server address list 15 1.2 pk # df Merit dump file 16 1.2 pk # dn Domain name 17 1.2 pk # ds Domain name server address list 18 1.2 pk # ef Extension file 19 1.2 pk # gw Gateway address list 20 1.2 pk # ha Host hardware address 21 1.2 pk # hd Bootfile home directory 22 1.2 pk # hn Send client's hostname to client 23 1.2 pk # ht Host hardware type (see Assigned Numbers RFC) 24 1.2 pk # im Impress server address list 25 1.2 pk # ip Host IP address 26 1.2 pk # lg Log server address list 27 1.2 pk # lp LPR server address list 28 1.2 pk # ns IEN-116 name server address list 29 1.2 pk # nt NTP (time) Server (RFC 1129) 30 1.2 pk # ra Reply address override 31 1.2 pk # rl Resource location protocol server address list 32 1.2 pk # rp Root path to mount as root 33 1.2 pk # sa TFTP server address client should use 34 1.2 pk # sm Host subnet mask 35 1.2 pk # sw Swap server address 36 1.2 pk # tc Table continuation (points to similar "template" host entry) 37 1.2 pk # td TFTP root directory used by "secure" TFTP servers 38 1.2 pk # to Time offset in seconds from UTC 39 1.2 pk # ts Time server address list 40 1.2 pk # vm Vendor magic cookie selector 41 1.2 pk # yd YP (NIS) domain name 42 1.2 pk # ys YP (NIS) server address 43 1.1 glass 44 1.1 glass # 45 1.1 glass # Be careful about including backslashes where they're needed. Weird (bad) 46 1.1 glass # things can happen when a backslash is omitted where one is intended. 47 1.1 glass # 48 1.1 glass 49 1.1 glass 50 1.1 glass # First, we define a global entry which specifies the stuff every host uses. 51 1.5 perry # Dummy entries have an invalid hostname (one with a "." as first character). 52 1.1 glass 53 1.5 perry #.global.dummy:\ 54 1.4 mrg # :sm=255.255.255.0:\ 55 1.4 mrg # :hd=/home/nfsclient:bf=null:\ 56 1.4 mrg # :ds=128.32.149.141:\ 57 1.4 mrg # :ns=0x80020b4d 0x80020ffd:\ 58 1.4 mrg # :ts=0x80020b4d 0x80020ffd:\ 59 1.4 mrg # :to=18000: 60 1.1 glass 61 1.1 glass # Next, we can define different master entries for each subnet. . . 62 1.1 glass 63 1.5 perry #.subnet13.dummy:\ 64 1.5 perry # :tc=.global.dummy:gw=128.2.13.1: 65 1.1 glass # 66 1.1 glass # 67 1.1 glass # We should be able to use as many levels of indirection as desired. Use 68 1.1 glass # your imagination. . . 69 1.1 glass # 70 1.1 glass 71 1.1 glass 72 1.1 glass # Individual entries (could also have different servers for some/all of these 73 1.1 glass # hosts, but we don't really use this feature at CMU): 74 1.1 glass 75 1.5 perry #carnegie:tc=.subnet13.dummy:ht=ieee802:ha=7FF8100000AF:ip=128.2.11.1: 76 1.5 perry #baldwin:tc=.subnet19.dummy:ht=ethernet:ha=0800200159C3:ip=128.2.11.10: 77 1.1 glass 78 1.1 glass 79 1.1 glass #example nfs diskless client 80 1.1 glass 81 1.1 glass #timesink:hd=/home/nfsclient/timesink:\ 82 1.5 perry # tc=.subnet149.dummy:ht=ethernet:ha=0800200168A7:ip=128.32.149.20: 83