This post shows how to configure a LINUX host built from a VMware template. In this case the WWPN aka the MAC address is duplicated on each and every guest built from the template ….. This should not be allowed as it is against the whole idea of uniqueness of network adapters within the TCP/IP world.
One of the side effects of this “issue” is the presence of
eth1 interface instead of
eth0 in the guest inventory. What needs to be done is described next.
After the guest is powered you need to make a note of what WMware “thinks” is the MAC address of your guest. Highlight you guest, select the
Summary tab, next in the
Commands pane select the option labeled
Edit Settings and finally select the
Network Adapter and on the right side the screen in front of your eyes there is the
Mac Address entry containing the value WMware manager assigned to the guest. Copy/Paste it, memorize it, write it down on a paper. Open a console session and log-in to the guest.
Remove the following file
Make sure that in the
/etc/sysconfig/network-scripts directory exists only one
ifcfg-* file and that this file is called
ifcfg-eth0. Now, edit this file by replacing the value to the right of
HWADDR= with the MAC address you obtained a two or three sentences above. Is the guest ip address, netmask, gateway and so forth are correct? If the answer is YES, restart the network service – either reboot or execute the
service network restart
This should be it.