Thứ Ba, 3 tháng 11, 2015

VMWare Image Clone Problem: eth0 Renamed As eth1

VMWare Image Clone Problem: eth0 Renamed As eth1

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

You need to remove the MAC address in /etc/sysconfig/network-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/network-scripts/ifcfg-eth0 with eth1 HWaddr (MAC address)
Save and close the file. Restart the network service, enter:
# service network restart


Share This!


Không có nhận xét nào:

Đăng nhận xét