Skip Links

Network World

  • Social Web 
  • Email 
  • Close

(Comma separation for multiple addresses)
Your Message:

Installing DHCP on Linux

Dr. Internet By Steve Blass , Network World , 08/22/2005
Steve Blass
  • Share/Email
  • Tweet This
  • Comment
  • Print

Our work group has moved to a new building with Internet access but no DHCP service. After setting up 30 computers with static IP addresses, we want to implement a DHCP server but do not have access to the router or any money to spend on a dedicated appliance. I have a Linux system I could use. How do I set up a DHCP server on a Linux system?

If your Linux system has the standard software development tools installed, you can set up a DHCP server without too much trouble.

The following describes how to install the latest DHCP daemon software from www.isc.org.

Download the dhcp-xxx-tar.gz file from the software download section. Unpack the file with the command

tar xvfz dhcp-xxx-tar.gz

Move to the newly created directory and type

./configure

followed by

make && make install

to build and install the software. Before launching the DHCP server, copy the file server/dhcpd.conf from the build directory to the file /etc/dhcpd.conf and edit the configuration settings to match your environment.

Most of the options are self-explanatory. Set the domain name, identify your DNS servers by their host names, and declare the subnet address range you want to provide DHCP service for. If you get an error message about Dynamic DNS, add the line

ddns-update-style none:

to the global declaration section of your dhcpd.conf file.

  • Share/Email
  • Tweet This
  • Comment
  • Print
Partner Content

Simplify Your Branch Infrastructure

Learn how to simplify your branch infrastructure while dramatically increasing app performance with Citrix Branch Repeater.

Download the Free Info Kit

Next-Gen Load Balancing

Free Guide: "Next Gen Load Balancing: 8 Things You Need to Handle Today's Network Traffic" shows you the functionality needed in your next load balancer.

Download the Free Guide

Accelerate Your Web Apps by up to 5x

Free Guide: "The Secret to Getting Maximum Speed from your Web Applications."' Learn how you can deliver Web apps up to 5x faster.

Download the Free Guide

Comments (1)
Login
Forgot your account info?

RE: Installing DHCP on LinuxBy gachuba on November 13, 2007, 2:55 amhi am unable to install DHCP on linux

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed