Linux/dhcpd

From Omnia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

udhcpd

# Ubuntu 20 - udhcpd
apt install dhcpd

/etc/udhcpd.conf

start           10.0.0.10
end             10.0.0.20
interface       eth0

opt     dns     10.0.0.1 10.0.0.2
option  subnet  255.255.255.0
opt     router  10.0.0.1
#option dns     10.0.0.3   # appened to above DNS servers for a total of 3
option  domain  lab
option  lease   864000          # 10 days of seconds

# PXE
siaddr          10.0.0.1
boot_file       boot.pxe