Fedora: switching from NetworkManager to explicit ifcfg networking
|
Author | Content |
---|---|
penguinist Nov 23, 2015 4:20 PM EDT |
Now that I've spent uncounted hours reaching a solution on this one I wanted to document it somewhere for other LXers who might be faced with a similar problem in the future. In a fresh installation of Fedora23 the default configuration came up with NetworkManager running the show. This workstation however has a more complex configuration than average with two network interfaces, one running with dhcp and the other serving as a static gateway to an internal lan. Since this configuration is set up once and never changes, the right way seemed to be an explicit configuration, one with custom crafted /etc/sysconfig/network-scripts/ifcfg-ethx config files. After setting up those files, the next part went fairly easily: systemctl stop NetworkManager.service systemctl disable NetworkManager.service systemctl enable network.service systemctl start network.service BOOTPROTO=none Manually removing the extraneous lease file fixed the problem and we now start network cleanly with NetworkManager disabled. |
JaseP Nov 23, 2015 8:48 PM EDT |
Nice catch & fix! |
You cannot post until you login.