Home>Article>Operation and Maintenance> What should I do if I get an error when restarting the centos7 network?
Solution to centos7 network restart error: 1. Check whether NetworkManager is closed; 2. Check whether HWADDR is consistent; 3. Add "net.ifnames=0 biosdevname=0" in grub; 4. Generate boot menu ; 5. Restart.
The operating environment of this article: CentOS 7 system, Dell G3 computer.
centos7 What should I do if an error occurs when the network restarts?
New system centos7 restarts the network and reports an error
Scenario:New centos7 on an unknown cloud , it cannot start after changing the IP. Use systemctl status network to view the results as follows:
Troubleshooting process:
1) Is NetworkManager closed?
systemctl stop NetworkManager
2) Check whether HWADDR is consistent
Configuration file /etc/sysconfig/network-scripts/ifcfg-eno16777984
and
ip addr view
##3) Add net in the configuration file /etc/sysconfig/grub .ifnames=0 biosdevname=0 4) Generate boot menugrub2-mkconfig -o /boot/grub2/grub.cfg
##5) Restart
Recommended tutorial: "
centos tutorialThe above is the detailed content of What should I do if I get an error when restarting the centos7 network?. For more information, please follow other related articles on the PHP Chinese website!