Skip to main content

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
1 vote
1 answer
58 views

DHCP Issue with Ubuntu 24.04? Suspect wrong behavior with DHCPNAK

We have the problem that Ubuntu clients cannot obtain an IP address from our DHCP Server (Cisco Router). As I understand, the problem is that the client does a DHCPREQUEST with its previous IP address ...
Freshki's user avatar
  • 11
0 votes
1 answer
26 views

dynamic IP keeps coming back

We've got a ghost IP address that keeps coming back. 10.203.32.245 has type dynamic but dhcpd is not running, I cant find anything on the machine dhcp although I dont know much about dhcp. After ...
Serve Laurijssen's user avatar
1 vote
2 answers
52 views

Get DHCP Gateway networkd-dispatcher

For Ubuntu 24.04 Server, is there a way to get the DHCP gateway in a networkd-dispatcher script when the DHCP interface comes up/is renewed (like $new_router in a dhclient hook script). Update after ...
ProtonBob's user avatar
1 vote
1 answer
38 views

Where to Place Scripts that Are Executed on Network Change in 24.04 Server

Where is the place to put scripts that need to be executed on changes to the network for Ubuntu 24.04 server? For example, when DHCP is renewed or connected, I need to reconfigure routing for a ...
ProtonBob's user avatar
0 votes
0 answers
30 views

Upgrade 22.04 -> 24.04.01 fails - no network after rollback

I am attempting to upgrade from 22.04 to 24.04(.01) for months (sporadically tried 2-3 times in September, once mid October and once yesterday) and still the same issue happens: the upgrade tool ...
shadyyx's user avatar
  • 173
0 votes
0 answers
42 views

Why does enp5s0 show a static AND dynamic ipv4 address when I have set dhcp4 to no in netplan yaml file?

