Setup DHCP Server on Ubuntu 13.10

1.Install DHCP server package

sudo apt-get install isc-dhcp-server

2.Editing file /etc/default/isc-dhcp-server

sudo vim /etc/default/isc-dhcp-server

Change this line to:


Save and exit

3.Editing file /etc/dhcp/dhcpd.conf

Create backup /etc/dhcp/dhcpd.conf

sudo mv /etc/dhcp/dhcpd.conf /etc/dhcp/

Create configuration file dhcpd.conf:

vim  /etc/dhcp/dhcpd.conf 

Add these lines:

option domain-name “”;

option domain-name-servers,;

default-lease-time 600;

max-lease-time 7200;

subnet netmask {


option domain-name-servers,;

option domain-name “server.”;

option routers;

option broadcast-address;

default-lease-time 600;

max-lease-time 7200;


4.restart dhcp server

sudo service isc-dhcp-server restart

One thought on “Setup DHCP Server on Ubuntu 13.10

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s