Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
2 votes
1 answer
54 views

DHCP-provided DNS Server with wrong route in Ubuntu Server 22.04

On fresh install of Ubuntu Server 22.04 (ubuntu-22.04-live-server-amd64.iso) on my network, I can not use the DHCP-Provided DNS Servers which are a on a different subnet : routes to that subnet are ...
user avatar
0 votes
0 answers
11 views

dhcpv6 client not running at startup or at all

ubuntu server 20.04 is the client I have two dhcp servers one for v4 one for v6 running on an edgerouter When my ubuntu host boots up it gets a v4 address just fine but does not get a v6 address. ...
user avatar
  • 1
-1 votes
0 answers
18 views

isc-dhcp-server status failed: Failed with result 'exit code'

I setup a simple dhcp-server with isc-dhcp-server, but when I start the service, the status is in failed with the message "failed with result 'exit code' ". like this: I did configure the ...
user avatar
  • 1
0 votes
0 answers
8 views

Need help set the dhcpcd client to request for option 17 in its DHCP DISCOVER message

Could you please help me with a sample config of dhcpcd config file where it requests Option 17 from the DHCP server using the "-Q, --require option"? The idea is to pass a FQDN from the ...
user avatar
0 votes
0 answers
24 views

Sharing Internet from Wifi via Ethernet to a Wifi repeater

Similar kind of Question has been asked and answered but my problem is a little different. I live in a building where to get Wifi, you need to buy a voucher which works on a single device for a month ...
user avatar
0 votes
0 answers
24 views

podman container ip address should remain same with disconnect and connect

Assume podman network net1 and container cont1. I connect podman network to a container during creation with --net net1. Also use podman network disconnect/connect net1 cont1 commands to dis-and-...
user avatar
  • 1
0 votes
0 answers
19 views

rndis_host interface down on connect

I'm currently developing on an stm32mpu Linux target device which has been configured as a usb gadget rndis_host device. The device is set up such that is creates it's own dhcp server and assigns ...
user avatar
0 votes
0 answers
55 views

ISCP-DHCP server on Ubuntu 20.04, connect to RaspberryPi

