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

startADDRESS

The starting address of the IP lease block is ADDRESS. The default is 192.168.0.20.

endADDRESS

The ending address of the IP lease block is ADDRESS. The default is 192.168.0.254.

interfaceINTERFACE

The udhcp server should listen on INTERFACE. The default is eth0.

max_leasesLEASES

Offer at most LEASES leases (including those reserved by OFFERs, DECLINEs, and ARP conflicts). The default is 254.

remainingREMAINING

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_timeSECONDS

Write the lease information to a file every SECONDS seconds. The default is 7200.

decline_timeSECONDS

Reserve an IP for SECONDS seconds if a DHCP decline message is received. The default is 3600.

conflict_timeSECONDS

Reserve an IP for SECONDS seconds if an ARP conflict occurs. The default is 3600.

offer_timeSECONDS

Reserve an IP for SECONDS seconds if it is offered. The default is 60.

min_leaseSECONDS

Reserve an IP for the full lease time if the lease to be given is less than SECONDS seconds. The default is 60.

lease_fileFILE

Write the lease information to FILE. The default is /var/lib/misc/udhcpd.leases.

pidfileFILE

Write the process ID to FILE. The default is /var/run/udhcpd.pid.

notify_fileFILE

Execute FILE after the lease information is written. By default, no file is executed.

siaddrADDRESS

BOOTP specific option. The default is 0.0.0.0.

snameNAME

BOOTP specific option. There is no default.

boot_fileFILE

BOOTP specific option. There is no default.

static_leaseMACADDRESSIPADDRESS

Issue IPADDRESS statically to a requester with MACADDRESS.

optionOPTION

DHCP specific option.

subnetADDRESS

timezoneOFFSET

routerADDRESS...

timesvrADDRESS...

namesvrADDRESS...

dnsADDRESS...

logsvrADDRESS...

cookiesvrADDRESS...

lprsvrADDRESS...

hostnameHOSTNAME

bootsizeSIZE

domainDOMAIN

swapsvrADDRESS

rootpathPATH

ipttlTTL

mtuMTU

broadcastADDRESS

ntpsrvADDRESS...

winsADDRESS...

requestipADDRESS

leaseSECONDS

dhcptypeTYPE

serveridADDRESS

tftpFILE

wpadURL

bootfileFILE

The default for lease is 864000. There are no defaults for the other options.

RELATED TO udhcpd.conf…

udhcpd(8).