CentOS網卡eth0啓用不了問題

[root@localhost Desktop]# service network restart
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.
                                                           [FAILED]


CentOS虛擬機中啓用不了eth0網卡解決辦法:

1./etc/udev/rules.d/70-persistent-net.rules 文件

刪除eth0網卡

將eth1網卡的NAME="eth1"修改爲"eth0",並複製ATTR{address}中的值(MAC地址)


2./etc/sysconfig/network-scripts/ifcfg-eth0 文件

將複製的ATTR{address}值覆蓋#HWADDR


重啓服務:service network restart

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章