I have a Windows 7 VM and a Windows 10 VM on my Windows 10 host. Both VMs are using bridged networking.
After about 5minutes, I can no longer ping the W10's hostname (or otherwise communicate with) from the W7 VM.
ping from W10 to host - yes
ping from host to W10 - yes
ping from host to W7 - yes
ping from W7 to host - yes
ping from W7 to W10 - NO (I can with IP address)
ping from W10 to W7 - yes <-- this now makes W7 able to ping W10 for a while
If I ping from W10 to W7, then I can ping the opposite direction for a while.
Any idea what is going on? Any way to tell is this is an OS issue, router issue, or VM software issue?
can't ping VM after some time from another VM
Re: can't ping VM after some time from another VM
That sounds like a problem with your local DNS Server. If you are able to ping one VM from another with IP-address but not with its hostname, the hostname could not be resolved. Over the course of the 5 minutes the Cache would have been emptied. However, I do not know why the entry could not be restored. To resolve the issue, you could set a static entry into your DNS Server, which connects the VM's hostname with its respective IP-address.
Re: can't ping VM after some time from another VM
I set static IPs on the router, but that didn't solve the issue. I ended up editing the hosts file on the problematic VM and it works fine now.