UDHCPD.CONF(5)
π UDHCPD.CONF(5) β the udhcp server config file, bestie edition π
okay so this is the GNU/Linux Administrator's Manual page for the udhcp config file, and yes it is exactly as iconic as it sounds. pull up a chair. π«Ά
β¨ NAME β¨
udhcpd.conf β literally the udhcp server configuration file. that's it. that's the whole name. π
πΈ DESCRIPTION πΈ
so the file /etc/udhcpd.conf is where all the config info that's specific to the udhcp server lives. and the vibe here is very one-thing-per-line: it should contain one configuration keyword per line, followed by the appropriate configuration information. no cap. keep it tidy, bestie. π
π OPTIONS π
here's the whole roster, no skips, no cuts. every single one. π
startADDRESS β the starting address of the IP lease block is ADDRESS. the default is192.168.0.20. πendADDRESS β the ending address of the IP lease block is ADDRESS. the default is192.168.0.254. β¨interfaceINTERFACE β the udhcp server should listen on INTERFACE. the default iseth0. π¦max_leasesLEASES β offer at most LEASES leases, and yeah that count includes the ones reserved byOFFERs,DECLINEs, and ARP conflicts. the default is254. πauto_timeSECONDS β write the lease information to a file every SECONDS seconds. the default is7200. β°decline_timeSECONDS β reserve an IP for SECONDS seconds if a DHCP decline message is received. the default is3600. πconflict_timeSECONDS β reserve an IP for SECONDS seconds if an ARP conflict occurs. the default is3600. πoffer_timeSECONDS β reserve an IP for SECONDS seconds if it is offered. the default is60. πmin_leaseSECONDS β reserve an IP for the full lease time if the lease to be given is less than SECONDS seconds. the default is60. β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 is0.0.0.0. πsnameNAME β BOOTP specific option. there is no default. πboot_fileFILE β BOOTP specific option. there is no default. πstatic_leaseMACADDRESS IPADDRESS β issue IPADDRESS statically to a requester with MACADDRESS. matching them up like a group chat pair. πoptionOPTION β DHCP specific option. and here's the full menu of what OPTION can be, bestie, all of them, in order:subnetADDRESStimezoneOFFSETrouterADDRESS...timesvrADDRESS...namesvrADDRESS...dnsADDRESS...logsvrADDRESS...cookiesvrADDRESS...lprsvrADDRESS...hostnameHOSTNAMEbootsizeSIZEdomainDOMAINswapsvrADDRESSrootpathPATHipttlTTLmtuMTUbroadcastADDRESSntpsrvADDRESS...winsADDRESS...requestipADDRESSleaseSECONDSdhcptypeTYPEserveridADDRESStftpFILEwpadURLbootfileFILE
heads up: the default forleaseis864000. there are no defaults for the other options. periodt. π
π SEE ALSO π
udhcpd(8)β go read that one too, iykyk. π
k that's the whole page, you ate it. π«Ά this was the GNU/Linux manual page, dated 2001-09-26, filed under UDHCPD.CONF(5). iconic, historic, still serving. bye bestie, go configure something. πβ¨π
π¦ where this page comes from
- debian trixie: udhcpd 1:1.37.0-6
- ubuntu noble: udhcpd 1:1.36.1-6ubuntu3
- ubuntu noble: udhcpd 1:1.36.1-6ubuntu3.1
- ubuntu questing: udhcpd 1:1.37.0-4ubuntu1
- ubuntu resolute: udhcpd 1:1.37.0-7ubuntu1
- ubuntu stonking: udhcpd 1:1.38.0-3ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms