Ping - ESX 4 Host to VM NOT ok, VM to ESX Host IS ok?

Posted on 2011-04-27
Last Modified: 2012-05-11

I look after a small lab environment with a couple of ESX 4.1 Servers. To save on power and space the vCenter Server (Windows 2008 R2) runs as a VM on one of the ESX hosts.

The problem I have is that I can't ping the VM IP from within the ESX host console, yet I can ping the ESX host from within the guest, so there must be some routing issue... Would someone mind helping me troubleshoot this as I'm not too familiar with vmware virtual network switches.

Let me know which commands you'd like me to run and I'll post them on here.

Many thanks
Question by:jarrah10
    LVL 28

    Accepted Solution

    Are you running the Windows Firewall in your vCenter vm? That could be blocking the traffic. Can you ping the vCenter vm from anywhere?
    LVL 116

    Assisted Solution

    by:Andrew Hancock (VMware vExpert / EE MVE)
    Maybe your firewall is enabled in the Windows 2008 R2 Guest VM, because it's enabled by default.
    LVL 28

    Expert Comment

    I would not suspect a routing issue as if that was the problem the ping from the vCenter to the ESX would also fail. The reason being that an icmp echo request is being sent and an echo reply response is also working. If there was a routing issue either the echo request would never find its way to the ESX server, or the echo reply packet would not find its way back to the vCenter....
    LVL 1

    Author Comment

    oh heck, I never thought about the firewall! :)
    LVL 28

    Expert Comment

    To configure the firewall to allow pings open an Administrator command prompt (right click, run as administrator) and enter the following:

    netsh firewall set icmpsetting 8

    That will allow ping requests through the firewall
    LVL 28

    Expert Comment

    I should add that in most cases it isn't necessary to be able to ping the vCenter machine in order for all to function properly.

    I say in most cases because in one rare case I have seen where someone installed vCenter on a machine that was also running the ISA Firewall and was the gateway for their network. ESX needs to be able to ping the gateway if configured in a High Availability (HA) cluster...

    Featured Post

    NetScaler Deployment Guides and Resources

    Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    ntp settings vcenter 4 45
    Veeam 9 Replica Help Needed 4 67
    VMWare Workstation 12.0 3 70
    The purpose of Vmware Thin Disk 8 32
    This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
    Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now