VMware

This Question is Answered

2 "helpful" answers available (6 pts)
9 Replies Last post: Dec 30, 2007 7:41 PM by hananiel  

Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning posted: Oct 30, 2007 8:51 PM

Click to view Joel Duckworth's profile Novice 19 posts since
Oct 30, 2007
Hi,

I've had some serious network issues with Ubuntu 7.10 Server (gutsy) as a guest OS in ESX 3.0.2. Creating a new machine, installing, booting and installing VMware tools works as expected. However after creating a template image and cloning it, the network card (eth0) disappears. I tried reinstalling / reconfiguring VMware tools but the best I could get it doing was reporting some sort of "eth0: hw csum failure" (it just kept popping up after a 'sudo ifconfig eth0 up' after reinstalling the VMware tools)

I've tried using the latest install of ESX (3.0.2 update 1) and with the latest VC and installing the latest VMware tools from that release. I've also tried removing the network adapter and re-adding it but just have the same issue... no network.

Has anyone got any ideas? I read something about updating the MAC address for Debian base distros but I've not had to do this for Ubuntu Dapper 6.06 Server (LTS) it's just worked as expected.
Click to view wwolkers's profile Novice 6 posts since
Nov 4, 2007

Debian (and Ubuntu for that matter) uses a special udev rule to assign a MAC to the same ethx interface (see /etc/udev/rules.d/rules.d/z25_persistent-net.rules which is generated by /etc/udev/persistent-net-generator.rules). Changing the MAC only means changing the eth interface, therefore try eth1, eth2 or something. dmesg should tell you the name.

Personally I just remove the old eth0 from /etc/udev/rules.d/rules.d/z25_persistent-net.rule and change the eth1 to eth0, has always worked for me so far.

probably /etc/udev/persistent-net-generator.rules should be updated in debian and in ubuntu, since they already list a couple of vmware mac addresses in there....

Click to view PixelBitch's profile Lurker 2 posts since
Nov 7, 2007

I found that going to System > Administration > Network, changing the properties on "Wired connection" to disable roaming mode and allow for "Automatic configuration (DHCP)" worked well for me.

No more network issues, and I only had to click a few times in a UI...Linux, is that you hiding under there? :)

Click to view icottee's profile Lurker 3 posts since
Feb 24, 2005
In my case I'm starting from a known point so I'm continually cloning from the same start point. Therefore I deleted 70-persistent-net.rules in my master, shut the machine down and started cloning from it. Everytime you boot up the clone the rule is recreated and your network works straight away. Works for me with Gutsy server.
Click to view lanivdw's profile Lurker 3 posts since
Nov 20, 2007

Joel Duckworth, Thank you for your post, I have been looking for the file -> /etc/udev/rules.d/70-persistent-net.rules for sometime. Now I have one question, where can one find infomation about changes like this iftab to udev/rules.d/70-persistent-net.rules?
Click to view hananiel's profile Lurker 1 posts since
Dec 30, 2007

pixelb, that worked for me . Thanks. I had to check the checkbox after that and it started working. I am using gutsy gibbon on xp.

thanks,

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities