7
1
I have a network with the following:
- Cable modem with static IP address
- Router
- Desktop - Win 7
- VM Host - VMware ESXi 4.0
- A couple of VM Guests - Windows
Every now and then my Win 7 PC is unable to access some of the VMs. When I ping the VMs by their domain name their IP address shows up as the IP address of the cable modem.
Sometimes I can fix it by running ipconfig /flushdns
. The IP address will reset back to what it was supposed to be, but occasionally it wont work.
Why does this happen and how can I fix it?
Update
I have had the problem happen again and so I have tried pinging the machines that are returning the public static IP address from a different machine on the network at the same time the problem is occurring. The pings were coming back with the correct addresses on the other machine. So it seems the incorrect IP address problem is only happening on the Win 7 PC.
Also, after about 10 minutes of noticing the problem, pinging the machine names that were returning incorrect IPs suddenly started working correctly again without me fiddling with anything nor running ipconfig /flushdns
.
Just to be clear, your cable modem has a static public IP and when the problem occurs, the VM names resolve to that public IP instead of the proper private IP? – Stephen Jennings – 2011-02-21T07:00:44.533
That's correct. – GiddyUpHorsey – 2011-02-21T22:59:51.423
I would run a packet capture program like Wireshark to confirm to what server and what hosts the windows 7 system is looking up. – Kyle Smith – 2011-05-18T14:53:24.783