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
0answers
39 views

Still getting address from DHCP when static address is set

I'm trying to set a static IP to my machine. I have edited /etc/network/interfaces file to this: source /etc/network/interfaces.d/* auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
0
votes
0answers
14 views

isc-dhcp-server failed (result: exit-code)

I'm trying to set-up a PXE server. One week ago it all worked fine, today my isc-dhcp-server started to fail. If i start the isc-dhcp-server service, it returns an error: failed (Result: exit-code) ...
0
votes
2answers
49 views

How do I debug DHCP?

UPDATE: The DHCP in the camera does not work as expected and requires a static IP. However tcpdump is your first line of defense, see checked answer below. I have the following setup: NVidia Xavier ...
0
votes
1answer
31 views

Prevent DHCP overriding NTP configuration

How can Ubuntu 16.04 LTS be forced to use the manually configured list of NTP servers in /etc/ntp.conf even if DHCP tries to provide a different one? On Ubuntu 16.04 LTS (and probably all later ...
0
votes
0answers
16 views

How do I share ethernet ports with router based DHCP?

I have a quad NIC. Port 1 goes directly to the switch. I would like ports 2, 3, and 4 to basically function as a hub. Anything connected to them should be assigned a DHCP address from the router, and ...
0
votes
1answer
46 views

How would you configure multiple NICs with DHCP enabled with netplan?

I have a Ubuntu 18.04 server that has three NICs, each connected to a different LAN, and each receiving network information from a DHCP server. By default, from what I can tell, is one interface gets ...
0
votes
1answer
76 views

Reliably apply all settings provided by DHCP including NTP servers in Ubuntu 18.04 desktop

In summary: I would like to find a way that allows my wired network connection to properly use all of the information supplied by my dhcp server and still allow gnome to realize that there is an ...
0
votes
1answer
18 views

How are my hosts sharing an IPv6 ULA and allocating IPv6 addresses

Im running a mixed network of Ubuntu (all 20.04) MacOS and Windows 10. I run Ubuntu server which runs dnsmasq and acts as the DHCP server for the network (the machine is called 'serv2' and has IP ...
0
votes
0answers
59 views

how to set hostname via DHCP in Ubuntu 20.04 or 18.04?

I'm new to the systemd world (and Ubuntu in general), but I tried to dig as deep as I could to try to answer this question myself, but not really getting anywhere. I'm setting up VMs for both Ubuntu ...
1
vote
0answers
11 views

UBUNTU VM lost DHCP and IP

Running UBUNTU on vmware workstation over Windows 10 as a host. slyubski@ubuntu:~$ uname -a Linux ubuntu 5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 x86_64 x86_64 x86_64 GNU/...
0
votes
0answers
17 views

DNS issues on a Three way network/device

I have a small(ish) network of a raspberry pi3, 4 and a laptop (more devices but I am not including them for this example). I have a router (D7000 netgear) which is connecting all devices to the ...
0
votes
0answers
40 views

dnsmasq dhcp. No errors… but not working. What's wrong?

Ubuntu 18.04 installed docker jpillora/dnsmasq With default config, there's no DHCP so I grabbed the example config file from dnsmasq proper and these are the options I'm using: domain-needed bogus-...
0
votes
0answers
9 views

18.04: Virtual workstations occasionally lose Microsoft DNS records

I have three Ubuntu 18.04 workstations on our network, using Microsoft DHCP reservation IP addresses. These workstations have not been joined to the domain. Sometimes these workstations lose their ...
1
vote
0answers
165 views

Ubuntu 19.10, 20.04, DNS resolving to localhost - why?

This one has been perplexing me. Fresh installs of ubuntu 19.10 and 20.04 - the dns server defined always seems to point to localhost. I've tried hardcoding the dns server in network setting in gui. ...
1
vote
1answer
97 views

How to configure a bridge interfaces with DHCP in 16.04 LTS?

I have a computer with 3 network interfaces: eth_adsl : Ethernet interface linked with my ADSL box eth_local : Ethernet interface linked with my local network wlan_local : WIFI interface for my local ...
0
votes
1answer
26 views

Is there a way to accept dhcp response from a specific vendor (not ip)?

I have my dhcp-server(X) and dhcp-clients(Xn) in similar network with other dhcp-servers(Y,Z). Now, clients(Xn) must accept offer only from server(X) and reject others. I have googled a bit and ...
1
vote
0answers
14 views

What is the difference between dhclient.leases and dhclient.“interface-name”.leases?

I'm trying to setup DHCP on a server, and get the IPs from another client machine. Before requesting a new IP from the DHCP server on a client, I listed all the files I had in the var/lib/dhcp folder,...
0
votes
0answers
27 views

Bonded Network on Server 19.10 intermittent DHCP and connectivity

I got a new toy (HP Server) and I thought I would take 19.10 for a spin. Did a very basic install and asked it to bond my 4 NICs. Set up DHCP and set a reservation on my router for 192.168.1.109. It ...
1
vote
1answer
121 views

DHCP server cannot execute script: permission denied exit 32512

I created a DHCP server on ubuntu 18:04 using isc-dhcp-server that normally works. I want to run a script located in /user/sbin but get error of permission denied with exit status 32512. Probably it's ...
0
votes
0answers
17 views

ARP and DHCP problems

DHCP server serving 8 nodes on second interface of Ubuntu 16.04 One DHCP client is behaving erratically, so I suspect either corrupted ARP cache or the client itself is wankered. apr -a produces: [...
1
vote
0answers
22 views

dhclient disconnects after few seconds

I have been fighting with the interface of my ubuntu 16 lts server to connect to a wifi on startup. Currently I connect using wpa_supplicant and dhclient. If I do both manually, I get connected ...
0
votes
1answer
83 views

Ubuntu DHCP server is not giving out IP addresses

I am trying to configure a DHCP server on a Ubuntu 18.04 virtual machine. I am able to configure it with the following configuration: File: /etc/dhcp/dhcpd.conf Settings: default-lease-time 600; ...
0
votes
0answers
11 views

How to enable verbose logging in resolvconf so that erroneous DHCP dns settings can be identified and removed

When connecting to our corporate VPN, the internal DNS servers that resolves internal hosts are added to /etc/resolv.conf using resolvconf: # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE ...
0
votes
1answer
46 views

systemd-networkd - interface goes down while renewing lease

I am using Ubuntu as my home router and since migrating from Funtoo/Gentoo, I noticed I periodically have connection drops whereas I did not before. Looking further at the logs, I see my external ...
0
votes
0answers
30 views

Static IP and DHCP at same time?

I have a question, is it possible to configure a fallback DHCP in the network settings ? I would like to define a fixed IP if the system cannot set the fixed IP, it should instead jump to DHCP and ...
0
votes
0answers
13 views

select only prefered dns servers on dhcp

I am connecting to a number of wi-fi networks via the network-manager-applet For debugging purposes, I want to select my dns providers, so that no other dnd provider other than the ones selected is ...
0
votes
0answers
60 views

DHCP server distributes IP but doesn't allow Internet access for clients? (Ubuntu Server 18.04.4)

Interfaces: enp3s5 - lan enp3s6 - wan Gateway settings: Installed Ubuntu Server 18.04.4 x64 [ MD5:5c43d0b0ade0b554c2d51c85e5f0095b ] Installed pppoeconf Disabled and removed netplan: sudo nano /...
0
votes
1answer
433 views

Raspberry Pi static IP & DHCP Server Ubuntu 18.04

I'm trying to configure my Raspberry Pi 4B running Ubuntu 18.04 with a static IP address (to then configure a DHCP server) and use the WiFi for internet traffic (routing any clients connecting to the ...
1
vote
1answer
192 views

Cannot connect to wired Ethernet network (problems with DHCP?)

Cannot connect to the Internet by wired connection on a netbook using Xubuntu 18.04, while WiFi works, from the same cable connected to WiFi router. Same wired connection works fine on my desktop PC. ...
1
vote
0answers
30 views

How to make DHCP srver from PC with Ubuntu Server 19.10? (pppoe connection)

How to create DHCP server from pc with ubuntu server 19.10? PC has two ethernet cards. (enp3s5 - lan, enp3s6 - wan) Pppoeconf is missing after installing the Ubuntu Server 19.10 How to configure ...
0
votes
0answers
37 views

Map the same url to ethernet ip and hotspot(wifi) ip on ubuntu

Presentation of condition: I create a gitlab server using docker on Linux. I can access gitlab via 127.0.0.1:8000 (docker 8000 port: host PC 80 port using http protocol) on host PC. The host PC has ...
0
votes
0answers
81 views

18.04 - Problem with setting up DHCP and static IP addresses on one interface?

I have configured the netplan: (config below) Network: version: 2 renderer: NetworkManager ethernets: enp2s0: dhcp4: no dhcp6: no addresses: - 192.168.76....
0
votes
0answers
29 views

Cloning a Windows L2TP connection: how to resolve L2TP host name?

My ISP uses L2TP to connect users to the Internet. I have a working connection on Windows and now I'm trying to clone it to an Ubuntu VM. Of course, I'm getting the intermittent "service failed to ...
2
votes
0answers
24 views

How do I replicate this script being used on a Red Hat Vagrant box using a Ubuntu Vagrant box?

I have a Vagrant box running a Node.js app for internal use at work. It is currently running on a Red Hat 6.5 Linux Vagrant box but for reasons I need to migrate it to a Ubuntu 18 Vagrant box. The ...
0
votes
0answers
465 views

Issue with DHCP client/service on boot, works if run manually but with errors

I recently followed this guide to get wireless working on a fresh install of Ubuntu 19.10: https://www.linuxbabe.com/ubuntu/connect-to-wi-fi-from-terminal-on-ubuntu-18-04-19-04-with-wpa-supplicant#...
0
votes
0answers
23 views

Forward DHCP traffic from two interfaces

I need to forward the DHCP request from a VXLAN tunnel interface (vxlan_tun1) and ens3 interfaces. Currently, my DHCP server only offers IPs on the ens3 interface but I need it to offer on the other ...
0
votes
0answers
99 views

DNS resolver doesn't act as expected for local network addresses

I'm a long-time Fedora user, but now I have an Ubuntu (18.04.04 LTS) system on my network (it's a Jetson Nano Developer Kit, in case that matters). I'm having trouble resolving addresses for hosts on ...
3
votes
0answers
174 views

19.10 dhclient + resolvconf not updating resolv.conf

I am not running systemd.resolved, not do I wish to. Am am using netplan, systemd.networkd, resolvconf, dhclient /etc/resolv.conf is a link -> ../run/resolvconf/resolv.conf The resolvconf hook from ...
0
votes
1answer
108 views

hostname is not set from DHCP server

I am using netplan to configure my wired interface via DHCP: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes dhcp6: no I uninstalled dhclient and installed ...
1
vote
1answer
32 views

Multiple machines on the same network getting the same IP lease via DHCP

I am creating 18.04 machines on vmware with two network interfaces. 192.168 and 10.100. I have a ubuntu vm set up as a dhcp server for both networks - I am having a serious problem with the DHCP ...
0
votes
0answers
31 views

“Simple”? ISC DHCP set-up using POE switch for cctv cameras

I want to use a headless ubuntu server setup on a SBC to connect to and record from cameras through a POE switch only.. no router. Can an ISC DHCP installation be used for this? (Or is there a ...
0
votes
0answers
20 views

16.04: Switch to static IP after Ethernet disconnected

My Ubuntu 16.04 system connects to a LAN by Ethernet w/ DHCP (say 10.128.10.2). When I unplug that Ethernet cord, I want my machine to switch to a local static ip (say 192.168.10.2) on that same ...
0
votes
0answers
27 views

Setting network address for 2 different interfaces with dhcp and static

so, I have set an IP for both interfaces (enp0s3 and enp0s8), the enp0s3 is using DHCP configuration and the enp0s8 is using static configuration. auto lo iface lo inet loopback auto enp0s3 iface ...
1
vote
1answer
241 views

Ubuntu 18.04 no internet connection

I have internet connection problems using Ubuntu 18.04 on my laptop. It's a dual boot with Windows 10, no problem under Windows 10, same router, same router configuration, same laptop, but no internet ...
1
vote
0answers
166 views

Why is my isc-dhcp-server not handing out the router address to clients with reserved addresses?

I'm running isc-dhcp-server on Ubuntu 18.04. Clients without a DHCP reservation are able to get an IP address, subnet mask, default gateway and DNS servers from the pool no problem. As soon as I ...
-1
votes
1answer
91 views

Why can't change dns servers on Ubuntu 18.10;/etc/netplan is empty?

I have a server from zap hosting that comes with preinstalled 18.10 (fresh installation). Now i tried to set the DNS Server (which is currently provided by the dhcp of zap hosting) to localhost, so I ...
0
votes
1answer
95 views

Do I need to allow incoming DHCP traffic?

I enabled gufw with it's default settings, deny incoming, allow outgoing. I haven't noticed any problems with usability, but I was told that I have to allow incoming UDP traffic from port 68. Do I ...
0
votes
0answers
33 views

Ubuntu 18.04 Server - Networking with 2 NICs

I have a server with 2 NICs and these are connected to different networks and I am having trouble with getting the 2nd network to 'see' the internet. enp0s25 - connected to the network that has ...
0
votes
1answer
315 views

Fallback to default IP on DHCP failure via netplan

Background I'm currently using netplan to configure a number of Ubuntu Server 18.04 machines. I have a number of machines (specialized test units with HASP dongles installed) that are literally ...
0
votes
0answers
62 views

DHCP Client never sending Request

I cannot find this anywhere else, but the search terms are kind of generic so here goes. I have Ubuntu Server 19.10 that is sending DHCP Discover every minute. The server is working fine, I only ...

1
2 3 4 5
18