I have failed to connect to my raspberryPi using a static IP and over my existing wireless network. My next attempt is to set up a DHCP server on my Ubuntu machine. I use several tutorials (tut1, ...
user avatar
  • 131
0 votes
1 answer
29 views

How to set up servername.local in Ubuntu server

I'm trying to set up an Ubuntu server with a fixed IP address. I've set up a reserved ID in my firewall and that works - the server uses DHCP to retrieve the 192.168.1.200 IP address fine. However, ...
user avatar
1 vote
2 answers
97 views

Setup DHCP server on Ubuntu 20.04?

I've been following this tutorial from Ubuntu to set up a DHCP server on my machine, but I just can't get it work. When I run sudo systemctl restart isc-dhcp-server.service sudo systemctl status isc-...
user avatar
  • 21
0 votes
0 answers
19 views

DHCP server - can I force address reassignment?

Ubuntu 18.04. DHCP server with static assignments. When a new device comes online, it gets a dynamic assignment. I take the info, and create a static assignment for that HW address. I delete the ...
user avatar
1 vote
1 answer
202 views

Setting up a DHCP Server on Ubuntu WSL to connect to a Raspberry Pi

I've seen similar questions on here but I'm still having issues setting up the DHCP server. I am trying to connect directly via ethernet to a Raspberry Pi to SSH into from my laptop running the WSL. I ...
user avatar
0 votes
0 answers
20 views

Two networks adapters in virtual machine with Ubuntu

I have a virtual machine with Ubuntu. In this virtual machine I configured two networks adapters bridged with the virtual machine. I use ens33 and ens34 as network adapters, the network adapter ens33 ...
user avatar
0 votes
0 answers
13 views

Provisioning IP Address for KVM Guests from Network DHCP Server (pihole)

I have a Ubuntu 20.04 server with KVM installed. I want the VMs that I create to get their IP from the network DHCP server. I've created a DHCP reservation for my first guest VM based on the MAC ...
user avatar
0 votes
0 answers
39 views

DHCPD no longer updates DNS records

For years, I had used a computer running 16.04 as a router for my network. The system used bind9 and isc-dhcp-server (named and dhcpd) to manage assigning IP addresses and to keep the DNS updated. ...
user avatar
0 votes
1 answer
80 views

How can I identify detailed DNS behavior with systemd?

I am trying to diagnose issues with a DNS server, in an environment with multiple DNS servers set by DHCP. In Ubuntu Server 20.04.2 (with no changes to DNS behavior) I need to find which DNS server(s) ...
user avatar
  • 21
0 votes
1 answer
35 views

focal - prevent networkd from performing a dhcprelease

We have an issue with focal/networkd and our dhcp-server which gives some (not all) hosts a new ipaddress when they reboot. The network guys says it is due to the dhclient sends a DHCPRELEASE so I ...
user avatar
0 votes
1 answer
332 views

Ubuntu 21.10 static ip network configuration

I have edited /etc/netplan/01-network-manager-all.yaml to get a static ip address: network: version: 2 renderer: networkd ethernets: wlp0s20f3: dhcp4: no addresses: - 10....
user avatar
  • 3
0 votes
1 answer
157 views

Add search domain in Ubuntu 20.04

It seems like network-manager doesn't support search-domains in the network-manager anymore when using DHCP. How to configure an additional search domain when using DHCP? Seems strange to me that the ...
user avatar
  • 195
0 votes
0 answers
11 views

Website hosted Ubuntu 20.04 VPS server DHCP need?

I have LEMP stack VPS. This server run Ubuntu 20.04. Do I need enable DHCP? If I disabled DHCP is it affect hosted WordPress sites?
user avatar
  • 3
1 vote
1 answer
29 views

Configuring Extra Public /24 Subnet with different gateway

I have a server where an internal adapter is configured as followed: network: version: 2 renderer: networkd ethernets: enp3s4f0: dhcp4: no addresses: [ 199.168.96.58/29 ] ...
user avatar
  • 11
0 votes
1 answer
26 views

Moving PC to different network, different IP range

I have a thin client on my home network running ubuntu server 20.04. The pc gets an IP from DHCP server in the 192.168.1.X range. I have a DHCP reservation on the router so this stays the same. I want ...
user avatar
1 vote
0 answers
108 views

Configuring PXE boot with separate DHCP server

I'm trying to configure a PXE boot server, but the DHCP is on a separate machine. I have 2 WDS servers already running, and they can be chosen in the boot menu. But this freshly configured Linux ...
user avatar
0 votes
0 answers
282 views

ubuntu 20.04 does not renew dhcp lease

All of a sudden my Ubuntu 20.04 stopped renewing dhcp leases. My ethernet card has been assigned a fixed IP, but it needs to renew the lease every 12 hours. It does not. I need to unplug and re-plug ...
user avatar
0 votes
0 answers
36 views

Long boot due to dhcpclient running on unplugged cable - Kubuntu 21.10

Boot takes over a minute because dhcpclient is running even with cable unplugged. Before anything loads I get lots of messages like: Things I tried: putting on /etc/network/interfaces: allow-...
user avatar
0 votes
1 answer
69 views

DHCP and Static IP on different subnet on one interface - Netplan - What are the limitations

Maybe I have some fundamental misunderstanding about subnets, but someone at my company is telling me what I want to achieve is not possible or at least not reliable. Currently, we have multiple ...
user avatar
0 votes
0 answers
103 views

Ubuntu 20.04 bind interface to subnet dhcp

I would like to bind interface to subnet on dhcp: try to do this: dhcpd.conf subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.2 192.168.0.254; option routers 192.168.0.1; option domain-...
user avatar
0 votes
0 answers
23 views

Share Secondary Internet Connection From USB over Ethernet

I am trying to set up a backup internet connection for my house. I have a router with two WAN ports, one of which can be used as a failover. The primary internet connection goes in WAN1. My PC has two ...
user avatar
1 vote
0 answers
76 views

no dhcp ipv4 after upgrading to 20.04.3, other 18.04 works

Got a server install of Ubuntu 20.04.2 server. After updating to 20.04.3, it no longer gets a dhcpv4 lease. Netplan has the correct the interface. Doesn't seem like there's much I can check... Only ...
user avatar
0 votes
1 answer
489 views

How to configure vlan of same network with different mac in ubuntu.20.04

I've ubuntu.20.04 VM launched on openstack with 1 trunk port having multiple subports from same network, which maps to 1 parent interface with multiple sub interface. For example if the subnet is 192....
user avatar
0 votes
1 answer
261 views

Determine DHCP lease source in Ubuntu 20.04 desktop

I have a host that's picking up a DHCP-assigned address that's wrong. Specifically, the MAC address is reserved to a particular address in the DHCP server, and instead of getting that address, ...
user avatar
0 votes
1 answer
146 views

Clients have no Internet access while Ubuntu 20.04 router does

I am recently trying to configure my Ubuntu 20.04 as a router. A weird problem occurred when I thought I finished all steps, that the clients connecting to the Ubuntu router just have no Internet ...
user avatar
0 votes
1 answer
57 views

Unable to set dhcp server on Ubuntu 20 desktop

On my Ubuntu 20 desktop machine, I am using Wifi for internet and hence my LAN interface is free. So I want to use it as a DHCP server interface. eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu ...
user avatar
  • 131
0 votes
1 answer
39 views

How to access ubuntu server on two diferent public ips

I'm strugling with the current problem: Background info: Ubuntu 20.04 on dell R710 I have 2 diferent internet connections with 2 isp supplied routers. I've connected eno2 to isp1 router and get the ...
user avatar
0 votes
0 answers
151 views

Ubuntu 20.04.3 autoinstall Network Issue dhcp

Currently I have a small ssh network problem. I use an Ubuntu 20.4 Server Edition incl. autoinstall. I removed the network configuration from my user-data file because it should be better for the ...
user avatar
0 votes
1 answer
106 views

Can we set up a DNS server to override the Router DNS server?

I am aware that when we type a domain name, unless it is cached in the pc or router, it requests the DNS to an external server, to get the IP address. Apparently, the DHCP server from the router is ...
user avatar
  • 299
0 votes
0 answers
55 views

How to get IP from a DHCP server sitting on a sibling VM?

I have an Ubuntu 20.04 LTS server at home which I use as a media server and other entertaining purposes, inside which I have installed Google's 2 factor authentication and with external access via ...
user avatar
  • 1
0 votes
0 answers
130 views

How do I stop DHCP to request address for a static interface?

I have a Raspberry PI 4 running Ubuntu 21.10 with a static ip-address on eth0. Despite that, I keep getting a secondary 'dynamic' DHCP address on on it. netplan network: version: 2 renderer: ...
user avatar
0 votes
2 answers
50 views

ISC DHCP Server - Assign the same IP without static host config

Is there a way to configure the DHCP server to assign an IP to a client without the client being statically defined. My main goal is to create an IP pool that will keep the IPs reserved for 30 days as ...
user avatar
  • 1
0 votes
0 answers
26 views

No DHCP after power cycling my Ubuntu box

I am running Ubuntu 20.04. Some time back I removed the snap package manager from it. Network Manager is not running on my system as reported by 'service --status-all' and 'service network-manager ...
user avatar
  • 1
0 votes
0 answers
61 views

Configuring an external DHCP server for MAAS to provision bare metal server

We are using MAAS 3.1 and are working a lab where there is already a DHCP server provisioned to allocate IP. As a part of MAAS provisioning a Bare Metal Server we want it to use the external DHCP ...
user avatar
0 votes
0 answers
72 views

Ubuntu 18.04: DHCP server is not giving out IPs to my DHCP client

I need to setup a DHCP server and client. I tried everything, but my server isn't giving any IPs. I work with VMware, and I have disabled the DHCP setting in VMware. My DHCP server states active to. ...
user avatar
0 votes
1 answer
97 views

Ubuntu 18.04 server unreachable after setting static IP

I've configured netplan to set static IP for a server on my local network. However, after sudo netstat apply server just becomes unreachable. When I check the router, I can see it listed with assigned ...
user avatar
  • 185
0 votes
1 answer
67 views

cannot boot diskless station after update to Ubuntu Server 20.04

I have a configuration which worked pretty well over a few years, until latest update to Ubuntu Server 20.04. I have a head node: tftpd-hpa which provides pxelinux.0, kernel, initrdfs and booting ...
user avatar
  • 237
1 vote
0 answers
61 views

My local DNS is continuously changed

At home I run a Raspberry Pi with PiHole. Every device obtain its IP via DHCP and some devices have a reserved address. The router is configured to offer my Raspberry Pi as primary DNS, for every ...
user avatar
  • 588
1 vote
1 answer
116 views

Prevent routing of DHCP traffic

First, I'm aware that similar questions to mine have been asked elsewhere (I've read many of those posts!) but I've not been able to figure out a solution to my problem, so I'm asking for help. My ...
user avatar
1 vote
0 answers
204 views

Activation of network connection failed, DHCP timeout

After a few hours of trial and error, i guess i need some help... Problem is the following: I am trying to connect to a WIFI network, which has worked for me for the last three months and started to ...
user avatar
0 votes
2 answers
582 views

netplan networkd no ipv4 from dhcp

I've been trying to have ubuntu server running on my MacBook Pro (15-inch, Late 2011) for the whole day, both 20.04 and 21.10, fighting with netplan and I cannot seem to be able to have ens9 (...
user avatar
  • 1
0 votes
1 answer
227 views

Ubuntu Server 20.04 installing a dhcp without internet access

I've just recently set up my Ubuntu Server 20.04 and now I'm trying to install a DHCP server. But it always fails because I get Temporary failure resolving 'archives.ubuntu.com' Is there any way I ...
user avatar
0 votes
0 answers
53 views

I want to multi DHCP server

I want to use multiple subnet with multi interfaces. -> trunk.102 10.20.1.0/24 -> trunk.103 10.30.1.0/24 ... etc Does it works well or need more something? How can i order to trunk.102 use 10....
user avatar

1
2 3 4 5
20