Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

Internet drops on Ubuntu ISC-DHCP-Client networking

i am having issues with the network connectivity on Ubuntu server 16.04. I am connected to Verizon Fios via Ethernet (it's defined as dhcp on the /etc/network/interfaces file.) The DHCP Client that I ...
2
votes
1answer
1k views

Debian 10 Buster can't renew DHCP as client, when IPv6 is disabled

After I upgraded Debian 9 to 10 Buster server lost network connection after 24 hours since reboot, I think problem is it can't renew IP address from DHCP server. In /var/lib/dhcp I see the file ...
1
vote
0answers
25 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
0answers
45 views

Debian Server: DHCP keep IP on reboot

I've a Debian server running with some static IPs and a public IP, all provided by the same ISP on a FTTO connection. Now I've noticed if I unplug the cable between the server and the ISP ONT/ONU and ...
0
votes
1answer
322 views

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 ...
0
votes
1answer
391 views

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/...
0
votes
1answer
484 views

eth0 with static ip gets shutdown after dhclient fails

I have a Nvidia Jetson TX2 SoC in an Connecttech Astro carrier board running Ubuntu 16.04. The carrier has two Gigabit Ethernet ports which I would like to configure with static IPs. In system ...
5
votes
1answer
5k views

dhclient doesn't set default gateway

I'm running a few Ubuntu 16.04 VMs in the Azure cloud. Whenever I reboot a VM I have to set the default gateway manually. The gateway should be set by dhclient. I activated the debugging and get this:...
3
votes
1answer
451 views

Search option in resolv.conf getting overwritten by prepend statement in dhclient.conf

I have setup a DNS server for my department which is running FreeBSD 10.2. It is currently connected to the campus internet and receiving its address via dhcp, so /etc/resolv.conf looks like this: #...
0
votes
1answer
1k views

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/...
3
votes
0answers
594 views

Cannot renew DHCPV6 lease in SLES12

I need to renew the lease of a certain SLES12 box. The machine is configured to use IPv6 only and so far I have tried the following: From here: dhclient6 -r -v eth0 && rm /var/lib/dhcp6/...
1
vote
0answers
661 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 ...
0
votes
1answer
3k views

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 ...
2
votes
2answers
9k views

How to configure dhclient on CentOS to get IP from a specific DHCP server

I have a situation where I am able to launch CentOS 6.6 images on a subnet such that the VM instances get their IP addresses from the virtual gateway of the subnet. Now this gateway has gone wonky and ...
0
votes
1answer
77 views

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 ...
0
votes
2answers
2k views

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 ...
7
votes
4answers
16k views

CentOS 7 is not setting my gateway from DHCP

I have a Minimal Install of CentOS 7. I have disabled the Network Manager as I want to setup my network the "old school" way. systemctl stop NetworkManager systemctl disable NetworkManager ...
0
votes
1answer
382 views

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/...
0
votes
0answers
955 views

“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 ...
0
votes
1answer
1k views

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 ...
2
votes
2answers
12k views

Issue with RHEL7 and disabling NetworkManager

Okay community, let's see if we can figure this one out, cause I'm out of answers. Where I work I am setting up a bunch of RedHat Enterprise Linux servers. There is a collection of RHEL6 and RHEL7 ...
2
votes
1answer
2k views

How to remove only IPv6 addresses with iproute2?

I'm trying to write an application that can change the IP address of the local machine. When doing some experimentation, I've noticed that if I freshly connect to a wireless network, I am assigned an ...
30
votes
1answer
46k views

dhclient: What does “RTNETLINK answers: File exists” Mean?

I wanted to update the DHCP lease of an Amazon EC2 instance, so I executed the following command: user@host:~$ sudo dhclient Following that, the system's DHCP lease is updated successfully updated. ...
-1
votes
1answer
2k views

how to Check for dhclient in Directadmin [closed]

I have installed CSF firewall in CentOS 6 64-bit on Directadmin dhclient appears to be running which suggests that the server is obtaining an IP address via DHCP. This can pose a security risk. You ...
0
votes
1answer
720 views

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 ...
0
votes
2answers
882 views

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 ...
1
vote
0answers
792 views

How to send several instances of the vendor-specific options to a DHCP server using dhclient?

I need to send vendor-options to DHCP server using dhclient (ISC). I've added following lines in the dhclient.conf: option dhcp6.vendor-class code 16 = {integer 32, integer 16, string}; send dhcp6....
1
vote
1answer
371 views

dhclient asking for new routing every 1500 seconds, removing my static routing, cron not working

I have a problem with cron job on my ubuntu server 12.04. I have two internet providers - one for fast speed, second - for local resources. So, I'm using command route to up the static routing for ...
1
vote
2answers
1k views

DHCP clients: Where is the hostname going to come from

We are building a private cloud here, VMs have at least 2 NICs, sometimes 3 or 4, each may be statically configured for IPv4 and/or IPv6 or be configured by DHCP or a combo of the two. Yes it's a ...
10
votes
2answers
13k views

Debian 7 how are IPv6 link local addresses set?

It seems like when dhclient runs on eth0 I get an IPv4 address from the DHCP server and a Scope:Link IPv6 address attached to eth0: inet6 addr: fe80::a00:27ff:fed0:4d41/64 Scope:Link But I can't see ...
1
vote
2answers
1k views

Configuring linux to be visible in microsoft DNS domain

I've been trying to have one of our linux box available in the windows domain. The linux box is a ubuntu server without gui or X installed. All manipulations are done from ssh. Linux box: hostname: ...
1
vote
1answer
1k views

How to override the network DHCP Server settings to be specific to my own .conf file?

Basically, I have want to test out WPAD(Web Proxy Autodiscovery Protocol ) , PAC. But I would like to do it without touching the Network DHCP server. So, can you suggest a way in which I can achieve ...
1
vote
2answers
547 views

DHCP issue in our network, could it be hidden 2nd DHCP server?

Something weird happened today. We have a TP-LINK wifi router in our office distributing a pool of IPs 192.168.80-200. There are some windows and some linux boxes. One of the linux boxes (CentOS) ...
0
votes
1answer
424 views

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. ...
0
votes
1answer
313 views

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 ...
5
votes
1answer
9k views

Mac OSX server command equivalent for dhclient?

Is there an MacOS command that makes a dhcp request, and renews the old lease, drops it for a new one, or usefully reports errors or lack of response from a dhcp server? This would both help fix ...
1
vote
1answer
2k views

dhclient and link local address

I am doing a "dhclient" on one of the network interface which is in UP state. There is no DHCP server running in the network on which this node is present. So the questions are Will dhclient try to ...
2
votes
1answer
2k views

How to pass a vendor-specific options to a DHCP server using dhclient?

I need to send vendor-options to DHCP server using dhclient (ISC). As I understand I need to describe that options in the dhclient.conf. Do I need make new "space" for options? Or I can do "send"? ...
1
vote
2answers
814 views

dhclient requests filling memory?

Dammit Jim, I'm a web developer, not a sys admin. With that out of the way, my client's has a CentOS server (6.2) that is only serving a single Magento site (and the associated MySQL server) and it ...
4
votes
4answers
22k views

Why is dhclient issuing a unicast DHCPREQUEST every ~15 seconds instead of at T1/T2 timers?

I am running a CentOS 6.2 server as my gateway and firewall, while also providing some internal services. This is a setup I have had for years using various hardware and distributions (redhat based). ...
-4
votes
1answer
117 views

DHCP IPV6 Environment [duplicate]

Possible Duplicate: DHCP IPV6 Environment in DHCPV4 for discover, request we mention the source ip as 0.0.0.0,what it could be the in DHCPv6.Similarly we mention the multicast address as 255.255....
5
votes
1answer
1k views

Request multiple IP-addresses via DHCP on a single physical interface (OpenBSD)

On OpenBSD, is it possible to request multiple IP-addresses via DHCP on a single physical interface? It looks like DHCP leased addresses can't be assigned as aliases. I though of creating a virtual ...
-1
votes
3answers
423 views

Ubuntu-VirtualBox-LikeWiseOpen network disaster [closed]

I've a virtual machine on VirtualBox 4.1.4 with Ubuntu 11.04. It was working perfectly, but after a reboot something really wrong happened: I wasn't able to connect to the internal network (same for ...
0
votes
1answer
567 views

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 ...
15
votes
1answer
16k views

How to request dhcp (using dhclient) on a virtual interface (i.e. eth0:1)

This seems to work fine: dhclient eth0 ifconfig eth0:1 192.168.1.105 up But not this: ifconfig eth0 192.168.1.105 up dhclient eth0:1 Is there any way to get dhcp on a virtual address?
10
votes
3answers
30k views

How to configure radvd, dhcpd6, routing and /64 subnet based on delegated prefix by DHCPv6-PD server?

My ISP has just started IPv4/IPv6 dual stack service. In order to connect IPv4/IPv6 internet, almost all users usually use a CPE leased by the ISP. But I want to use my Linux router instead of such ...
13
votes
5answers
27k views

Register A records for my Linux box on my Windows 2008 DNS/DHCP server

I've a network which is mainly Windows: Windows 2008 server (with DNS/DHCP as well as AD), and various mainly Windows machines (servers, XP, 7). I know trying to add few Linux boxes, and can't make ...
2
votes
5answers
7k views

resolv.conf after reboot on CentOS 5.5 EC2 instance

I'm having trouble getting my CentOS 5.5 EC2 instances (both i386 and x86_64) to properly populate resolv.conf after booting. No matter what I do, I end up with the default EC2 resolv.conf: ; ...
0
votes
2answers
4k views

Have to dhclient each restart to access internet

So each time I restart my ubuntu server (virtual 10.04, via Xencenter), I have to call dhclient before I can access the internet: http://img813.imageshack.us/i/dhclient.png/ What do I need to change ...
4
votes
4answers
9k views

Configuring DHCP on RHEL 6

I have a fresh install of RHEL6 and I am unable to find any config file to do advanced configuration for dhclient. I am trying to find something like dhclient.conf on Ubuntu so I can modify options ...