
DHCP
|
169
• Troubleshooting address problems (such as duplicate addresses) and changes in
location creates unnecessary work.
• Changes in personnel usually mean that someone will have to check each com-
puter to configure a new database of IP assignments.
• Frequent movement of mobile users creates a need to reconfigure networking on
laptops.
DHCP solves these problems by handing out IP addresses as needed to each system
on a LAN when those systems boot up. The DHCP server ensures that all IP
addresses are unique. The service requires little human involvement in the assign-
ment and maintenance of IP addresses. Administrators can write the configuration
files and leave the rest up to the DHCP server (dhcpd). This server manages the IP
address pool, freeing a human network administrator from that task.
Installing DHCP
To get started with DHCP, you first need to install the DHCP server. Because this
chapter focuses on Fedora, you can install the RPM package with Yum or the pack-
age manager /usr/bin/gnome-app-install; the current version of the package is dhcp-3.0.
3-28.i386. (Debian users can install the dhcp3-server package and edit the configura-
tion file /etc/dhcp3/dhcpd.conf). The software originates from the Internet Systems
Consortium.
Once you’ve installed it, configure DHCP in /etc/dhcpd.conf. As a first step, copy the
file /usr/share/doc/dhcp/dhcpd.conf.sample to /etc/dhcpd.conf. Next, edit ...