Last updated on October 6, 2020 by Dan Nanni
In Ubuntu or Debian desktop, Network Manager is the default network configuration tool, whereas Ubuntu server by default uses
/etc/network/interfaces to configure network interfaces. Of course, even on desktop, you can disable Network Manager, and use
/etc/network/interfaces instead to configure your networking.
For those of you who use
/etc/network/interfaces to configure network interfaces, if you modify
/etc/network/interfaces, you need to reload it so that the new configuration can take effect.
Here is how you can reload
$ sudo service networking restart
Note: If Network Manager is installed and enabled on your system, you must not use
/etc/network/interfaces to configure networking, and any change made in
/etc/network/interfaces will be ignored by Network Manager. You need to use Network Manager to configure your network interfaces. In that case, after network settings are modified, you can restart Network manager as follows.
$ sudo service network-manager restart
This website is made possible by minimal ads and your gracious donation via PayPal or credit card
Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.