Setup DHCP Server on Ubuntu 13.10

19 Feb

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

About these ads
1 Comment

Posted by on 19/02/2014 in Ubuntu


One response to “Setup DHCP Server on Ubuntu 13.10


    04/04/2014 at 6:00 AM

    all the time i used to read smaller articles that also clear their
    motive, and that is also happening with this piece of writing which
    I am reading at this time.


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


Get every new post delivered to your Inbox.