DropVPS Team
Writer: Cooper Reagan
How to Set Up a DHCP Server on CenTos 8 ?

Table of Contents
What you will read?
A DHCP server automatically assigns IP addresses to devices on your network, simplifying network management. On CentOS 8, you can set up a DHCP server using the dhcp package.
Step 1: Update Your System
Start by updating the package index and system packages:
sudo dnf update -y
Keeping your system updated ensures compatibility with the latest DHCP packages.
Step 2: Install the DHCP Server Package
Install the ISC DHCP server software:
sudo dnf install dhcp -y
This adds the DHCP server program and service to your system.
Step 3: Verify Installation
Check the installed version to confirm it’s available:
dhcpd --version
You should see version details confirming the installation.
Step 4: Enable the DHCP Service
Start the DHCP service and make it launch automatically at boot:
sudo systemctl enable dhcpd
sudo systemctl start dhcpd
Step 5: Check Service Status
Verify that the DHCP service is running:
sudo systemctl status dhcpd
A status of “active (running)” indicates the server is ready. Your DHCP server is now installed on CentOS 8 and ready for network configuration.