Table of Contents
What you will read?
A DHCP server automatically assigns IP addresses to devices on your network, making network management much easier. Debian 12 uses the isc-dhcp-server package for this purpose.
Step 1: Update Your System
Start by updating the package list to ensure you install the latest version:
sudo apt update && sudo apt upgrade -y
Step 2: Install ISC DHCP Server
Install the DHCP server package from Debian’s repositories:
sudo apt install isc-dhcp-server -y
This will add the DHCP server software and system service to your system.
Step 3: Verify Installation
Check that the DHCP server is installed and accessible:
dhcpd --version
You should see the version number and basic usage info.
Step 4: Enable the DHCP Service
Start the service and ensure it launches on boot:
sudo systemctl enable isc-dhcp-server
sudo systemctl start isc-dhcp-server
Step 5: Confirm the Service is Running
Check the status of the DHCP server:
sudo systemctl status isc-dhcp-server
You should see “active (running)” if the server is installed correctly. The DHCP server is now installed on Debian 12 and ready to be configured for your network.
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
