Anda di halaman 1dari 1

Step1: Install the isc-dhcp-server

type 'sudo apt install isc-dhcp-server'

Step2: Configure the /etc/dhcp/dhcpd.conf file

1) sudo gedit /etc/dhcp/dhcpd.conf


2) declare the following:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.30 10.0.0.60;
}

Step3: Start the server:

sudo systemctl start isc-dhcp-server.service


sudo systemctl status isc-dhcp-server.service

Step4: Connect any device to the server's network and it will get its IP address
from the server such that it agrees with the preset range.

THIS WAS A VIDEO BY VAIBHAV SHRIVASTAVA... THANKS FOR WATCHING :)