I am using Ubuntu 24.04. I have networkd as the renderer, with Network Manager disabled. I have a few NUCs all using networkd and all with enp5s0 dhcp4 set to no. One of the NUCs (only 1 so far, I ...
smokeAndMirrors's user avatar
0 votes
0 answers
34 views

Connect to both Ethernet and WiFi at the same time without DHCP

I have a local server which connects to two routers via ethernet (ip a 192.x.x.x) and wifi (ip a 10.x.x.x). The ethernet router (connected to the internet) only provides internet to the server and not ...
Tshi's user avatar
  • 1
0 votes
1 answer
68 views

DHCPv4 address doesn't load on Ubuntu Server setup

So, in the the installer for Ubuntu Server (I tried both 22 and 24) I cannot seem to get a IPv4 address at all. In the "Network Configuration" step, I have selected DHCP as the IPv4 method. ...
LinkZG's user avatar
  • 1
0 votes
1 answer
271 views

I have a fresh Ubuntu 24.04 desktop with DHCP and it adds another nameserver to its network config

I've just started using Ubuntu on my laptop. After setting up I couldn't connect to my server via SSH. After some digging I found out the DHCP client on my laptop and server (both running Ubuntu 24.04)...
Tumpi's user avatar
  • 1
1 vote
0 answers
82 views

Script to update samba dns not working when executed from isc-dhcp server (while works fine when I become the exact same user)

I am going nuts here. Running ubuntu 24.0, which is hosting my samba active directory server, and isc-dhcp server. I can call samba-tool to add DNS records from any user on my server. $ samba-tool dns ...
bas's user avatar
  • 191
1 vote
0 answers
36 views

Trying to setup dhcp-dyndns with samba ad - RPC fails

I want to get dhcp-dyndns working on my samba server (running on ubuntu 24.04) but I am stuck on the following: sudo samba-tool dns add server spatiebas.net hp-ubuntu A 192.168.2.163 --use-kerberos=...
bas's user avatar
  • 191
0 votes
0 answers
188 views

wireless AP using netplan on 24.04 -- how to disable dnsmasq (automatic dhcp/dns)

I am trying to setup Wifi AP using netplan. My configuration is as follows network: version: 2 renderer: NetworkManager ethernets: enP3p49s0: mtu: 9000 enP4p65s0: mtu: 9000 ...
hlacik's user avatar
  • 1
0 votes
1 answer
98 views

My new Ubuntu Install isnt working properly

I just installed Ubuntu Server on my old laptop in hope of creating a home server, but ive noticed multiple commands that worked natively on other machines didnt work on this one, requiring and apt ...
Detona Games's user avatar
0 votes
0 answers
34 views

How to configure multipass istance so that it can connect to router/gateway on the host subnet?

I'm newbie to multipass. I've succesfully created an Ubuntu 24.04 LTS instance using: multipass launch --name test I've noted that the instance acquire an IP address on a subnet like 172.16.xxx.xxx ...
Laboratorio di Robotica e Mecc's user avatar
0 votes
0 answers
209 views

Temporary failure in name resolution on new Ubuntu Server setup

strong textI am not very experienced, but I am trying to run Ubuntu Server on an old laptop for practice as I am studying to work in a data center and want more familiarity working with linux. I have ...
UntoldDawn's user avatar
0 votes
0 answers
338 views

Server 24.04 only starts a single interface on boot

ubuntu 24.04 I had the system working as intended with just a single eth0 ethernet interface I enabled wifi on the system, now on boot wlan0 gets a DHCP address, while eth0 just sits idle. user@...
mayostard's user avatar
1 vote
1 answer
918 views

How to make network settings permanent?

I have Ubuntu 24.04 and a local network. I try to configure in the Network settings a wired connection with manual IPv4 mode, static IP address, I apply it and it works, but after a while it is still ...
Leandro's user avatar
  • 1,067
0 votes
0 answers
132 views

Why is IPv4 not working on Ubuntu 22.04 with new router/network

I am trying to connect to a new router using my Ubuntu 22.04 laptop. It connects just fine, however I am having troubles getting IPV4 to work. If I go to https://www.whatismyip.com/, most of the time ...
Christoph 's user avatar
0 votes
0 answers
177 views

DHCP takes forever - Imaginary ACD conflict

For the past year, I've had increasing difficulty to connect to my work's network. Wifi is disabled, I get an IPv6 immediately, but it takes between 1 and 30min to obtain an IPv4 address. Unplug/...
dargaud's user avatar
  • 1,008
0 votes
1 answer
347 views

Difficulty in connecting TP Link Wifi Extender with Ubuntu 24.04

I have 3 TP Link Wifi extenders (2 different models) and can not connect to any of them in Automatic mode in Ubuntu 24.04. Connecting directly to my hub works OK. Manual configuration of IP addresses ...
garybarnes59's user avatar
3 votes
1 answer
671 views

Cannot resolve own local (avahi) hostname

After swapping a faulty router, trying to ssh from PC "A" (Ubuntu 20.04.6) to PC "A", produces the error message: ssh: Could not resolve hostname pca.local: Name or service not ...
eridani's user avatar
  • 1,514
1 vote
1 answer
509 views

How to modify sbin.dhclient apparmor profile which is preventing automatic DHCP connection to network after upgrade to Ubuntu 24.04

After upgrading to Ubuntu 24.04 I can't make any network connections, wired or wireless with automatic DHCP enabled. I have traced the problem to apparmor which is giving the following error messages ...
garybarnes59's user avatar
0 votes
1 answer
1k views

WiFi not connecting after upgrade to Ubuntu 24.04. Problem with apparmor?

After upgrading to Ubuntu 24.04 I can't make any network connections, wired or wireless with automatic DHCP enabled. If I set IP Address, Netmask and Gateway manually everything works. To get the ...
garybarnes59's user avatar
0 votes
0 answers
106 views

noble 24.04 ssh after DHCP reservation

When I installed 24.04 on my two machines (let's call them foo1 and foo2), Ubuntu settings has an ssh feature in settings|system|secure shell which would allow me to simply type ssh foo2 from foo1 to ...
Mark Smith's user avatar
0 votes
0 answers
146 views

Netplan with source-based routing for multiple NICs and Gateways

I want to configure an Ubuntu VM with multiple NICs and Gateways: ens18: 192.168.10.0/24 ens19: 192.168.20.0/24 ens20: 192.168.30.0/24 In the best case, the IPs should be provided by my DHCP server. ...
J1810Z's user avatar
  • 1
0 votes
0 answers
39 views

Route between two network interfaces (one with VPN, the other one served DHCP addresses)

I tried to find an answer to my question, but I've not found anything...If this has been asked and answered I'll be happy with a pointer. I have a server running Ubuntu 23.10 with two network ...
Fede's user avatar
  • 1
0 votes
0 answers
34 views

How can i bridge eth interfaces with no bridge (let me explain)

I have a device that has 3 ETH interfaces. This way I installed the Ubuntu server on it to use the Pi-Hole application I want to use my ETH0 to receive the Wan cable from my internet provider moden ...
Victor Lozano's user avatar
0 votes
0 answers
22 views

Dual nic server with open client http port unreachable

I am setting up a poe switch connected to my ubuntu server 20.04. I am running an amd 5700 with some generic parts in a minipc that is being used as an nvr. I have a internet facing nic, eno1, where ...
Losthatter's user avatar
0 votes
2 answers
2k views

failing pxeboot install for 24.04 Server LTS

I'm trying to set up a pxeboot installer for 24.04 Server LTS. The machine finds our PXE and TFTP just fine, and loads the kernel and initrd. But when it gets to the install, it fails to recognize ...
randy rue's user avatar
0 votes
0 answers
108 views

DHCP does not work

I'm trying to config a notebook as router, with 3 NICs, 2 used to connect to internet (with modems with DHCP servers embeded), and 1 to connect to LAN, with a switch (I want to use an ubuntu dhcp ...
Cloacker's user avatar
2 votes
2 answers
3k views

ip-config-unavailable DHCP error from NetworkManager

Overview and Environment I recently set up a new VirtualBox VM and ran into some strange network behavior. The machine is running Ubuntu 22.04 and after installing the virtualbox guest additions, my I ...
Chris Howe's user avatar
1 vote
0 answers
712 views

When does ubuntu initiate a DHCP lease renewal?

After doing some research. I found out that some DHCP clients initiate a lease renew when 50% of the lease time has elapsed. And I need to know if this is valid for ubuntu 20 and later DHCP clients. I ...
jaafar Nasrallah's user avatar
0 votes
0 answers
106 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
27 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
2k 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
164 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
404 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
120 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
  • 11
0 votes
1 answer
205 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
  • 1,018
0 votes
0 answers
264 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
4k 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
248 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 vote
2 answers
8k 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
  • 59
0 votes
0 answers
63 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
98 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
364 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
1 vote
1 answer
1k 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
865 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
186 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
397 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

1
2 3 4 5
22