These are the steps that I followed, in order to make a DHCP server in Debian 9 Stretch.
First of all we need to assign an IP address on our main ethernet interface. For this guide, I will use interface enp0s2. So we have to edit the file /etc/network/interfaces and add the following :
auto enp2s0
allow-hotplug enp2s0
iface enp2s0 inet static
address 192.168.1.1/24
dns-nameservers 8.8.8.8
dns-search mydomain.com
Then we need to download our dhcp package.
sudo apt install isc-dhcp-serverContinue reading