Linux Troubleshooting Case – CentOS 7 Network Interface Fails to Start

The failure phenomenon is shown in the figure below:

Failed to start LSB: Bring up/down networking.

Linux Troubleshooting Case - CentOS 7 Network Interface Fails to Start

Solution 1:

This issue is generally related to the system’s built-in NetworkManager management suite; disabling it can resolve the problem.

systemctl stop NetworkManager // Stop the NetworkManager service

systemctl disable NetworkManager // Disable it from starting at boot

systemctl start network // Restart the network service

Solution 2:

Check if your MAC address is entered incorrectly.

ip address

Linux Troubleshooting Case - CentOS 7 Network Interface Fails to Start

Once you have the MAC address, check the configuration file.

cd /etc/sysconfig/network-scripts

ls

Enter the above commands sequentially to see which files are in your directory, and check the first file.

It is usually either ifcfg-eth0 or ifcfg-ens33 (depending on the situation).

After opening the file, you can see some configuration information. Find HWADDR or MAC; both are your MAC information. Check if it matches the one you obtained earlier, save it, and reboot the system.

Reboot

Then check if the network interface can be started. If it still does not work, it is recommended to check if there are any errors in your network interface configuration file, such as: ONBOOT=yes.

Solution 3:

Some servers have different configuration files; for example, some servers have multiple network interfaces. Check if other unused network interfaces are enabled. Check the network interface configuration file; if it is ONBOOT=yes, change it to no, and then restart the network service.

When multiple network interfaces are needed, if the corresponding addresses are configured but the network interface still cannot start, set the boot settings to boot from the hard disk (the method to enter the boot device varies by manufacturer; specific methods can be found online).

Linux Troubleshooting Case - CentOS 7 Network Interface Fails to Start

Leave a Comment