親自嘗試:
解決辦法: 禁用NetworkManager
1、禁用NetworkManager服務
systemctl stop NetworkManager
2、永久關閉NetworkManager服務 systemctl disable NetworkManager
最后重啟網卡,會發現可以正常啟動並且可以ping通。
systemctl restart network
嘗試查詢狀態並ping 百度
systemctl status network
[root@localhost] ping 114.114.114.114 PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data. 64 bytes from 114.114.114.114: icmp_seq=1 ttl=128 time=73.8 ms 64 bytes from 114.114.114.114: icmp_seq=2 ttl=128 time=73.4 ms 64 bytes from 114.114.114.114: icmp_seq=3 ttl=128 time=80.5 ms 64 bytes from 114.114.114.114: icmp_seq=4 ttl=128 time=57.3 ms 64 bytes from 114.114.114.114: icmp_seq=5 ttl=128 time=68.6 ms 64 bytes from 114.114.114.114: icmp_seq=6 ttl=128 time=67.9 ms