您的位置:首页 > 运维架构 > Linux

虚拟机克隆系统linux出现的网卡无法启动 ip无法看到的解决方案

2018-01-10 13:12 495 查看


The problem lies in the fact that ethernet MAC addresses are cached. 

You need to remove a file to clear the cached value: 
解决方案

查看虚拟机的mac地址是否与linuxmac地址一致



进入一下命令

cd /etc/sysconfig/network-scripts/

vi ifcfg-eth0



如果不一致就会出现错误看不到ip

 

问题是由于以太网MAC地址被缓存。 你需要删除一个文件来清除缓存值:

 

$ sudo rm /etc/udev/rules.d/70-persistent-net.rules 

$ reboot
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: