Would you like to learn how to install a DHCP server on Ubuntu Linux? In this tutorial, we are going to show you how to configure a DHCP server using isc-dhcp-server on Ubuntu Linux version 17.

Hardware List:

The following section presents the list of equipment used to create this Ubuntu Linux tutorial.

Every piece of hardware listed above can be found at Amazon website.

Ubuntu Playlist:

On this page, we offer quick access to a list of videos related to Ubuntu Linux.

Don't forget to subscribe to our youtube channel named FKIT.

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu linux.

Tutorial - DHCP Server on Ubuntu Linux

On the Linux console, use the following commands to install the required services.

# apt-get update
# apt-get install isc-dhcp-server

Edit the configuration file of the DHCP server on Ubunut linux.

# vi /etc/dhcp/dhcpd.conf

ddns-update-style none;
option domain-name "guest.techexpert";
option domain-name-servers,;
allow booting;
allow bootp;
default-lease-time 172800;
max-lease-time 172800;
log-facility local7;
subnet netmask {
option routers;
option domain-name-servers,;

In our example, the ISC DHCP server was configured to offer the following configuration:

IP addresses from the network

DNS servers: and

Domain name: guest.techexpert

IP address lease time: 48 Hours

To check the DHCP client addresses, use the following command:

# cat /var/lib/dhcp/dhcpd.leases

If the DHCP clients are getting the address from the network, this means that you followed all the steps correctly.