Super User is a question and answer site for computer enthusiasts and power users. 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 use Ubuntu 12.04.1.

I understand networking, and the meaning of files in both folders, but the question is:

"How are they coexisting?"

For example, if I have this configuration of eth0 in /etc/network/interfaces:

auto eth0
iface eth0 inet static

and this one in /etc/NetworkManager/system-connections:





What will be the resulting address of the interface, or, and why so ?

share|improve this question
The /etc folder contains every configuration in your distro, the first file says how you'll use the interface, the second file says how the NetworkManager, which is the Visual Manager, should interpret the first file, is this what are you asking for? – poz2k4444 Oct 1 '12 at 22:51
NetworkManager is a daemon with an optional applet and commandline tools. The daemon also has a DBus API if you want to build your own tools. – Emyr Oct 9 '13 at 8:38
up vote 2 down vote accepted

/etc/network is what your Operating System uses to assign network addresses. NetworkManager is what Ubuntu (and other distros like RedHat) use to force /etc/network to do its bidding. It will automatically configure the network services. Many implementations now do not allow NetworkManager to override /etc/network settings. NetworkManager used to really bugger things up in a server environment.

So in short, /etc/network is for manual configuration of the network. /etc/NetworkManager is for automatic configuration of the network addresses. It's useful for laptops or other PCs that change networks a lot. Tends to be a headache in a server environment, so many disable NetworkManager and just run with /etc/network

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.