Wednesday, May 11, 2011

Suse ES networking problem on vmware

After restarting vmware of SES, from time to time, the network interface got changed.
As a result, the network connection would stop working.

The resolution to this issue is to manually edit /etc/udev/rules.d/70-persistent-net.rules file. This file has two entries related to network cards:


# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:ac:ee:0d:d5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:ac:e0:fd:23", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

The first entry with eth0 is the original virtual machine MAC address. The second entry is the new NIC with the new MAC address.

You must change the MAC address in the first entry from eth0 to eth1 and remove the second entry.

After a reboot, the cloned virtual machine has network connectivity.

The original source of this solution is http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021624 .

No comments: