Solved

Ping intermittently times out with virtual machines

Posted on 2010-11-20
5
1,287 Views
Last Modified: 2012-05-10
I have 2 vmware guest images (redhat, centos) running on a windows 7 host. Both guests are set up for bridged. I initially noticed intermitted issues with the network where sometimes http requests would fail when issued from the hosts browser to the guest OSs apache. Then I did some tests with ping and in a batch of four ping requests, on average 2 would succeed and 2 would time out.

I'm wondering what the most likely source of these issues is. The bridged networking is conncted through my cable modem. Do the ping requests from the host to the guest go through the cable company's network even though both OSs reside on the same physical machine?

0
Comment
Question by:opike
  • 3
5 Comments
 

Author Comment

by:opike
ID: 34179860
When I ping the guest OS's from a different physical machine than the host, I get a 100% response success rate.
0
 
LVL 14

Assisted Solution

by:theras2000
theras2000 earned 250 total points
ID: 34179923
That's an interesting question.  I don't know, but it certainly seems the right path to take to finding why it's timing out.  What if you tracert from guest to host, does it show a hop to the router?

I'm guessing not, because the router would not bother trying to route, as it sees the traffic as being in the same subnet.  The switch side of the router would want to forward your traffic out any other LAN ports, but not out the same port that it came from (as it assumes that the target device already heard it if it lives on that network segment).  So this would mean that the VMWare bridging software has to intelligently pass the traffic directly to the guest.  This is my purely theoretical conclusion, and it would point to a fault on your local host or VMware software.

This older post suggests the problem is in a bad NIC, and the person was using his WLAN NIC, rather than a LAN NIC.  http://www.experts-exchange.com/Software/VMWare/Q_25444767.html
0
 

Author Comment

by:opike
ID: 34193378
Thanks for your input. I also just set up spiceworks to help track this issue over time.
0
 
LVL 2

Accepted Solution

by:
vmstat earned 250 total points
ID: 34243837
The packets from one guest to the next should not go out on the wire.  

I would run tcpdump on each guest and windump on the server check out vmnet-sniffer (if this exists on windows) to see if it will tell you anything else about what is going on.  Are the packets making it to the guests?  Could there be ARP issues?  What interface is the bridged interface?  What params is vmnet-bridge running with?
0
 

Author Comment

by:opike
ID: 34386049
Switch from spiceworks to pandorafms for monitoring since it seems to be more compatible with linux OSes.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

773 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