Menu
User

DropVPS Team

Writer: Cooper Reagan

How to set DHCP on Ubuntu 25.04 ?

How to set DHCP on Ubuntu 25.04 ?

Publication Date

08/15/2025

Category

Articles

Reading Time

2 Min

Table of Contents

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.

Linux VPS
U
Loading...

Related Posts

How to set DHCP on Ubuntu 25.04 ?