VMWare Image Clone Problem: eth0 Renamed As eth1
来源:互联网 发布:装修风格效果图软件 编辑:程序博客网 时间:2024/06/05 20:15
VMWare Image Clone Problem: eth0 Renamed As eth1
After cloning a VMWare image I had noticed that my CentOS Linux server renamed eth0 as eth1, eth1 as eth2 and so on. This is due to wrong or duplicate mac address. To fix this problem login to your CentOS Linux server using console and type the following commands:# cd /etc/udev/rules.d
# cp 70-persistent-net.rules /root/
# rm 70-persistent-net.rules
# reboot
This file was automatically generated by the /lib/udev/write_net_rules program, run by the persistent-net-generator.rules rules file. Simple delete it and reboot the system to recreate the same. This should fix the problem:# /sbin/ifconfig | grep "^eth"
Sample outputs:
eth0 Link encap:Ethernet HWaddr 00:0C:29:F3:E4:14eth1 Link encap:Ethernet HWaddr 00:0C:29:F3:E4:1E
You need to remove the MAC address in /etc/sysconfig/networking-scripts/ifcfg-eth*. To find out current MAC address, enter:# ifconfig -a | grep eth1 | grep HWaddr | awk '{ print $5}'
# ifconfig -a | grep eth2 | grep HWaddr | awk '{ print $5}'
Update your /etc/sysconfig/networking-scripts/ifcfg-eth0 with eth1 HWaddr (MAC address), enter:# cat /etc/sysconfig/networking-scripts/ifcfg-eth0
Sample outputs:
DEVICE="eth0"BOOTPROTO="dhcp"NM_CONTROLLED="yes"ONBOOT="yes"HWADDR="00:0C:29:69:0C:4A"
Save and close the file. Restart the network service, enter:# service network restart
You can verify new settings with the following commands:# /sbin/ifconfig -a
# route -n
- VMWare Image Clone Problem: eth0 Renamed As eth1
- VMWare Image Clone Problem: eth0 Renamed As eth1
- 解决udev:renamed network interface eth0 to eth1
- eth0 eth1
- vmware clone linux eth0 无法启动
- 用VMware完全克隆的CentOS 6.5网卡只有eth1,将eth1改成eth0
- centos7 VMware workstation 10 添加多网卡及重命名为ethx(eth0,eth1失败)(还想再添加网卡eth1???)
- VMware 上Clone Ubuntu虚拟机后找不到eth0
- VMware上Clone Ubuntu虚拟机后找不到eth0
- Vmware linux虚拟机 移动后 eth0 变成 eth1 问题的解决
- 克隆或复制VMware虚拟机后,Linux系统eth0消失,显示eth1
- eth0,eth1,eth2,lo是什么
- ubuntu 中将eth1改为eth0
- CentOS6 eth0变成eth1 解决
- eth0,eth1,eth2,lo是什么
- eth0,eth1,eth2,lo是什么意思?
- 消失的eth0 eth1地址
- 虚拟机的eth1改为eth0
- linux 路由表设置(双网卡)
- 【拓扑排序】 Codeforces Round #290 (Div. 1) A Fox And Names
- 一个项目经理的个人体会、经验总结
- 进程、控制终端、会话、守护进程
- C++的static静态函数
- VMWare Image Clone Problem: eth0 Renamed As eth1
- ios修改了coredata数据结构后,更新安装会闪退
- 关于大型网站技术演进的思考(一)--存储的瓶颈(1)
- 下拉框应用
- linux 进程高cpu问题分析
- Oracle数据库分区存储
- IE动态加载js
- jacob调用Excel中的宏
- 【android】Sqlite中使用SQL与其他数据库的区别