The Dynamic Host Configuration Protocol) package contains an Internet Systems Consortium (ISC) DHCP server. DHCP is used to assign IP addresses and other stuff like gateway and DNS details automatically to the clients. we need a DHCP server configured for offering ipaddress to the clients when it is required. 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:
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample