VMware vSphere

 View Only
Expand all | Collapse all

No network on vm after using Converter

  • 1.  No network on vm after using Converter

    Posted Feb 21, 2011 05:52 PM

    I was running a basic vm (WinXP) on an esxi4.1 host that was running short of disk space.

    So I ran the vCenter Converter Standalone client to copy the original VM to a new one - the only thing I changed was the size of the avaiable thin provisioned disk.   The copy/convert seemed to work wonderfuly. 

    I booted into the new vm, and it came up exactly like the old one (with the bigger disk). 

    ..... but the network on the vm no-longer works.  :smileysad:

    I can still use vSphere to connect to the esxi server, and bring up the VM console (which tells me that the network on the server is working fine).  When I look at the configuration of the new virtual machine, it looks exactly like the old one (complete with a powered on network).   But on the vm, I can't even ping the router, much less get to the dhcp server.  

    I even went so far as to shutdown the vm, delete the netcard, restart the vm (so the network was deleted from the vm), shutdown the vm again, add a NEW network card.

    Still the problem remains.  The vm has a network card - but has no network activity.



  • 2.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 06:12 PM

    If you edit settings of the guest the Network adapter is box for "connected' and "connect at power on" are checked



  • 3.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 06:36 PM
    If you edit settings of the guest the Network adapter is box for "connected' and "connect at power on" are checked

    Yes.

    See the screenshot:

    http://i263.photobucket.com/albums/ii139/CNBarnes/Work/WinXP.jpg



  • 4.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 06:38 PM

    I guess the next question is, is the "VM Network" a DHCP segment and other VM's are pulling IP's from this segment just fine?



  • 5.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 06:40 PM

    did the former physical pc have a static/ or dynamic ip? and is it now on a different network subnet?



  • 6.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 07:21 PM

    Troy said:

    I guess the next question is, is the "VM Network" a DHCP segment and other VM's are pulling IP's from this segment just fine?

    This is the only VM running on this esxi host.   The old vm that was running on this same esxi host had the same "network label" (the "VM Network") and had no problems getting out to the rest of the network.

    did the former physical pc have a static/ or dynamic ip? and is it now on a different network subnet?

    It had a fixed ip, but that shouldn't matter.  Just for grins, I gave this new vm the same IP & network settings as the old vm.   As far as the winxp virtual machine is concerned, it now has a fully functional network.

             .... but it can't see the rest of the world.  Meaning, I still can't even ping the router.

    I am 99.999% positive that the problem is not in the network configuration settings within the VM.  The problem HAS to be esxi is not passing the network traffic out.

       



  • 7.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 08:45 PM

    have you tried using dhcp ?if you have a server on segment)

    per your comments you have had functioning vm's on this port group prior. so

    can we take a a look at ipconfig /all on the vm?

    low



  • 8.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 09:34 PM

    As I said in my last reply:  the vm "thinks" it has a working network configuration.    Looking at the settings in XP (the vm) won't do any good.

    It's ESXi that isn't passing the network traffic through.   WHY it isn't is the question.



  • 9.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 09:43 PM

    can u ping the service console?



  • 10.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 10:15 PM

    I can do better than ping the service console - I can use vSphere to connect to it.

    (hint:  all the screenshots...)

    That means

    A) network TO the esxi machine is working fine

    b) network within the vm is fine

    leaving:  network between esxi and the vm is where it's hosed....



  • 11.  RE: No network on vm after using Converter
    Best Answer

    Posted Feb 21, 2011 10:30 PM

    Some thoughts:

    Are you using a managed physical switch? If yes, check if the VM's MAC address is seen on one of the uplink ports.

    Are the Management network and the VM using the same IP subnet? What you could probably try (if possible) is to create another vSwitch and attach the XP VM to this one to see whether there is an issue with the VM and the Management network on the same vSwitch.

    André



  • 12.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 11:36 PM

    Sorry about that last post, I made the assumption that we all connect to vcenter (not directly to the host as you had stated).

    regarding your last post:

    A) network TO the esxi machine is working fine

    to the host, NOT the vm, which still requires proper network configuration outside of vmware

    b) network within the vm is fine

    ??? with the screenshot you provided your winxp's network connection is showing limited or no network connection

    leaving:  network between esxi and the vm is where it's hosed....

    if thats what you believe then, I would recommend, like André, create a new vm port group and attach your vm to that.

    otherwise, again like André said, check your LAN configs.

    I have used converter many times (many versions on many OS's) and have not seen this happen on winxp

    wish I could have been more help.

    good luck,

    low



  • 13.  RE: No network on vm after using Converter

    Posted Feb 22, 2011 12:31 AM

    From a command prompt on the VM what is the output of ipconfig /all

    Remove all networking components from within the VM including the adapter.

    Edit the VMware settings and remove the NIC. Restart the VM,

    Shut down VM. Edit the VMware settings for the VM and add the NIC.



  • 14.  RE: No network on vm after using Converter

    Posted Feb 22, 2011 04:24 PM

    Remove all networking components from within the VM including the adapter.

    Edit the VMware settings and remove the NIC. Restart the VM,

    Shut down VM. Edit the VMware settings for the VM and add the NIC.

    Done.  Same results.

    Someone else suggested we look at the switch.   Turns out the management was set to not allow multiple IP's per port  (i have no idea how it was working before).    Changing that setting allowed the vm to magically start having network traffic.



  • 15.  RE: No network on vm after using Converter

    Posted Feb 22, 2011 04:44 PM

    glad you were able to resolve this, please award points to to Andre ( I think he was the 1st who suggested you check you LAN setup.)

    low



  • 16.  RE: No network on vm after using Converter

    Posted Feb 21, 2011 06:20 PM

    is it a vmware adapter you see in device manager?

    low