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
13 votes
5 answers
30k 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 ...
Uri London's user avatar
15 votes
1 answer
20k 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?
coolaj86's user avatar
  • 981
2 votes
2 answers
7k 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 ...
Zeophlite's user avatar
  • 125
38 votes
2 answers
67k 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. ...
AlfaZulu's user avatar
  • 595
7 votes
5 answers
31k 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). ...
user1146281's user avatar
5 votes
1 answer
2k 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 ...
watain's user avatar
  • 151
4 votes
4 answers
10k 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 ...
frisco's user avatar
  • 143
3 votes
1 answer
3k 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"? ...
Hedgehog's user avatar
  • 133
2 votes
2 answers
3k 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 '...
QAZ's user avatar
  • 121
1 vote
2 answers
2k 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: ...
Loïc Faure-Lacroix's user avatar
0 votes
0 answers
1k views

How to include vendor-specific option 17 suboptions 11, 12 and 13 in DHCPv6 solicit/request using dhclient

My request is to include option 17 sub-options 11, 12 and 13 in DHCPv6 solicit/request and I configured the same in dhclient6.conf on my Ubuntu as below. send dhcp6.vendor-opts 00:00:0d:e9:00:0b:00:06:...
kottesvaran m's user avatar