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.

learn more… | top users | synonyms

0
votes
2answers
638 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
59 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. ...
0
votes
0answers
69 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
98 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 ...
1
vote
1answer
2k 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 ...
0
votes
0answers
195 views

ip addr flush dev eth0 removes ipv6 address

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 ...
7
votes
1answer
4k 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. ...
0
votes
0answers
93 views

dhclient doesn't get/ack offer on macvlan interface

Following this is excerpts of logs when trying to configure a macvlan interface. For some reason unknown to me, dhclient doesn't seem to get/ack the offer, how come? --- /etc/network/interfaces auto ...
0
votes
0answers
34 views

Trouble with dhclient and dynamically updating reverse maps

Has anyone been able to get dynamic updates to in.addr-arpa zones working via linux dhclient? I can get forward maps to update # service network restart Apr 7 15:25:24 i-d40976dd dhclient[26054]: ...
0
votes
0answers
209 views

How to get host-name from DHCP server via Network Manager?

I can get hostname and ip address from DHCP server with invoking the script under /etc/dhcp/dhclient-exit-hooks.d/ directory as explained here on client side. I assigned host-name and ip address in ...
1
vote
1answer
245 views

how to Check for dhclient in Directadmin

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
272 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
288 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
133 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 ...
1
vote
1answer
120 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
1answer
202 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 ...
4
votes
2answers
620 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 ...
1
vote
1answer
541 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: ...
1
vote
1answer
213 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
331 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
192 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
220 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 ...
2
votes
1answer
2k 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
345 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
399 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
281 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 ...
3
votes
3answers
8k 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
107 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 ...
4
votes
1answer
620 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 ...
0
votes
3answers
395 views

Ubuntu-VirtualBox-LikeWiseOpen network disaster

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
258 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 ...
11
votes
1answer
4k 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?
7
votes
3answers
15k 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 ...
7
votes
3answers
6k 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
4answers
3k 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
2k 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 ...
2
votes
4answers
7k 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 ...
1
vote
2answers
453 views

dhclient append settings from multiple DHCP servers

I have a server with two interfaces connected to two separate networks, using DHCP for both. When dhclient is writing /etc/resolv.conf, I would like it to append settings that aren't already there. ...
-2
votes
3answers
234 views

I bought a new IP address from my server host. How do I find out what that IP is…?

I purchased an additional IP for my server a couple days back and I have no idea what that IP is. When purchasing the IP, the only email I received was a notice saying it will take between 24-48 hours ...
2
votes
2answers
969 views

Linux:/sbin/dhclient to bind to a specific interface?

I'm running RHEL5.5 and have several network interfaces (eth0, eth1, eth2) on the machine. I wish to make /sbin/dhclient bind its UDP port 68 on specific interfaces (eth0 and eth2) but when I do ...
1
vote
2answers
4k views

VMWare Workstation w/Ubuntu 10.04 Server: DHCP Issues

Hey all. Bit of a possibly simple DHCP issue with my Ubuntu 10.04 Server (VMWare Guest). When I sudo dhclient eth0 it sends out plenty of DHCPDISCOVERs but doesn't get any DHCPOFFERs back from the ...
1
vote
3answers
2k views

DHCLIENT.CONF System variables

I've just a little question. My DNS Servers are updated by our DHCP Server (Microsoft Windows 2003 R2 SP2). My clients are Debian Linux Distro's, and I have to modify my DHCLIENT.CONF file on it to ...
8
votes
6answers
6k views

Update hostname from Debian machine with DHCP to a Windows 2008 DNS server

I have a XenServer installation with Debian (lenny) machines created on a daily basis using a script which creates the machine from a template and assigns it with a new hostname. Our network has a ...