How To Configure DHCP Server On Centos/Rhel 7/6/5
How To Configure DHCP Server On Centos/Rhel 7/6/5
How To Configure DHCP Server On Centos/Rhel 7/6/5
on CentOS/RHEL 7/6/5
DHCP (Dynamic Host Configuration Protocol) is a network protocol used for
assigning IP address to network clients dynamically from a predefined IP
pool. It is useful for LAN network, but not generally used for production
servers. This article will help you for Configuring DHCP Server on CentOS, Red
Hat System. Read more about dhcp here.
DHCPDARGS=eth1
# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample
/etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
host station1 {
For CentOS/RHEL 7
For CentOS/RHEL 7
vim /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes
For CentOS/RHEL 7