The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [dhclient]

The tag has no usage guidance.

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

DNS Records are removed after VM shutdown

Exactly the same problem as described here: https://social.technet.microsoft.com/Forums/en-US/db44ea7b-43f4-44a3-8df3-a0608414f15c/static-dns-record-gets-removed-when-dhcp-client-shutdown?forum=ws2019 ...
1
vote
0answers
59 views

Use Same DNS Server (IPv6) for All Connections

I want to oblige a single computer to only use specific DNS servers, for all network connections, including new ones, and be sure that only these DNS servers will be used. I've found a solution by @...
0
votes
1answer
70 views

How to change route table and activate it on ubuntu 18.04?

I am going to use the softether vpn client on Ubuntu 18.04. The vpn connection has been successfully connected. However, the web page will not load. So I added a route table. sudo ip route 173.21.42....
0
votes
0answers
55 views

ubuntu dhcp client lease

would like to ask you about my current problem related with DHCP client, the case is, my DHCP server has configuration for leasing time is 15 minutes. there is a problem with my ubuntu client after 15 ...
2
votes
0answers
95 views

18.04 ignoring dhcp provided domain-name for name lookups during install

Brace for some pictures.. I'm installing "ubuntu server" using ipxe and I noticed that none of my short names work but the Fully Qaulified Domain Names (FQDN) do; the exact image being installed is as ...
0
votes
3answers
71 views

Renewing DHCP lease without losing static IPs? (dhclient removes static IPs)

I have this interface, with DHCP and some static IPs: $ ip addr 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether e0:d5:5e:...
0
votes
1answer
240 views

dhclient does not send DHCPv6 Solicit message on disconnect/connect, keeps old lease

Network background: Connecting to an IPv4/IPv6 native dual-stack network on a campus with multiple VLAN's and network segments. Using only stateful DHCPv6 with no SLAAC permitted. When disconnecting ...
1
vote
0answers
65 views

Why is /run/systemd/resolved.conf.d/isc-dhcp-v4-eno1.conf wrong?

Yesterday i updated Ubuntu 18.10, but after poweroff/poweron the DNS was wrong, so that routing worked, e. g. ping 8.8.8.8, but not name resolving. So i overwrote the resolving files, e. g. /etc/...
0
votes
1answer
110 views

On 16.04, ifconfig-style interface-alias is lost when dhclient fails to get a lease

I have a lot of machines (both old ubuntu14.04 as well as newer ubuntu16.04) that have their integrated ethernet configured like this: /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet ...
1
vote
0answers
297 views

No network connection after upgrading Ubuntu to 18.04 from 16.04

I have been trying to find a solution to my issue for three days now. Since the upgrade to 18.04, I cannot access the network, neither through cable nor WiFi. I've tried different solutions from ...
2
votes
1answer
3k views

Does Ubuntu 18.04 use dhclient?

I'm trying to figure out how to configure my DHCP client on Ubuntu server 18.04. I have the following netplan configuration, coming from cloud-init: network: version: 2 ethernets: ...
0
votes
1answer
451 views

DHCP Discover ethernet frame check sequence incorrect

I did apt dist-upgrade on Ubuntu 18.04 LTS. After that I have broken dhclient. I can't get ip address from my ISP DHCP server. However Ubuntu gets IP from my dlink router. Static configuration works ...
0
votes
0answers
80 views

force system to not get new IP from dhcp

I have a VM running Ubuntu that usually after restart it will get a new IP from dhcp, even though the lease is not expired. For other distros like centos, the VM will keep the same IP after a VM ...
0
votes
0answers
75 views

no IP address for certain MAC

Please assist- I have a wifi radio that will not obtain an IP via DHCP. Basically, a DISCOVER packet is sent to the DHCP server, the DHCP server receives the packet, then responds with an OFFER but ...
1
vote
0answers
10 views

How to get interface GETWAY with two WANs

I have 2 ISP connetions, first ISP use mac binding, second use PPPoE /etc/network/interfaces auto lo auto lan allow-hotplug gembird-white allow-hotplug gembird-black iface lo inet loopback iface ...
1
vote
0answers
202 views

How do I get Ubuntu 16.04 to generate a type 3 DUID instead of a Type 1 DUID?

I'm trying to get IPv6 set up on a client (no GUI) using DHCPv6. It appears that Ubuntu by default configures dhclient to generate a Type 1 DUID (LLT) - an ID based on the mac address and the time of ...
0
votes
0answers
27 views

DHCP not affected or updated by link change

My expectations are that when I swap the network cable dhclient will do a dance to either confirm the lease it has or discover a new address if the existing lease is not valid. However, When I swap ...
1
vote
2answers
3k views

