Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

  1. Will dhclient try to set up a link local address for that interface.
  2. If the above is the behaviour of dhclient is there any configurations I need to setup to make this happen.

Please advice on this and suggest some links/manpages to study this.

share|improve this question
Your link local address is already setup to by default. If there is no dhcp server and you are making a dhcp request, the dhcp will fail and no changes will be done to your interfaces. – Chida Aug 22 '12 at 11:15
Chida, is not a link-local address. You may want take a look at this document. – larsks Aug 22 '12 at 13:41
up vote 1 down vote accepted

dhclient will not set up a link-local address. dhclient only configures addresses that it has received from a DHCP server.

For configuring the link-local address on an interface, you can use Avahi, which is a Linux implementation of the Zeroconf standard. Many distributions include support for Avahi; you may simply need to install it and configure the Avahi daemon (avahi-autopid) to start at boot.

You can run it by hand like this:

avahi-autoipd --debug eth0

With the daemon running, if the specified interface does not already have a routeable address assigned then Avahi will assign an IPv4 link-local addresses (such as

share|improve this answer
Thanks Much!! As an added point it looks like avahi can be used as a plugin with dchclient if required with certain hooks on it. – Vivek27 Aug 28 '12 at 5:58
Glad to help! If this answer was helpful it would be great if you could mark it as accepted by clicking on the checkmark to the left. Thanks! – larsks Aug 29 '12 at 0:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.