VMware vSphere

 View Only
  • 1.  ESX host cannot ping default gateway

    Posted Jul 11, 2013 10:11 PM

    I've got ESXI 5.1 installed on a Dell Power Edge R620.  I have a VM deployed running as a VCenter server.  I was able to manage the physical host through VCenter okay.  I configured two virtual switches, each on a different VLAN.  After this change I lost access to my host's management IP address (and no communication to VCenter either).

    From the ESXi shell, I can ping the local IP address of the host, but not the gateway address.  I see this in the log:

    SetTaggedManagementInterface: Writing vmk0 to the ManagmentIface node

    "RoutingInfo: Unable to restore VMkernel default gateway (IP Adress): Unable to set VMkernel gateway Address. Please verify your IP settings and try again"

    I've tried cabling to a different port on my switch and also using different cables but still get the same issue.  I've restarted and shutdown/reset the system.  I'm wondering if the management link got converted to a trunk interface as well (SetTaggedManagementInterface) entry.  I did notice the VmKernel Port was attached to Virtual Switch 0, which is where I configured one of the VLANs.

    I guess I can reinstall to clear out the config, but I'm wondering if I can somehow restore a default network config first.

    Carlos.



  • 2.  RE: ESX host cannot ping default gateway

    Posted Jul 11, 2013 10:57 PM

    To restore your network work settings:

    1. Use the Direct Connect UI (DCUI) to connect to ESXi host.
    2. Click Reset System Configuration.
    3. Reboot the ESXi host.
    4. Enter the networking information. For more information, see Configuring the ESXi Management Network from the direct console (1006710).
    5. Do a test ping using the DCUI. If successful, you can access the ESXi host using the VI Client.
    6. Re-register virtual machines and recreate your vSwitches. For more information see, the ESXi documentation.


  • 3.  RE: ESX host cannot ping default gateway

    Posted Jul 12, 2013 02:54 AM

    Vote for JD



  • 4.  RE: ESX host cannot ping default gateway

    Posted Jul 12, 2013 05:18 PM

    I performed this procedure and still had a problem.  I ended up fixing this by changing the NIC that the management network uses. Initially I only had 1 of my 3 G NICs cable to my switch. For some reason I've lost the initial 1G uplink from the valid list after plugging in cables fromall other NICs to the switch.  If I use one of my other 1G NICs, connectivity to the ESXi host is okay.



  • 5.  RE: ESX host cannot ping default gateway

    Posted Jul 12, 2013 01:05 PM

    I did notice the VmKernel Port was attached to Virtual Switch 0, which is where I configured one of the VLANs.

    - Did you configure VLAN ID for Management Network (vmk0) portgroup on vSwitch0

    Regards,

    Shyam