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 have a linux ubuntu 12.04 machine that was migrated from virtualbox to esxi. I can configure the networking using ifconfig, route add and /etc/resolv.conf and that all works fine. Also I edited the /etc/network/interfaces file with the correct networkconfig.

But still when I reboot the machine the IP address stays what it was. But the netmask turns to and the defalt gateway and the nameservers are lost. When I check th

My /etc/network/interfaces file looks like this:

iface eth0 inet static

Any idea what the reason can be?

share|improve this question

Is network manager active? Look at /etc/NetworkManager/NetworkManager.conf and check the managed property, it should be set to false:


Check also if resolvconf is installed and working and try removing it.

share|improve this answer
Yes, it is disabled (in the file you mentioned). But I even uninstalled network-manager. To no avail. – gert_78 Dec 20 '13 at 12:40
It could be the resolvconf program, you can try removing it. – Guido Vaccarella Dec 21 '13 at 11:55

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.