
2.打开登录(用户名密码是拷的系统的),修改ip和mac地址:
vim /etc/sysconfig/network-scripts/ifcfg-eth0
(mac地址获取:ifconfig -a)
3.重启网络服务,提示如下:
service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
4.网上查资料:http://blog.csdn.net/xluren/article/details/38986667 -博主文章真不错帮了我大忙
解决办法:
rm -rf /etc/udev/rules.d/70-persistent-net.rules
reboot ---查看ifconfig中的ip和mac已经修改成功
service network restart ---成功了