#service network restart
Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active[FAILED]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
步骤一:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
配置文件里保存了以前的MAC地址,就把网卡MAC地址删除
步骤二:
删除 /etc/udev/rules.d/70-persistent-net.rules  然后重启
此文件绑定旧了网卡和mac地址,换了网卡以后MAC地址变了,即不能正常启动。也可以直接编辑修改对应的网卡和mac地址,但是还不如让它会自动生成。



Related posts

coded by nessus
分享:  DeliciousGReader鲜果豆瓣CSDN网摘
Trackback

no comment untill now

Add your comment now

无觅相关文章插件