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