How to install and configure DHCP server on Ubuntu

preview_player
Показать описание
In this post, I would like to show you how to configure an Ubuntu machine as a DHCP server.

Table of Contents

Search for DHCP software
Install DHCP server
Confirm that DHCP is up and running
Change the default configuration
Stop and start the DHCP server
Test the DHCP server

If you prefer to read, you can find the written form of this video here:

CONNECT WITH ME:

Рекомендации по теме
Комментарии
Автор

Hi! I passed your video step by step but my client computer did not get ip address from dhcp server. The problem is that client cant listening on port 68. I used command: sudo netstat -ulnp | grep 68 but I could not see that ... :( Do you have any idea? I use Virtual box for both devices (dhcp and client) I have Ubuntu 22.4.3

StudioSWATcraftCZ
Автор

Thank you for this guide. Just got an offline network up and running with clients getting DHCP from the server. The only issue I ran in to was I was trying for a class B subnet and the conf file didn't like it. Once I ran "journalctl -n 50 -u isc-dhcp-server.service" it showed in the config file what I did wrong.

cseiter
Автор

When checking the server status. My own showed Active: failed. I'm trying to exit this page to go back to the page where I can start inputting commands but the command u used to exit isn't doing it. I'm sure it's that ESC :x

swtkogb
Автор

Is there a way I can contact you to discuss more?

jypslbn
Автор

Helo, I have followed all your steps but still get an error.

jypslbn