Questions tagged [dhclient]
A simple Dynamic Host Configuration Protocol (DHCP) client to get IP addresses from a DHCP-Server.
87 questions
0 votes
0 answers
116 views
dhclient exit hook cannot write to directory
I am using RHEL 8.9 and have created a basic dhclient hook script in which I want to log to a file. The script is able to write to places like /tmp, but not /opt. It can read files from /opt, but not ...
0 votes
1 answer
170 views
centos 7 dhclient consumes even 700%+ CPU, miner?
I am new to Linux, I installed CentOS 7.9 in my labtop. I do not know why, sometimes the fan was extremely noisy, then I type top to see which one caused this, I found "dhclient" consumes ...
1 vote
3 answers
1k views
Reject a specific IP address from DHCP server and ask for another one
How can I configure Linux to reject a specific IP from DHCP server? I mean I do not want my lan interface to get assigned 192.168.0.12 under any circumstances. Is it possible? I have found on /etc/...
1 vote
2 answers
352 views
How to make dhclient run when wlan0 is brought back up (but already has an old address)
With the following configuration on Devuan Chimaera Linux: /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp pre-up /sbin/wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/...
0 votes
1 answer
497 views
How to capture DHCP gateway information?
I am building a server that has multiple upstream network interfaces, each of which receives IP addresses, default routes, and other DHCP information from different routers. For my application, I need ...
0 votes
2 answers
213 views
Wireless roaming is messing up resolv.conf
Here's my wifi interfaces #auto wlp1s0 allow-hotplug wlp1s0 iface wlp1s0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf # up /usr/sbin/wondershaper -a wlan0 -d 9500 -u ...
0 votes
2 answers
248 views
How to "predict" a DHCP IP address?
Before launching a VM from my script, I need to figure out which IP address it will get. So I did: dhclient <interface> And this works, because dhclient uses the MAC address from the macvtap ...
0 votes
1 answer
365 views
dhclient process messes up the wrong interface
I'm using Debian Buster and I have two interfaces configured: eth0 and wwan0 (broadband modem). Here's the relevant part of my interfaces file: # The primary network interface auto eth0 iface eth0 ...
0 votes
1 answer
59 views
dhcpd snap-in directory not found
I am running dhcpd on Linux system all the subnets information, reservations n all are written in dhcpd.conf sometimes we need to make client system's IP static and it will become very difficult to ...
1 vote
0 answers
887 views
DHCP - Why is having a DUID causing dhclient to fail?
My computer's DHCP client fails during boot. If it doesn't fail, it takes an unreasonable amount of time to acquire an IP. The main symptom is that this shows up during boot: A start job is running ...
-1 votes
1 answer
142 views
How to connect to the four Ethernet ports on a wireless router?
Let's say we are happy with our typical wireless router. But one day we notice it has four LAN ports. We connect an Ethernet cable from one of them to our computer. On our computer do we use: ...
3 votes
1 answer
13k views
How to release and renew DHCP lease using dhclient, without loosing connectivity
I want to be certain this will work before I try it, since I'm dealing with a headless Pi (Zero W if it matters) that is only ever accessed via SSH. I've set up an address reservation in my router for ...
0 votes
0 answers
243 views
Cannot ping other addresses after DHCP lease
I’m trying to connect my Arch Linux laptop to the WiFi at my school, but it isn’t working. WPA supplicant doesn’t report any errors, and dhclient is able to get me an IP address. But after that, I can’...
0 votes
1 answer
392 views
wired ethernet device on a wifi client computer, using the same subnet and IP from same pool
I am developing a mixed network with wireless connected client computers, via WLAN provided from an access point, driven by CentOS stream 9 (Installation see in this article) for the purpose of a ...
0 votes
1 answer
1k views
isc-dhcp 4.2.5 -- does it have support of dhcp-client-identifier and vendor-class-identifier?
I have isc-dhcp-4.2.5 server and client installed on two CentOS-7.4 boxes. I know this is quite old distro, but I can't change it for various reasons. Dhcp server configuration: option domain-name &...