Home VPN WorkPlace Web Sites/Apps Small Business Other Apps Contact Guides

Ubuntu DHCP Server

Install and configure DHCP Server on Ubuntu 20.10


sudo apt install isc-dhcp-server -y


First define LAN adapter
sudo nano /etc/default/isc-dhcp-server
Now configure your settings
sudo nano /etc/dhcp/dhcpd.conf
Now set ipv4 forwarding
sudo nano /etc/sysctl.conf
Uncomment the following
Restart DHCP Service
sudo systemctl restart isc-dhcp-server.service
List Current DHCP Leases

Example Config

default-lease-time 600; max-lease-time 7200; option subnet-mask; option broadcast-address; option routers; option domain-name-servers,; option domain-name "searchnorfolk.ca"; option ntp-servers; ddns-update-style none; authoritative; subnet netmask { range; } # pi4 2gb Time-Server host pnode02 { hardware ethernet dc:a6:32:ad:01:17; fixed-address; } # pi4 4gb 1 host pnode03 { hardware ethernet dc:a6:32:4a:02:37; fixed-address; } # pi4 4gb 2 host pnode04 { hardware ethernet dc:a6:32:4b:03:65; fixed-address; } # pi4 4gb 3 host pnode05 { hardware ethernet dc:a6:32:4a:04:69; fixed-address; } # pi4 8gb host pnode06 { hardware ethernet dc:a6:32:b1:05:1c; fixed-address; } # pi2 1gb host pnode07 { hardware ethernet b8:27:eb:a5:06:24; fixed-address; }
CAMM Services Application Design
Brantford PC
Norfolk County PC
R.D. Cookson Disposal Ltd.
Web Site Design Brantford, Ontario
Web Site & Application Development Norfolk County, Ontario
Various front loader and roll off bin rentals in Simcoe, Ontario
3D Marketing and Exhibit Specialists, Greater Toronto Area
Robert Jones Marine Technical Services