[CentOS] C7 systemd and network configuration

Tue Apr 21 14:46:51 UTC 2015
Johnny Hughes <johnny at centos.org>

On 04/21/2015 08:54 AM, Jonathan Billings wrote:
> On Tue, Apr 21, 2015 at 03:46:52PM +0200, Dennis Jacobfeuerborn wrote:
>> Networking isn't really controlled by systemd but by NetworkManager. I
>> usually just yum remove NetworkManager* and then everything works just
>> as it did in CentOS 6.
> 
> Note:  NetworkManager is in CentOS6 too, and is part of the default
> workstation install.  The NM in CentOS7 is a bit more polished than
> the NM in CentOS6, but it is configured in the same way, using files
> in /etc/sysconfig/network-scripts/ (using the ifcfg-rh NetworkManager
> plugin).  In both cases, you can remove NM and use the 'network'
> service instead.
> 

You can disable NetworkManager for now in CentOS-7 and use the network
service .. but in reality I am not sure how long that is going to be
100% true.  In fact, things like dnsmsq and even libvirt/qemu are
becoming much harder to configure to work via the network service and
are pre-configured to work with NetworkManager. (Don't yell at me, not
my decision :D)

I have decided it is likely better to bite the bullet and learn how to
use and configure Network Manager if you are going to do anything other
than very simple things with your network .. at least on CentOS-7 or
higher (ie, Fedora > 18, etc.).

Again, one CAN still use the network service .. but most documentation
available now assumes instead that Network Manager is being used.

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20150421/8d21a339/attachment-0005.sig>