VMware Cloud Community
mvarre
Contributor
Contributor

Network not available in converted Ubuntu VM

Hello all, I just converted Ubuntu 6.02 LTS from ESX 3 to ESX 3.5. Everything seems to have gone well except for the fact that i have no available NIC in the Ubuntu machine now. I cant for the life of me figure out what would be different. All i seeis the loopback device, no eth0 when i ifconfig.

I upgraded VWare tools hoping that would hope with no luck. Any ideas?

Thanks!

0 Kudos
4 Replies
Texiwill
Leadership
Leadership

Hello,

Thread moved to VM and Guest OS forum.

The problem is the devices loaded. Look at the output of lsmod for the vmxnet, and pcnet32 devices. If you do not see them then neither loaded. Also, look at /etc/modprobe.conf for the changes VMware made. Often these are incorrect for Linux and I have to comment them out and setup the proper alias. At the moment you are looking at standard network issues within a Linux machine. The only interaction with VMware Tools is the setup of modprobe.conf. Can you provide the output of

lsmod

cat /etc/modprobe.conf


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
mvarre
Contributor
Contributor

Thanks for the reply Edward, i assumed it is the devices, I'm just a bit lost as to how I might resolve the issue. When I run lsmod i see both pcnet32 and vmxnet. "Used by" for each say 0.

Within Ubuntu, would modprobe.conf be a different file? I dont seem to have this file anywhere.

Thanks for any info!

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Interesting. Well I will try and get ubuntu installed over here. For now remove vmware tools and reset the device back to a pcnet32 device. Then things should work.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
mvarre
Contributor
Contributor

Thanks for the quick response Edward, it seems as though I have found the solution here: http://communities.vmware.com/thread/46069

Turns out the simple answer is that when you move the VM from one host to another a new MAC address gets created. Ubuntu sees a new mac address, but isnt willing to create a new NIC in the guest (like windows does). So, basically I just had to go into the vmx file for the migrated VM, get the new MAC address, and replace the old MAC address for eth0 within /etc/iftab.

So simple. Thanks for the help!

0 Kudos