Article 52 - How to Setup DHCP Server on Ubuntu

Suppose you have a need to setup a DHCP server, you can use Ubuntu for that purpose.

You will need an extra Network Interface Card (NIC) on the Ubuntu computer.

As of this writting, you should install dhcp3-server, via the command "sudo apt-get install dhcp3-server".

Once that is installed, you will need to edit the following file: /etc/dhcp3/dhcpd.conf. Add the following to tell the server to issue IP Addresses on the particular subnet.

subnet 192.168.0.1 netmask 255.255.255.0 { range 192.168.0.2 192.168.0.254; }

You will need to edit the following file: /etc/default/dhcp3-server. Add the following to tell the DHCP server the interfaces you wish it to be active on.

INTERFACES "<interface1>...<interfacen>"
Don't forget to restart the DHCP server using, "sudo /etc/init.d/dhcp3-server restart".

Great, now you can plug in other devices and connect to your DHCP server.

Comments (17)

Posted by anonymous - bookmarks at Thursday, March 14, 2013 3:42 PM

khgeiJ I truly appreciate this post.Really thank you!

Posted by anonymous - what is ciprofloxacin at Friday, March 15, 2013 10:40 AM

Great, thanks for sharing this blog.Much thanks again. Much obliged.

Posted by anonymous - generic viagra at Friday, March 15, 2013 12:18 PM

Appreciate you sharing, great blog.Really thank you! Much obliged.

Posted by anonymous - cialis online at Friday, March 15, 2013 1:58 PM

Thanks-a-mundo for the blog article. Really Great.

Posted by anonymous - Buy Levitra online uk at Friday, March 15, 2013 3:38 PM

Thanks a lot for the article.Really thank you! Want more.

Post a comment

  • Name:
  • Post:
  • Challenge:

Register or login to post comments easier.


Vantasy World Copyright 2011 - 2017. Vantasy World is a project developed by Vantasy Online. Privacy Policy.