The
dhcp
package contains an ISC DHCP server.
First, install the package as the superuser:
# yum install dhcp
Installing the
dhcp
package creates a file, /etc/dhcp/dhcpd.conf
,
which is merely an empty configuration file:# cat /etc/dhcp/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
The sample
configuration file can be found at
/usr/share/doc/dhcp <version>/dhcpd.conf.sample
.
You should use
this file to help you configure
/etc/dhcp/dhcpd.conf
,
which is explained in detail below.
DHCP also uses
the file
/var/lib/dhcpd/dhcpd.leases
to store the client lease database.