Questions tagged [dhclient]

dhclient is the DHCP client for Linux and UNIX, created by the Internet Software Consortium. It is used to configure network interfaces using DHCP or BOOTP protocol, or can be used to assign static configurations.

72 questions
0
votes
1 answer

vbox cloned centos7 fix same ip new to have different ip from cloned one

I cloned centos7 vm in virtualbox, but they ended up with same ip address. My network preferences are my created NAT network with: 10.0.2.0/24 Both vms uses this network i created, but they have same ip address: 10.0.2.15. Tried to run dhclient -r…
johnsnow
  • 171
  • 1
  • 4
0
votes
1 answer

Networking service timeouts every second restart

The setup My debian server at online.net is running a dual stack ipv4/ipv6 # /etc/network/interfaces auto lo iface lo inet loopback source /etc/network/interfaces.d/* There are 2 files in /etc/network/interfaces.d/ #…
user48678
  • 171
  • 5
0
votes
1 answer

Get rid of default "search" entry in "/etc/resolv.conf" on Amazon EC2 Fedora instance

Case of an Amazon EC2 Fedora 23 instance. The file /etc/resolv.conf which determines how DNS lookups are performed by glibc resolver (see man resolv), looks as follows: ; generated by /usr/sbin/dhclient-script search eu-west-1.compute.internal…
David Tonhofer
  • 960
  • 1
  • 10
  • 31
0
votes
1 answer

dhclient: No broadcast interfaces found, but eth0 is up and broadcast

I'm experiencing a common problem with dhclient. But I wasn't able to find a clear solution to this problem. System: ReadyNas RN104 Stock Debian for armhf Just upgraded to Debian Jessie Self-built monolithic (ie. no modules) Kernel 4.0.5 If I…
JPT
  • 113
  • 1
  • 7
0
votes
1 answer

DHCP attribution without DHCP client

j'ai un serveur DHCP qui attribue des IP selon les adresses MAC des clients. J'ai un client qui n'a pas de client DHCP installé (pas que je sache). I have a DHCP server (on linux) which gives IP address depending of the MAD addresses of the clients…
Shan-x
  • 168
  • 2
  • 9
0
votes
2 answers

Supersede default route

I have two network interfaces eth1 and wlan0. I would prefer all outbound traffic to go through eth1 before wlan0, but if eth1 is not up, and then wlan0 should handle the traffic. Both interfaces get allocated IP's via dhclient. I have experimented…
Jono
  • 113
  • 1
  • 1
  • 5
0
votes
1 answer

Can we force dhclient to not renew ip rules?

I've overridden the ip routing rules on my RHEL machine by adding custom logic in a new script ifup-local that is run immediately after a new interface is attached. /etc/sysconfig/network-scripts/ifup-eth executes dhclient with lease times for each…
user1071840
  • 125
  • 1
  • 1
  • 8
0
votes
0 answers

"ifup eth0" causes dhclient to bring up more than one interface

Can someone tell me why dhclient is not respecting to only handle the one interface it has been passed? I've seen this multiple times over the years; never figured it out - it's not related to wpa_applicant, my interfaces are pretty standard (see…
0
votes
1 answer

Suddenly unable to obain IP address but eth0 port blinking rapidly

After a server restart, the server is unable to obtain an IP address through a wired ethernet interface, neither automatically nor manually. However the green light on the back of the machine where the ethernet cable is attached, indicating…
user84207
  • 103
  • 4
0
votes
1 answer

CentOS 5 domain-search from DHCP server ignored by dhclient

I have a DHCP server running ISC dhcpd which offers the option domain-search "domain.local"; option. This is being ignored by a particular CentOS 5 dhclient which is removing the search parameter in resolv.conf even if I add it in manually and…
batfastad
  • 456
  • 1
  • 11
  • 22
0
votes
2 answers

How to DHCP request a second, different, IP for the same physical interface?

(Similar to this question, but with two different DHCP-assigned IPs) Is there any way to let dhclient or dhcpcd request two different IPs for one physical interface, e.g. via virtual interfaces eth0 and eth0:1? Maybe by letting eth0:1 have a…
Tobias Kienzler
  • 388
  • 1
  • 9
  • 28
0
votes
1 answer

IPV6: two interfaces with dhclient

I have eth0, eth1. For each interface run dhclient on default port 546 (547 ?). eth1 does not have connection to the network. If dhclient for eth0 bounds before dhclient eth2 starts the eth0 gets IP. If not, it do nothing, just sends solicitation,…
Hedgehog
  • 123
  • 1
  • 5
0
votes
1 answer

How do I force dhclient to use last known IP?

This is for fault tolerance in a client/server app. The business says that when the network is unavailable, the app must still run. And it will, provided it doesn't lose it's IP address. The problem is that I'm losing the IP address as soon as I…
Ed Manet
  • 532
  • 1
  • 5
  • 17
0
votes
1 answer

How to enable DHCP address release with dhclient

We have a subnet with a couple of hundred virtual machines that: boot up do some short heavy computational task and shut down. The average life of a vm here is about 20 minutes. It's critical that we make sure we never run out of dhcp leases, so…
0
votes
0 answers

Why the Internet connection may be interrupted after the first launch /usr/sbin/dhclient?

I have debian-11.6.0-amd64-netinst installed on my PC. This PC is connected to the router by wire. After rebooting the PC and running /usr/sbin/dhclient for a while (about 10 minutes), the computer connects to the Internet, after which the…