What is the distinction in between Network Manager and also 'ifconfig' 'ifup', etc?

Ubuntu appears to give at the very least 2 network "toolsets" (for absence of a far better term). I'm facing problems in between these 2.

I am usually facing problems in between these various collections of tools. As an example, I'm running Ubuntu Desktop in the house and also I'm making use of software like KVM/libvirt which advises that I disable Network Manager, yet disabling Network Manager creates various other points to damage.

What is the distinction in between Network Manager and also the typical network tools? Can these 2 collections run side-by-side or must I stick to one or the various other? Exists a record which sums up the distinction in between these various tools? I have actually been incapable to locate one.

(Forgive the uncertainty of this inquiry. I've looked and also looked for a solution, yet I have actually just located several obscure solutions which do not appear pertinent to Ubuntu 10.04/ Lucid, and also I might not totally recognize the objective of NetworkManager. Nonetheless, this appears to be a regularly asked inquiry. If you have suggestions for clarifying this inquiry, please blog post a comment.)

2019-05-05 11:58:23
Source Share
Answers: 3

NetworkManager and also ifconfig are not (by default) suitable (NetworkManager will not set up user interfaces detailed in /etc/network/interfaces). NetworkManager is a type of setups daemon that sees to it that numerous customers can modify network links, this is really clever in a desktop computer setting (specifically on laptop computers that could walk around in between various cordless networks). Primarily NetworkManager is a frontend to iproute, dhclient, wpa_supplicant and also ppp.

ifconfig is a basic device for setting up network user interfaces, you can as an example simulate this:

ifconfig eth1 netmask hw ether 10:10:10:10:10:10
ifconfig eth1 down

to set your IP, netmask and also MAC address of eth1, and afterwards down (disable/turn off) your user interface. ifconfig does not read any kind of config documents and also does just specifically what it is informed.

ifup and also ifdown are assistant programs that make use of ifconfig to set up a network user interface in conformity to /etc/network/interfaces this will certainly see to it that if there are any kind of up, down, pre - up, pre - down, blog post - up, post - down manuscripts that require to be run they will certainly be.

Ok, after that there is wpa_supplicant and also dhclient. dhclient is a DHCP customer - ifup will certainly utilize this if a network user interface is set up for DHCP, as will certainly NetworkManager. wpa_supplicant is a device for setting up security on cordless networks.

A lot of these devices have male web pages, as an example the user interfaces - documents have it's very own manpage that define the layout of that config documents.

man interfaces
man ifconfig
man ifup

So that being claimed i would certainly advise that you remove (or disable) NetworkManager, I do not assume that any kind of point will certainly damage from getting rid of NetworkManager other than the gui devices for establishing network. If you intend to set up wireless without NetworkManager you could intend to consider this.

2019-05-12 03:53:47

Network Manager is a GUI program made use of when managing Ubuntu as a workstation OS mounted on your desktop/laptop.

The ifconfig - type energies are command - line based and also are made use of when managing Ubuntu as a web server OS, when you do not have a visual user interface readily available to you (as an example, when you start up an Amazon EC2 instance based upon Ubuntu). They are commonly made use of over an ssh link.

2019-05-10 18:21:33

These toolsets are corresponding, not equally exclussive.

FWIW, ifconfig is simply a device to name a few *config devices which are made use of to set up network user interfaces.

The ifup(8) and also ifdown(8) devices are one layer over the *config devices. You can consider them as assistant devices.

Furthermore, NetworkManager is a degree over the ifup(8) and also ifdown(8) devices. For absence of a far better term, NetworkManager has the ability to coordinate the devices (ets) from the degrees listed below in order to acomplish greater degree jobs like Internet Connection Sharing with added convenience contrasted to simply making use of the devices from the degrees listed below.

2019-05-08 08:51:40