vSphere vNetwork

 View Only
Expand all | Collapse all

No network connectivity after moving VMs to dvSwitch

  • 1.  No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 05:00 PM

    I have a small lab with 2 ESX servers using local storage only and I was playing around with making a dvSwitch which worked fine. Then I moved all my VMs to the dvSwitch port group and lost my network connectivity including my vCenter Server which is a VM. I was able to log into the ESX hosts locally and change it back to the standard VM Network connection and get things working. Would it have anything to do with not using shared storage? Im still in the learning process so Im not sure what is going on.



  • 2.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 05:58 PM

    I thought maybe it had to do with the management network not being on the dvSwitch so I moved that there and now I cant even connect to the host. I cant ping it or get in with SSH etc either. The vCenter server is still on the standard VM Network connection. I also went into the server console and tried the Restore Standard Switch option which didnt help.



  • 3.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 06:13 PM


  • 4.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 06:31 PM

    Actually I was able to get in through unsupported mode but it says console-setup not found from the info from your first link. Im not sure what commands I should be using to do what since it appears the networking setup is correct judging from the yellow/black console under networking.



  • 5.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 06:59 PM

    I think that command only works on ESX and not ESXi. I thought you were using ESX, sorry.



  • 6.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 07:15 PM

    I also tried this command assuming I know what Im doing to try and associate vmnic1 back to vSwitch0


    esxcfg-vswitch -L vmnic vSwitch0

    and got the following results

    "Virtual Switch" warning. Unable to add uplink vmnic1. Sysinfo error on operation retured status: Busy. Please see the VMkernel log for detailed information.

    Failed to add uplink vmnic1 to vswitch vSwitch0, Error: Sysinfo error on operation returned status: Busy. Please see the VMkernel log for detailed information.

    I also noticed that vmnic0 is already associated with vSwitch0 but I dont know why I cant connect to the ESX host at all.

    Here is the output of esxcfg-vswitch -l



  • 7.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 09:58 PM

    I think I got it. I went into the console (yellow screen) and then went to network adapters and assigned the default management network connection back to vmnic0 and now I can connect.

    What is the best way to setup a dvSwitch and keep the connection? Should I move the management network first and then the VMs if vCenter is one of the VMs?

    From what I have read it seems like the dvSwitch needs shared storage to work properly so Im assuming thats my problem.



  • 8.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 23, 2011 02:03 AM

    Move the management network last. You need to make sure it always works because it is so important. If you can, you want it separate from other networks also.

    Sent via BlackBerry by AT&T



  • 9.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 25, 2011 04:44 PM

    Our production environment uses vSwitches for our management network. Our VM network is on dvSwitches. To modify a dvSwitch, vCenter must be up. There are pros and cons to whatever networking type you choose. For us the management network is set once and not changed, so the flexibility of dvSwitches is not necessary. The VM network changes more often so dvSwitches make sense.



  • 10.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 06:17 PM

    Did you already double check the uplinks connected to the dvSwitch are connected properly (have a link) and - in case of a managed switch - the physical ports are configured properly?

    André



  • 11.  RE: No network connectivity after moving VMs to dvSwitch

    Posted Jul 22, 2011 06:23 PM

    I cant get into the console to try any commands and am not sure about checking the uplinks but here is a screenshot of my configuration. Do you need to do anything special on the physical switch to use a dvSwitch?