Ubuntu DHCP Server

Installation:
# apt install isc-dhcp-server

Configuration:
# vim /etch/dhcp/dhcpd.conf
# minimal sample /etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;

# Change the domain name and name servers options
option domain-name "confignotes.com";
option domain-name-servers 192.168.20.48;

# Uncomment authoritative if only DHCP Server in the network
authoritative;

subnet 192.168.20.0 netmask 255.255.255.0 {
 range 192.168.20.50 192.168.20.100;
 option routers 192.168.20.1;
 option domain-name-servers 192.168.20.48;
}

# Reserve IP
host jenny {
  hardware ethernet 08:00:08:67:53:09;
  fixed-address 192.168.20.50;
}
Restart DHCP Server: # systemctl restart isc-dhcp-server.service Check it's status: # systemctl status isc-dhcp-server.service If you there's any error, see journalctl: # journalctl -xe DHCP Lease list, reserved IP addresses won’t show up in the dhcp lease list # dhcp-lease-list