Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have a Ubuntu server with the following in /etc/network/interfaces:

auto eth0
iface eth0 inet static
        address a.b.c.d
        gateway a.b.c.254 

When I run /etc/init.d/networking restart, it works as expected.

In the same LAN, I have a DHCP server. From time to time, Ubuntu server unexpectedly loses its static IP, and gets one from a DHCP for an unknown reason to me.

Running /etc/init.d/networking restart corrects the address to the desired one.

What is the cause of this issue, and how can I fix it?

share|improve this question
up vote 1 down vote accepted

Happend to me sometime, solved by uninstalling dhcp client. No use on server anyway.

share|improve this answer
Oh I dunno. I use dhclient on servers sometimes. It's all fine if the DHCP server is handing out static leases. – Tom O'Connor Mar 9 '11 at 0:12
Perfectly suitable for me... No need for dhcpclient – Boban P. Mar 9 '11 at 7:54

Something invoked dhclient without specifying an interface.

share|improve this answer

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.