This article covers methods to fix 'Failed to restart network.service' on both RHEL 7 and RHEL 8. You can use "NetworkManager.service" as the default networking service in RHEL 8.
Red Hat Enterprise Linux 8 uses the default networking service, NetworkManager, which is a dynamic network control and configuration daemon to keep network devices and connections up and active when they are available.
If any of these scripts are required, the installation of the deprecated network scripts in the system is still possible with the following command:
# yum install network-scripts
In RHEL 7 /etc/rc.d/init.d/network was owned by initscripts but with RHEL 8 this tool is part of network-scripts rpm.
Also, you can restart you network by issuing following command:
sudo systemctl restart NetworkManager.service
You can also stop and start it by issuing:
sudo systemctl stop NetworkManager.service
sudo systemctl start NetworkManager.service