Installing a DHCP Server


Strangely, the DHCP server package is called dhcp , while the service is called dhcpd .

Step 1. Start by installing the dhcp package:

# yum install -y dhcp

Step 2. Verify that the package is installed correctly:

# rpm -qa | grep dhcp
dhcp-4.1.1-12.P1.el6.x86_64

Step 3. With the package installed, make sure that the dhcpd service starts when the system boots as well:

# chkconfig dhcpd on

Step 4. Verify that the DHCP service starts on boot:

# chkconfig dhcpd --list
dhcpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

results matching ""

    No results matching ""