Table of Contents
What you will read?
A DHCP server automatically assigns IP addresses to devices on your network. Ubuntu 25.04 makes this easy with the isc-dhcp-server package.
Step 1: Update Your System
Always start by updating the package index:
sudo apt update && sudo apt upgrade -y
This ensures you’re installing the latest packages.
Step 2: Install the DHCP Server Package
Ubuntu uses ISC DHCP server, which is reliable and widely supported:
sudo apt install isc-dhcp-server -y
The installation will add the DHCP server service to your system.
Step 3: Verify Installation
Check that the isc-dhcp-server package installed correctly:
dhcpd --version
You should see the version number, confirming the server is available.
Step 4: Enable the DHCP Service
Start and enable the DHCP service so it runs on boot:
sudo systemctl enable isc-dhcp-server
sudo systemctl start isc-dhcp-server
Step 5: Check Service Status
Make sure the DHCP service is running properly:
sudo systemctl status isc-dhcp-server
You should see an “active (running)” status if everything is correct. At this point, the DHCP server is installed on Ubuntu 25.04 and ready for configuration when needed.
Follow DropVPS on Google
Add DropVPS as a preferred source to see our latest VPS guides and tutorials surfaced first in Google Search and AI Overviews.
Need a Linux Server for This?
Run Debian, Ubuntu, or any Linux distro on DropVPS — fast NVMe SSD, full root access, and 24/7 support. Perfect for everything you just read.
- Full Root Access
- Debian & Ubuntu Ready
- 99.99% Uptime
- 24/7 Support
No commitment · Cancel anytime
