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


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
Who is Participating?
Are you running the Windows Firewall in your vCenter vm? That could be blocking the traffic. Can you ping the vCenter vm from anywhere?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Maybe your firewall is enabled in the Windows 2008 R2 Guest VM, because it's enabled by default.
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....
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jarrah10Author Commented:
oh heck, I never thought about the firewall! :)
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
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...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.