udhcpd.conf(5) udhcp server configuration file

DESCRIPTION

The file /etc/udhcpd.conf contains configuration information specific to the udhcp server. It should contain one configuration keyword per line, followed by appropriate configuration information.

OPTIONS

start ADDRESS
The starting address of the IP lease block is ADDRESS. The default is 192.168.0.20.
end ADDRESS
The ending address of the IP lease block is ADDRESS. The default is 192.168.0.254.
interface INTERFACE
The udhcp server should listen on INTERFACE. The default is eth0.
max_leases LEASES
Offer at most LEASES leases (including those reserved by OFFERs, DECLINEs, and ARP conflicts). The default is 254.
remaining REMAINING
If REMAINING is yes, store the time remaining for each lease. If it is no, store the expiration time for each lease. The default is yes.
auto_time SECONDS
Write the lease information to a file every SECONDS seconds. The default is 7200.
decline_time SECONDS
Reserve an IP for SECONDS seconds if a DHCP decline message is received. The default is 3600.
conflict_time SECONDS
Reserve an IP for SECONDS seconds if an ARP conflict occurs. The default is 3600.
offer_time SECONDS
Reserve an IP for SECONDS seconds if it is offered. The default is 60.
min_lease SECONDS
Reserve an IP for the full lease time if the lease to be given is less than SECONDS seconds. The default is 60.
lease_file FILE
Write the lease information to FILE. The default is /var/lib/misc/udhcpd.leases.
pidfile FILE
Write the process ID to FILE. The default is /var/run/udhcpd.pid.
notify_file FILE
Execute FILE after the lease information is written. By default, no file is executed.
siaddr ADDRESS
BOOTP specific option. The default is 0.0.0.0.
sname NAME
BOOTP specific option. There is no default.
boot_file FILE
BOOTP specific option. There is no default.
static_lease MACADDRESS IPADDRESS
Issue IPADDRESS statically to a requester with MACADDRESS.
option OPTION
DHCP specific option.
subnet ADDRESS
timezone OFFSET
router ADDRESS...
timesvr ADDRESS...
namesvr ADDRESS...
dns ADDRESS...
logsvr ADDRESS...
cookiesvr ADDRESS...
lprsvr ADDRESS...
hostname HOSTNAME
bootsize SIZE
domain DOMAIN
swapsvr ADDRESS
rootpath PATH
ipttl TTL
mtu MTU
broadcast ADDRESS
ntpsrv ADDRESS...
wins ADDRESS...
requestip ADDRESS
lease SECONDS
dhcptype TYPE
serverid ADDRESS
tftp FILE
wpad URL
bootfile FILE
The default for lease is 864000. There are no defaults for the other options.