logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

udhcpd.conf - 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.

Name

udhcpd.conf - udhcp server configuration file

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. 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. subnetADDRESStimezoneOFFSETrouterADDRESS...timesvrADDRESS...namesvrADDRESS...dnsADDRESS...logsvrADDRESS...cookiesvrADDRESS...lprsvrADDRESS...hostnameHOSTNAMEbootsizeSIZEdomainDOMAINswapsvrADDRESSrootpathPATHipttlTTLmtuMTUbroadcastADDRESSntpsrvADDRESS...winsADDRESS...requestipADDRESSleaseSECONDSdhcptypeTYPEserveridADDRESStftpFILEwpadURLbootfileFILE The default for lease is 864000. There are no defaults for the other options.

See Also

udhcpd(8). GNU/Linux 2001-09-26 UDHCPD.CONF(5)

See Also