Ubuntu 18.04 unable to reach DNS after upgrade

I recently upgrade my Ubuntu Virtual Machine (VirtualBox 5.2.8) from ubuntu 16.04 to 18.04 using do-release-upgrade -d. There were lots of issues during the upgrade. I kept having to restart/resume ...
0
votes
1answer
664 views

Getting DHCP address in virtual machine with ubuntu 14.04 fails

I run Linux 14.04 in a virtual machine istalled on windows 10. I don't get an IP address in VM Linux (Windows ok). I see that ubunt looks on a wrong DHCP server address (I guess the variable is ...
0
votes
1answer
923 views

Apparmor denies several processes since a kernel change

I happened to encounter a very weird problem. I'm running Ubuntu 17.10 in development mode since around April, and ever since I have been trying to stay on the latest kernel RC to avoid nasty problems ...
2
votes
1answer
1k views

How to add specific option to DHCP request of Ubuntu

I added the following lines to my /etc/dhcp/dhclient.cong option option125 code 125 = string; option option125 0D:E9:19:01:06:31:32:33:34:35:36:02:0a:31:32:33:34:35:36:37:38:39:61:03:03:61:62:63 ...
2
votes
0answers
351 views

DVR cleint software for Ubuntu?

My DVR is working for windows based Client software but I would like to use Ubuntu base client software to record the videos and images. Can anyone suggest me the suitable software for DVR client ...
3
votes
0answers
1k views

dhclient not renewing lease

I'm running Ubuntu 16.04.3 LTS and am having a strange problem with dhcp leases not renewing on one interface. The machine has one physical interface and two VLANs; ens3, ens3.1001 and ens3.2002. The ...
0
votes
1answer
533 views

How can I use “udhcpc” with “avahi-autoipd”?

I need the link local address to be acquired by the avahi-autoipd daemon, when the dhcp server goes out of network. How can I do this?
1
vote
0answers
987 views

dhclient wlan0 gets stuck

I setted the password/ssid using sudo iwconfig wlan0 essid *ssid* key *password* without any errors, but then when I try using sudo dhclient wlan0 it goes forever and never stops. I tried using sudo ...
1
vote
1answer
763 views

vpn conflict with dhclient on Ubuntu 16.04

I'm trying to keep a VPN connection to the internet running on my Ubuntu desktop all the time. I'm finding that when dhclient runs periodically, presumably to renew my DHCP lease, things go poorly and ...
1
vote
0answers
1k views

Ubuntu 16.04.2: Excessive DHCPDISCOVER in syslog

I have an Ubuntu 16.04.2 server with 5 network interfaces (eth0-eth4). The server started with 4 static interfaces. ETH0,2 = WANs (with static public ips) ETH3 = WAN (with static private ip) ETH1 = ...
1
vote
1answer
3k views

How do I make `ifup wlan0` return immediately if no dhcp lease can be obtained?

I have a small wireless embedded system based on Ubuntu 16.04. If the wireless interface is improperly configured or the access point is down, ifup wlan0 will never finish because dhclient doesn't ...
1
vote
1answer
2k views

Processes NetworkManager, wpa_supplicant, dhclient immediately respawn when I try to kill them [duplicate]

After I try to kill a process (speaking of NetworkManager, wpa_supplicant, dhclient) like this kill -9 PID (also tried -1 and -15), it reruns automatically... How can I kill it and prevent it from ...
0
votes
1answer
843 views

Prevent Network Manager from using modified dhclient.conf file in Ubuntu 16.04 LTS

I use Ubuntu 16.04.1 LTS. Dhclient conf file is at /etc/dhcp/dhclient.conf . Everytime I connect to wifi (saved or new hotspot), Network Manager (NM) creates a conf file at /var/lib/NetworkManager/...
0
votes
1answer
3k views

How to disable dhclient completely in Ubuntu 16.04 LTS without disabling or uninstalling network manager? [duplicate]

I am so frustrated that there seems to be no solution. I want to use dhcpcd instead of dhclient. How to disable dhclient? I want to use dhcpcd with network manager. Dhclient should not start on boot, ...
0
votes
0answers
63 views

Different init configurations based on dhclient input

I need to boot my system with different configuration options in different work sites. I can determine which work site I am at, based on the IP address I am given by the DHCP server. The configuration ...
0
votes
1answer
220 views

How to configure dhcp to always assign from the lowest unused ip?

I had a problem with vms that lose their previous ip after system restart, so after some time it will go from x.x.x.128 to x.x.x.136 etc. Short of switching to static ip, I had to resort to resetting ...
0
votes
1answer
3k views

