NetworkManager.service vs network.service

Issues related to configuring your network
Post Reply
Windows
Posts: 59
Joined: 2021/06/16 13:20:01

NetworkManager.service vs network.service

Post by Windows » 2021/06/17 18:05:28

hello,

network.service
is a service and
NetworkManager.service
is the same service but improved ?

in the same server in same moment can run

NetworkManager.service + network.service

??

over CentOS 8
is correct run:

Code: Select all

systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
yum -y install network-scripts
systemctl enable network.service
systemctl start network.service
??

or is best other method?

Thanks

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: NetworkManager.service vs network.service

Post by jlehtone » 2021/06/18 06:06:28

Each network connection (aka interface) has to be configured.
Both of these services do that.
At most one service can configure one interface. Services are definitely mutually exclusive per interface.

Is it possible that some interfaces are managed with one service and the rest with other service?
That was possible in CentOS Linux 7. Not sure about 8.

However, there has to be more than one interface to configure in the machine and a very good reason why they all cannot be managed with one service.

Post Reply