DHCP Server: Install
Jump to navigation
Jump to search
Install
apt-get install isc-dhcp-server -y
systemctl start isc-dhcp-server systemctl enable isc-dhcp-server
Konfigurasi
Edit default
nano /etc/default/isc-dhcp-server
INTERFACESv4="enp3s0"
Edit konfigurasi DHCPD
nano /etc/dhcp/dhcpd.conf
default-lease-time 600; max-lease-time 7200; authoritative; subnet 10.254.239.0 netmask 255.255.255.224 { range 10.254.239.0 10.254.239.20; option routers 10.254.239.1; option domain-name-servers 10.254.239.1; }