UDHCPD.CONF(5)

πŸ“¦
version 1.38.0 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’œ

  • 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, and yeah that count includes the ones reserved by OFFERs, DECLINEs, and ARP conflicts. the default is 254. πŸ’–
  • 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. matching them up like a group chat pair. πŸ’ž
  • option OPTION β€” DHCP specific option. and here's the full menu of what OPTION can be, bestie, all of them, in order:
    • 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
heads up: the default for lease is 864000. 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. πŸ’–βœ¨πŸŽ€