Ask Your Question

Revision history [back]

There are several methods.

The easiest, and default is to use NetworkManager, either graphically or the command line, nmcli.

From your question, it appears you are trying to manually configure your network. In the event NM can not configure your network or if you so desire you can manually edit /etc/sysconfig/network-scripts . In that case you will want to disable network manager and enable network

You can also use networkd http://xmodulo.com/switch-from-networkmanager-to-systemd-networkd.html

https://major.io/2015/03/26/creating-a-bridge-for-virtual-machines-using-systemd-networkd/

Really, there is no single method that works for everyone, it depends on what you need. In general, if NetworkManager works, use it. Otherwise, with modern systems, I suggest networkd if you need something NM will not do for you, bridge for example.

A better question is, what are you trying to do, and why are you manually edting those system files ?

There are several methods.

The easiest, and default is to use NetworkManager, either graphically or the command line, nmcli.

From your question, it appears you are trying to manually configure your network. In the event NM can not configure your network or if you so desire you can manually edit /etc/sysconfig/network-scripts . In that case you will want to disable network manager and enable network

You can also use networkd http://xmodulo.com/switch-from-networkmanager-to-systemd-networkd.html

https://major.io/2015/03/26/creating-a-bridge-for-virtual-machines-using-systemd-networkd/

https://wiki.archlinux.org/index.php/systemd-networkd

Really, there is no single method that works for everyone, it depends on what you need. In general, if NetworkManager works, use it. Otherwise, with modern systems, I suggest networkd if you need something NM will not do for you, bridge for example.

A better question is, what are you trying to do, and why are you manually edting those system files ?