Sidebar

In this tutorial, I'll try to explain how to setup an Ubuntu 16.04 server as a DHCP server. In simple terms, your ubuntu server can provide / lease out IP-addresses to other clients(computers in your LAN).

(ps:) my isc-dhcp-server file was totally blank, so i just entered the single line above. If your file has some contents, just find the line referring to INTERFACES, uncomment it and enter the name of your interface.

Below screenshot is after editing the interface:

Figure-2:configure dhcp-server interface

3b) Also edit dhcp.conf file at location: /etc/dhcp/dhcpd.conf

Modify it like as shown below with your own settings:

Enter the domain name and the domain-name-servers (refer to settings in #1: Initial Setup - above):