- Advertisement -

The Dynamic Host Configuration Protocol (DHCP) is a standardized network protocol used on Internet Protocol (IP) networks for dynamically distributing network configuration parameters, such as IP addresses for interfaces and services. With DHCP, computers request IP addresses and networking parameters automatically from a DHCP server, reducing the need for a network administrator or a user to configure these settings manually.
In this article will explain how to install and configure DHCP server on Ubuntu server 14.04+.

Install DHCP server on Ubuntu Server 14.04/14.10/15.04

To install a DHCP server on Ubuntu Server 14.04/14.10/15.04 enter the following command:

Configure DHCP Server

The DHCP server is not difficult to configure. After installing, open /etc/default/isc-dhcp-server file:

- Advertisement -

and assign the network interface:

First, we need to define to below values in dhcpd.conf file located in /etc/dhcp/ directory.
Example scenario:

and add the below code after making changes as per your network values.

After making all the changes you want, save and close the configuration file. Restart the dhcp service by using the following command:

That’s it. DHCP server is up and ready.


- Advertisement -

There are no comments yet

  • Hello, guest