Restart Network Service (Unit network.service not found) on CentOS 8 or RHEL 8 – Tutorial Schools

In newly released Centos 8 I am facing One major issue when am going to start/stop/restart network service. Network scripts are no longer provided by default. By default if you try to use legacy network.service unit file is not available with Centos 8/RHEL 8.

[root@tutschools ~]# systemctl restart network
Failed to restart network.service: Unit network.service not found. 

Now I am sharing two method to start/stop/restart network service.

Method: 1 Using NetworkManager Service

Use the followings commands to start/stop network service on your CentOS/RHEL 8 Linux system. login with root user.

systemctl start NetworkManager.service
systemctl stop NetworkManager.service

Use the followings commands to restart network service on your CentOS/RHEL 8
Linux system.

systemctl restart NetworkManager.service

Method 2: Using network-scripts

Now if you want to use the legacy command “systemctl restart network” in Centos 8 then you have to follow below process.

[root@tutschools ~]# yum install network-scripts

After installation you can use legacy command to start/stop/restart network service.


Ripan Kumar Ray

CCNP (ENCOR & R), CCNA (R&S), JNCIA-Junos & SEC. Experienced Network & System Engineer.