Wednesday, 18 April 2018

How to disable Network Manager on Centos7/RHEL7



The Network Manager Service is enabled by default on Centos7/RHEL7 installations. Network Manager is not suitable for advanced networking setup, such as configuring network bridge, aliases, Open Stack networking, forwarding network traffic, etc.


The following steps will disable Network Manager Service and allows the interface to be managed only by network service. Alternatively, add "NM_CONTROLLED=no" directive in the network configuration files instead of disabling Network Manager.

Step 1: stop Network Manager Service:

[root@linuxcnf ~]# systemctl stop NetworkManager

Step 2: Disable the service permanently:

[root@linuxcnf ~]#  systemctl disable NetworkManager

Setp 3: Verify the Network Manager Service is disabled from auto start while rebooting.

[root@linuxcnf ~]#  systemctl list-unit-files | grep NetworkManager

Its done Network Manager Service is disabled!!!

No comments:

Post a Comment