How to raise failed network interfaces after upgrade to Ubuntu 16.04

I am running a remote server a VPS, all was well, Upgraded to Ubuntu 16.04 and immediately my ssh (putty) stopped allowing me access, it just can't find server, cannot ping... it says network ...
0
votes
1answer
2k views

Failed to send 300 byte long packet over wlan2 interface

Recently my syslog is getting flooded with these messages, every couple of seconds: Aug 13 16:02:15 lati dhclient: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 15 (xid=0x204c0015) Aug 13 ...
7
votes
4answers
26k views

ifup cannot bring up eth0 after upgrading to 16.04

I've upgraded my server from 14.04 to 16.04. I can see following error on syslog: ifup[478]: Internet Systems Consortium DHCP Client 4.2.4 ifup[478]: Copyright 2004-2012 Internet Systems Consortium. ...
2
votes
0answers
913 views

Can I force dhclient to use the client identifier from /etc/network/interfaces

I'm using Ubuntu 12.04 LTS with isc dhclient version 4.1. My goal is to use DHCP to get IP addresses for multiple sub-interfaces on eth0. I have three stanzas configured for that in my /etc/network/...
0
votes
2answers
1k views

How to force dhcp client to allow a self defined domain name

I'm configuring a 14.04 lts server without network manager installed. I set in /etc/dhcp/dhclient.conf: send host-name "os-vps276.projet-okinawa.org"; supersede domain-name "projet-okinawa.org"; I ...
1
vote
1answer
890 views

DHCP IP address changes automatically

My Dell precision M4800, running Ubuntu 14.04 LTS, periodically changes its IP address. It looks like the DHCP lease expires and for some reason it gets a new IP adress instead of renewing the old ...
1
vote
0answers
488 views

ubuntu 14.04 LTS change dhclient lease file location

I cannot find how to change dhclient lease file location. By default (and currently) it is in /var/lib/dhcp, but I want this file to go to another place. I did ps ax | grep dhclient and got this ...
1
vote
0answers
498 views

How do I configure DHCP client to use the “routers” option as well as the “rfc3442-classless-static-routes” option?

The DHCP server on my network sends the following options: option routers n.n.n.n; option rfc3442-classless-static-routes ...; But the DHCP server is (incorrectly?) configured to send the actual ...
1
vote
1answer
113 views

Internet wired connection holds only few seconds/few requests before needing to call dhclient again

I have a dual boot ubuntu/windows 8, everything was working fine, suddently, after a reboot from the linux partition, the DNS resolution seems to be in trouble : I have to run dhclient before each ...
14
votes
1answer
29k views

How can I reload dhclient without restarting network?

I am using ubuntu 14.04 on ec2 instance, I am changing dhcp settings as part of the provisioning process, and I cant find a way to reload the dhclient. Infact, theres no way to restart network on 14....
1
vote
1answer
5k views

Correct DHCP client configuration

I have two dhcp directories in /etc: /etc/dhcp and /etc/dhcp3 Which one is the correct direcotry for editing my dhcp client configuration? I want to send the hostname with dhcp and so was trying to ...
0
votes
1answer
762 views

Is it possible to periodically repeat a dhcp request?

I have my ubuntu server set to get addresses from a dhcp server. However, if that dhcp server is not currently active, the server will just stay with no address. Is there some mechanism to ...
2
votes
2answers
2k views

Cannot access local hosts by name, but can by IP address

I'm new to Ubuntu and a novice in networking. I cannot access the hosts on the local network by name from my freshly installed 13.10 (no GUI) server. It is not configured as a DHCP server. I use a ...
1
vote
1answer
2k views

dhclient.conf supersede stanzas ignored

I'm putting the following lines at the top (also tried the bottom) of my dhclient.conf file: send host-name "hostname"; supersede domain-name "my-domain-name" supersede domain-search "my-domain-name" ...
0
votes
1answer
659 views

Is network manager called from an /etc/init.d script?

I want to run a script to set the hostname on a heavy customized liveUSB version of ubuntu 10.04 (customized means I'm not ready to update to latest version) I need the script to run before the ...
1
vote
2answers
8k views

Problems running dhclient

After running apt-get upgrade and restarting an Ubuntu Server install I noticed the computer didn't have a network connection. I checked ifconfig ~$ ifconfig lo Link encap:Local Loopback ...
2
votes
1answer
9k views

How to start dhclient at boot?

Here's the problem: root@home:~# ping 8.8.8.8 connect: Network is unreachable root@home:~# dhclient eth0 RTNETLINK answers: File exists root@home:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) ...