Questions tagged [dhcp]

The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that assigns IP addresses and gateway configuration automatically.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

ISC-DHCP-Server Crash without any error messages

I have two server machines with ubuntu 22.04 LTS. One is the master, the secondary is standby. Both server serve NTP service, Bind9 services and DHCP services (bind9 & DHCP additionally providing ...
Pythonaire's user avatar
0 votes
0 answers
19 views

Ubuntu 20 desktop has my external IP

I have a small factor PC connecting to LAN1 port of a router that acts as a wifi bridge to other parts of my network. The traffic eventually leaves the house from a Bell Canada router. Yesterday I ...
Mohsen Shabanian's user avatar
1 vote
2 answers
108 views

dnsmasq configuration for TFTP + ProxyDHCP in Ubuntu Server 22.04.3 LTS

I'm trying to configure a PXE setup, in which my Ubuntu Server 22.04.3 LTS would act as TFTP server + ProxyDHCP (current DHCP server has to remain untouched). I've googled a lot, and tried a lot of ...
Free's user avatar
  • 41
1 vote
0 answers
54 views

Ubuntu Server with 2 nics

I would lik to pose a question here because i'm missing something with the settings on a ubuntu server 22.04 with 2 nics. I think it should be fairly easy because with other servers (NethServer ...
Rato's user avatar
  • 11
0 votes
1 answer
25 views

DHCPD and Appamor

I running ubuntu 22.04 on raspberry pi, with fixed IPv4 address. On the server a isc-dhcp-server is running. (i know isc-dhcp-server is outdated an not in service anymore). While starting appamor ...
Pythonaire's user avatar
0 votes
0 answers
61 views

Impossible to make IP static - SOLVED

I may be had an upgrade problem from Ubuntu 20.04 to 22.04 that I can't solve. My IP was before static at 192.168.0.100 on the "ens1" interface, but the interface have been set to "...
Djizuss's user avatar
0 votes
0 answers
30 views

netplan config is ignored, who reconfigures my network?

I have a machine with multiple NIC, for the sake of simplicity we call them ext0: uses DHCP, goes to the outside int0 and int1: have static IP adresses, go to some private network, where there is ...
mbeyss's user avatar
  • 978
0 votes
0 answers
47 views

kea-dhcp-server logs vs isc-dhcp-server logs

So switching from isc to kea dhcp server I can't seem to find "device name" (in this example, Chromecast-Ultra) in the log anymore. I.e. with the isc dhcp server I would get: Jun 2 23:45:...
kennethx's user avatar
0 votes
1 answer
245 views

Ubuntu 22.04 is connected to internet, but cannot open any website in the browser

HELP!!! everything was ok until I went to the office and connected my laptop to the Wi-Fi. then I came home and everything was destroyed! My Ubuntu is connected to wifi, and the ping of 8.8.8.8 is ok, ...
Hamid Mohammadi's user avatar
0 votes
0 answers
67 views

So I am trying to install isc-dhcp-server, but when I tried installing it, the following errors show

sudo apt-get install isc-dhcp-server Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have ...
AMIRA NUR NATASHA ANUAR's user avatar
-1 votes
1 answer
1k views

Ubuntu DHCP client uses IDs instead of MAC addresses. Can't change this behavior

I'm trying to use DHCP static lease assignment instead of manually managing static IPs for some of our servers. However Ubuntu switched from MAC addresses to some DHCP IDs becoming useless after major ...
Boris's user avatar
  • 29
0 votes
0 answers
46 views

Single Network Interface Deferent IP address and Gateway for Home and Office Networks

I need to connect my laptop running Ubuntu Server 22.04 to my home network 192.168.0.0/24 and Office network 192.168.1.0/24 without manually changing the settings every time. Is this possible with ...
Alasok Arandab's user avatar
0 votes
0 answers
35 views

"failure to parse lease: could not get netmask from lease" when connecting to an AP generated by hostapd

I have a Linux device running that generates an access point using hostapd and udhcpd (I followed this guide). I used to connect to it with my Ubuntu 16 PC, but after the update to Ubuntu 22 I can't ...
firion's user avatar
  • 111
-1 votes
1 answer
137 views

netplan with vlan dhcp does not assign address

I have a device with two physical network interfaces, enp2s0 and enp3s0! All communication should be assigt to vlans. The device runs ubuntu and is a host for a KVM system, therefor also a bridge is ...
averlon's user avatar
  • 101
0 votes
0 answers
65 views

Unable to Configure Network on Homeserver Behind "Fritz Box" Home Router

Description: I've encountered a puzzling network issue with my homeserver setup and I'm seeking guidance to resolve it. Problem: My homeserver, behind a "Fritz Box" home router, experiences ...
lstrauch's user avatar
0 votes
0 answers
39 views

dhcpd.conf configuration for PXE server

i am trying to configure the dhcpd.conf file, when I restart and see the staus of the isc-dhcp-server it is giving below error: isc-dhcp-server.service - ISC DHCP IPv4 server Loaded: loaded (/lib/...
Adkhamboy Makhmudjonov's user avatar
1 vote
1 answer
344 views

MacVTap in KVM not getting IP address from Local Network DHCP

Trying to create a KVM with MacVTap interface, but there is no ip assigned to it Referring to these docs to create the kvm. Followed the creation of network properly, i.e added interface in the ...
swastik sarkar's user avatar
1 vote
0 answers
312 views

Netplan Configuration Isssue: Unable to obtain ip address for ethernet configured with dhcp4

Goal: Determine why configuring an interface with only dhcp4 fails. Setup I am working on configuring netplan for a Virtualbox VM. The VM has 1 bridged adapter connected to my machines wlo1 and 2 ...
Chris Howe's user avatar
-1 votes
2 answers
137 views

How to get a static internal IP for Ubuntu server? [closed]

I'm trying to get my home server to use a static IP instead of the one from the DHCP. I'm using Ubuntu server 22.04. I replaced the file /etc/netplan/00-installer-config.yml with a file named /etc/...
Santiago Toscanini's user avatar
0 votes
0 answers
114 views

Static routes configured in Netplan bouncing DHCP lease files

I configure static routes on a DHCP interface using Netplan on Ubuntu 20.04 as followings: network: ethernets: ens4: dhcp4: true routes: - to: 10.1.1....
Hung Le's user avatar
0 votes
0 answers
238 views

No Internet after static IP Ubuntu 22.04

I have a Ubuntu 22.04 Server, and one to an other day i dosn't become from the router a dhcp adress, but when i set a static ip adress i can connect localy to the services on the server, but I can not ...
Fledermaus-20's user avatar
0 votes
1 answer
93 views

Making Ubuntu host allocate same DHCP IP address to same guest VM all the time

I have an Ubuntu 22.04 and I have Oracle VM VirtualBox 7.0.4 on it. I have created several VMs (all Linux VMs) on VirtualBox. I need DHCP to allocate same IP address to a particular VM. I installed ...
jeets's user avatar
  • 11
0 votes
0 answers
235 views

Ubuntu Server Loses Connection Every Few Hours (Systemd-Networkd restart fixes)

I am having trouble with a new install of ubuntu server. I configured a bonded network using systemd-networkd which works but every few hours it stops working. 10-bond0.netdev [NetDev] Name=bond0 Kind=...
Jake Steele's user avatar
0 votes
1 answer
53 views

Using of "ddns-confgen" versus "rndc-confgen"

I created a key by rndc-confgen, put it into name.conf to use rndc for bind9 server. Works fine. By a mistake of mine, i used the same key on isc-dhcp-server for ddns. Later i noticed that, but also ...
Pythonaire's user avatar
0 votes
1 answer
1k views

KEA DHCP and Stork on 22.04

Trying to replace the EndOfLife isc-dhcp-server with KEA. Its a bit tricky, because the package description (command apt/apt-get) in not well documented. At least I found the package name under Ubuntu ...
Pythonaire's user avatar
0 votes
0 answers
64 views

Network Problem, when trying to connect to Eduroam Wifi

I can connect fine to any other networks. And I can also connect to this wifi, when I am at the center of it, but it's like when I get a bit too far from its original startpoint it gives up on ...
Anyon's user avatar
  • 1
0 votes
0 answers
439 views

DHCP and DNS client in Linux

I am trying to make the linux/ubuntu handle dhcp and dns for me. What I do want is getting ip address from the dhcp server, and register it to the dns server. It will update the dns server when ...
letro's user avatar
  • 1
1 vote
0 answers
92 views

Adding default routes in dhclient-exit-hooks breaks ssh until first sending a ping

I nave a system running with 2 network cards. To make sure the default route is correct for each card added the following to /etc/dhclient-exit-hooks: if [[ "$interface" == "eth0" ]...
Tobias Nilsson's user avatar
1 vote
1 answer
1k views

Ubuntu 20.04, Cannot ping gateway

I have a fresh install of Ubuntu 20.04. Connected to ethernet getting dhcp setting automatic from modem. Gateway 192.168.2.1 Ubuntu 192.168.2.100 Home device 192.168.2.21 Home device is able to ...
Roydabudboy's user avatar
0 votes
0 answers
24 views

Can't transport Ubuntu to another machine - fails dhcp connection

I have an application running under Ubuntu 18.04 server which I've always been able to clone and move to another machine. When I create a 20.04 drive, I can move it to another machine with the same ...
SES-Energy's user avatar
0 votes
0 answers
46 views

Copy info from DHCP to Manual settings in Network Manager?

What I want to achieve is to get all info from DHCP (DNS servers, search domains, IP) as the starting point for my manual settings. Example: what I do right now is to set is as Automatic and then run ...
Vladimir Hidalgo's user avatar
0 votes
0 answers
112 views

I have to run sudo dhclient -v after every startup after update

After I updated ubuntu I have been running into several problems, from losing all my gnome packages to now having DNS issues after each reboot. I need to run sudo dhclient -v for my internet to work ...
Apollo's user avatar
  • 1
0 votes
0 answers
163 views

Problems enabling IPv6

I have two Ubuntu Servers on my home network: one acting as a router/gateway (Router), and the other acting as a media/multipurpose server (Server). I've been trying to enable IPv6 on both, but I'm ...
ohshitgorillas's user avatar
0 votes
1 answer
283 views

Ubuntu 20.04 with two NIC, but only one works

As the title says, I have a system running Ubuntu 20.04 with two NICs.One NIC (ens9) is connected to the cameras (via a switch) and the other (ens4) is connected to a LiDAR. I am running a DHCP server ...
user3785280's user avatar
0 votes
0 answers
301 views

Got no internet connection on my Ubuntu 23.04. Need help

My Ubuntu had internet connection previously , but once I have set up my DNS and DHCP servers, my Ubuntu has no more internet connection. May I know what is the main cause of not having internet ...
babayaga's user avatar
0 votes
0 answers
87 views

ubuntu server DHCP Server two interfaces -how?

Hi I have got a problem with DHCP Server on ubuntu server witch is configured on rasbery pi. Device has two network interfaces wlan0 -where is Internet from phone and eth0. The problem is that eth0 ...
Piotr Płytkowski's user avatar
2 votes
0 answers
539 views

Release DHCP lease on Ubuntu Server 22.04

How can I send a DHCP release packet for an address acquired by netplan? I have configured dhcp for IPv4 in the installer (/etc/netplan/00-installer-config.yaml). I've tried dhclient -r -v <...
Marius Bjørnstad's user avatar
0 votes
0 answers
253 views

Specifying systemd-networkd options via netplan

I have a need to use a systemd-networkd configuration option on my system: [DHCPV6] RapidCommit=no Is it possible to add this option via netplan somehow? Or do I have to disable netplan completely to ...
triatic's user avatar
0 votes
1 answer
731 views

Netplan/NetworkManager not using dhclient at boot

I would like to use dhclient as my DHCP client, and as systemd-networkd does not support this, I would like to switch to Network Manager in Ubuntu 22.04. My Netplan configuration is as follows: ...
triatic's user avatar
0 votes
1 answer
155 views

Can't find the network during installation

I'm trying to finish setting up Ubuntu 20.04 server on my HP ZBook laptop, but I can't set up the network correctly. I can't find my wired LAN. I read the Ubuntu official guide and it says that ...
Emi's user avatar
  • 1
0 votes
1 answer
84 views

Having trouble deleting old DHCP configuration from interface

I switched my router and my new one is setup with different IP ranges for the dhcp clients. Old one was 192.168.0.0/24, new one 192.168.88.0/24. My ubuntu server that is in my network won't loose that ...
masterchief4240's user avatar
0 votes
2 answers
2k views

Routing Table Metric With Two Interfaces

I've tried for many hours now to find a solution to my issue, but I can't seem to locate a permanent explanation - I'm also an ultra noob, so forgive me if I get the basics incorrect. I have a server ...
Wilson's user avatar
  • 13
0 votes
1 answer
401 views

20.04 Cloud-init appears to disable ipv4 DHCP on eth0

I'm doing a fresh install of 20.04 on some Raspberry Pi 3s. The SD cards were flashed with Ubuntu 20.04 Server (32bit) using the RPi imager. When cloud init finishes wlan0 has an ipv4 address from ...
NetFool's user avatar
  • 141
1 vote
0 answers
332 views

Making initramfs using the correct host name when applying for a dhcp address?

I'm having some ubuntu servers with an encrypted root partition, and usually they do ask for the password at boot time on the console. In order to start them remotely, I'm using dropbear in the ...
Hadmut's user avatar
  • 301
0 votes
1 answer
720 views

Can not connect to internet/struggling with network configuration

Trying to use Ubuntu server for a minecraft server with friends. Not had much luck. Basically when it gets to the DHCP part of the install for the network configuration, there is no IP address and the ...
zoe's user avatar
  • 1
0 votes
0 answers
279 views

Ubuntu 22.04 vm bridge to wifi so that vms get ip address via dhcp

Preamble I've tried following assorted tutorials. None are specific to Ubuntu 22.04. Every one I've tried so far end up with me having to reinstall to get wifi working. Some assume the machine has a ...
John Allsup's user avatar
0 votes
0 answers
49 views

Can we assign two IP addresses from different subnets to a single connection in nmtui?

I am currently using ubuntu 20.04 machine. I have a query regarding assigning IP addressses manually to a network connection using nmtui. Is it possible to assign two IP addresses from different ...
Alakananda S's user avatar
0 votes
0 answers
199 views

Ubuntu 22.04 hotspot and Pi-hole, Issue with dnsmasq

I have an issue with the hotspot on my little server: The hotspot is configured and I think it's ready to work, only the DHCP is missing. dnsmasq is not starting: dnsmasq.service - dnsmasq - A ...
Michael M's user avatar
0 votes
0 answers
2k views

Ubuntu Server 22.04 LTS using netplan and networkd on RPi4b won't assign DHCP IP to wlan0

Fresh install of Ubuntu Server 22.04 LTS on a 4GB Raspberry Pi 4b with PRO activated. On the initial boot up, I didn't realize I needed to wait until the cloud-init sequence finished so I may have ...
SDMark's user avatar
  • 19
0 votes
1 answer
105 views

network LAN ssh is running but internet can not connect

I have a old project to run an odroid cluster at home, thus I started configuring the network. there is 5 Odroid XU4 with Ubuntu 22.04: master with eth0 1Gbit/s 10.10.10.1 & eth1 100Mbit/s 192.168....
fair8bois's user avatar

1
2 3 4 5
22