# SAMPLE /etc/dhcptab: database for DHCP Server (/usr/lbin/bootpd).
# @(#) dhcptab $Revision: 1.1.212.1 $ $Date: 95/10/12 18:52:37 $
#
# Format:
#	nodename:tag=value:tag=value: ... :tag=value
#
#	first field --	nodename (hostname) of terminal followed by colon
#			(should be full domain name)
#
#-------------------------------------------------------------------
# RESERVED dummy node names
#-------------------------------------------------------------------
#
# DHCP reserves the following dummy nodenames for DHCP Server
# configuration: 
#                 DHCP_DEFAULT_CLIENT_SETTINGS
#                 DHCP_DEVICE_GROUP
#                 DHCP_POOL_GROUP
#                 DHCP_SERVER_SETTINGS
#
# The tags to be used for these particular dummy nodenames are described
# below.
# Blank lines and lines beginning with "#" are ignored.
# Make sure you include a colon and a backslash to continue a line.
# Don't put any spaces in the tag=value string.
# The ht tag MUST precede the ha tag.
#
#-------------------------------------------------------------------
# ASSUMPTIONS
#-------------------------------------------------------------------
#             This is the configuration file for a DHCP server.
#             By default the address allocation mechanism from this
#             server to DHCP clients will be automatic allocation.
#             (This can be changed by defining a lease-time.
#
#             BOOTP clients in bootptab will be served just as by a
#             bootp server.  Additionally, the DHCP server can treat
#             bootp clients as part of a pool group.  This means that
#             bootp clients can be automatically allocated IP addresses
#             and given all appropriate group parameters.  In this case,
#             address allocation is permanent.  This service is
#             enabled/disabled using the bootp-clients-allowed
#             setting in the appropriate DHCP_POOL_GROUP.
#-------------------------------------------------------------------
# CONFIGURATION VALUES 
#-------------------------------------------------------------------
# The following configuration values can be set for the DHCP server:
#
# DHCP_SERVER_SETTINGS:\
#   call-on-unrequited=                        :\
#
# DHCP_DEFAULT_CLIENT_SETTINGS:\
#   lease-time=[INFINITE | #seconds] :\            default is INFINITE 
#   Can have any of the group options under it plus except: class-id,
#   class-name, pool-name,addr-pool-start-address, addr-pool-last-address,
#   or reserved-for-other.
#
# DHCP_DEVICE_GROUP:\
#   class-id=[ "STRING" | NUMBER ]             :\
#   class-name=STRING                          :\
#   -- a resource profile may be specified for this dhcp_device_group
#   -- resource settings must be from the following list of acceptable
#   -- dhcp options.  The definitions fo the two letter options
#   -- comes from bootp, and they are described later in this file.
#   call-on-assignment=                        :\
#   call-on-decline=                           :\
#   call-on-lease-extend=                      :\
#   call-on-release=                           :\
#   subnet-mask=                               :\
#   addr-pool-start-address=                   :\
#   addr-pool-last-address=                    :\
#   reserved-for-other=                        :\
#   lease-time=                                :\
#   lease-grace-period=                        :\
#   lease-policy=ACCEPT_NEW_CLIENTS | REJECT_NEW_CLIENTS
#   ba=
#   bf=
#   bs=
#   cs=
#   dn=
#   ds=
#   ef=
#   hd=
#   hn=
#   im=
#   lg=
#   lp=
#   md=
#   na=
#   nb=
#   nc=
#   nd=
#   ns=
#   nt=
#   rl=
#   rp=
#   ss=
#   to=
#   tr=
#   ts=
#   tv=
#   xd=
#   xf=
#   yd=
#   ys=
#   Tn=
#   T144=
#   Vn=
#
# DHCP_POOL_GROUP:\
#   pool-name=STRING                           :\
#   allow-bootp-clients= [TRUE | FALSE]        :\
#   -- a resource profile may be specified for this dhcp_device_group
#   -- resource settings must be from the following list of acceptable
#   -- dhcp options.  The definitions fo the two letter options
#   -- comes from bootp, and they are described later in this file.
#   call-on-assignment=                        :\
#   call-on-decline=                           :\
#   call-on-lease-extend=                      :\
#   call-on-release=                           :\
#   subnet-mask=                               :\
#   addr-pool-start-address=                   :\
#   addr-pool-last-address=                    :\
#   reserved-for-other=                        :\
#   lease-time= 3600                           :\
#   lease-grace-period=                        :\
#   lease-policy=ACCEPT_NEW_CLIENTS | REJECT_NEW_CLIENTS :\
#   ba=
#   bf=
#   bs=
#   cs=
#   dn=
#   ds=
#   ef=
#   hd=
#   hn=
#   im=
#   lg=
#   lp=
#   md=
#   na=
#   nb=
#   nc=
#   nd=
#   ns=
#   nt=
#   rl=
#   rp=
#   ss=
#   to=
#   tr=
#   ts=
#   tv=
#   xd=
#   xf=
#   yd=
#   ys=
#   Tn=
#   T144=
#   Vn=
#
#-------------------------------------------------------------------
# NOTE -- Groups may not overlap their address space with other
#         groups.
#-------------------------------------------------------------------
#
# The tags used in the DHCP server configuration file have the
# following meanings:  (refer to the man page for more info)
#
# DHCP_SERVER_SETTINGS    -- fixed name for configuring dhcp server
# DHCP_DEVICE_GROUP       -- fixed name for configuration of dhcp device groups
#                            There should be a dhcp_device_group entry for each
#                            device group. This should be used for establishing
#                            similar dhcp handling for a group of devices on
#                            the same subnet.
# DHCP_POOL_GROUP         -- fixed name for configuration of dhcp address pool.
#                            A pool group is similar to a device group
#                            except that a device group has a class-id.
#   addr-pool-last-address  -- last IP address of contiguous pool of
#                              IP addresses for this dhcp_device_group
#                              or dhcp_pool_group
#   addr-pool-start-address -- starting IP address of contiguous pool of
#                              IP addresses for this dhcp_device_group
#                              or dhcp_pool_group
#   allow-bootp-clients     -- a pool group setting only; this indicates
#                              whether bootp clients which do not have an
#                              entry in the bootptab file should be given
#                              a permanently allocated IP address (and other
#                              configured parameters) within a pool group
#   call-on-assignment      -- specify a callback to invoke when an address
#                              has been newly assigned to a client
#   call-on-decline         -- specify a callback to invoke when a client
#                              has declined an address
#   call-on-lease-extend    -- specify a callback to invoke when a client's 
#                              lease has been extended
#   call-on-release         -- specify a callback to invoke when a client
#                              has released an address
#   call-on-unrequited      -- specify a callback to invoke when the server
#                              was unable to offer an address to a new DHCP
#                              client or a BOOTP client
#   class-id                -- client class identifier for dhcp_device_group;
#                              may be either a hex number or a string, if it
#                              is a string then the string must be enclosed
#                              in quotation marks.  A client is allowed to
#                              specify a class that it belongs to; for a
#                              client to match a device group, the class-id
#                              must match that class.
#   class-name              -- administrative class name for dhcp_device_group
#   lease-grace-period      -- this is given as a percentage of the
#                              configured lease time.  This is the amount
#                              of time after a lease expires before the
#                              IP address is available to be given to a
#                              new client.  It is meaningless for infinite
#                              leases.
#   lease-time              -- duration of lease for client IP address in
#                              seconds; minimum is 10 minutes;set to
#                              ?? to indicate an infinite lease
#   lease-policy            -- a per group setting that indicates whether
#                              the server should accept or reject new clients
#                              in the group; this might be used to control
#                              access to a new group
#   pool-name               -- administrative address pool name for dhcp_
#                              pool_group
#   subnet-mask             -- subnet mask for devices in the
#                              dhcp_device_group or dhcp_pool_group
#--------------------------------------------------------------------------
# The options listed below are useful for DHCP and BOOTP clients.
# They are specified as tag=value and delimited by colons.
# For a list of all possible options, see the bootpd.1m man page.
# For full definitions, see RFC 1533.
# Legend:
#       tag -- definition
#--------------------------------------------------------------------------
#       DHCP Options (Bootp Vendor Extensions) 
#	ba -- broadcast bootp reply for testing with bootpquery
#	bf -- bootfile (for tftp download)
#	bp -- bootp server IP addresses to relay the bootp requests
#	bs -- bootfile size in 512-octet blocks
#	ci -- client ID (for dhcp clients only)
#	cs -- cookie server IP address
#	dn -- domain name
#	ds -- domain name server IP address
#	ef -- extensions file, containing more options for the client
#	gw -- gateway IP address (must have sm tag defined also)
#	ha -- hardware address (link level address) (hex)
#	hd -- home directory for bootfile (chrooted to tftp home directory)
#	hn -- send nodename (boolean flag, no "=value" needed)
#	hm -- hardware mask (hex) (must be preceded the ht tag)
#	hp -- maximum hops value (cannot exceed 16)
#	ht -- hardware type (ether) (must precede the ha and hm tag)
#	im -- impress server IP address
#	ip -- (client) IP address
#	lg -- (MIT-LCS UDP) log server IP address
#	lp -- LPR (line printer) server IP address
#	md -- file to dump core image to in the event of a crash
#	na -- NETBIOS name server IP address
#	nb -- NETBIOS datagram distribution server IP address
#	nc -- NETBIOS over TCP/IP node type (B-node, P-node, M-node, or H-node)
#	nd -- NETBIOS over TCP/IP scope
#	ns -- name server (IEN 116) IP address
#	nt -- network time protocol server IP address
#	rl -- resource location server
#	rp -- path name to client's root disk
#	sm -- network subnet mask
#	ss -- swap server IP address
#	tc -- template for common defaults (should be the first option listed)
#	th -- threshold value in seconds
#	to -- time offset in seconds from Coordinated Universal Time (UTC)
#	tr -- renewal (T1) time value (a percentage of the lease time)
#	ts -- time server IP address
#	tv -- rebinding (T2) time value (a percentage of the lease time)
#	vm -- vendor magic cookie selector (should be rfc1048)
#	xd -- X window system display manager IP address
#	xf -- X window system font server IP address
#	yd -- NIS domain name
#	ys -- NIS server IP address
#	Tn -- generic option tag n
#	T144  remote config file name (file name must be enclosed in "")
#	Vn -- vendor specific information for vendor option tag of n
#
#-------------------------------------------------------------------
#  SAMPLE FILE CONTENTS
#-------------------------------------------------------------------
#
#DHCP_SERVER_SETTINGS:\
#    call-on-unrequited="/tmp/unrequited.script" :
#DHCP_DEVICE_GROUP:\
#    ba:\
#    class-name=SUBNET_128_XTERMINAL_GROUP:\
#    class-id="xterminal":\
#    subnet-mask=255.255.255.0 :\
#    addr-pool-start-address=  15.14.128.1 :\
#    addr-pool-last-address=   15.14.128.254 :\
#    lease-grace-period=5 :\
#    tr=50 :\
#    tv=87 :
#DHCP_POOL_GROUP:\
#    ba:\
#    pool-name=RED_SUBNET_POOL:\
#    call-on-assignment="/usr/local/bin/assignment.script" :\
#    subnet-mask=255.255.255.0 :\
#    addr-pool-start-address=  15.13.128.1 :\
#    addr-pool-last-address=   15.13.128.254 :
#DHCP_POOL_GROUP:\
#    ba:\
#    pool-name=BLUE_SUBNET_POOL:\
#    subnet-mask=255.255.255.0 :\
#    addr-pool-start-address=  192.2.1.2 :\
#    addr-pool-last-address=   192.2.1.254 :
