This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pkg install isc-dhcp43-server atftp | |
sudo sh -c 'cat >/usr/local/etc/dhcpd.conf' <<EOF | |
default-lease-time 600; | |
max-lease-time 7200; | |
# If this DHCP server is the official DHCP server for the local | |
# network, the authoritative directive should be uncommented. | |
authoritative; |