I need your help in understanding why I'm facing this strange problem.
So I'll get to the set up:
Windows 10 laptop as a host let's call this host win10. Vmware installed on win10
two Linux VMs on VMware:
fedora desktop let's call this vm1
fedora server let's call this vm2
both vm's are configured with static IP, somehow they both are automatically using the VMware application as a dns server which, as mentioned somewhere in vmware documentation, uses the win10 to resolve names.
win10 has it's hosts files appended with the ip mappings of both vm's
Now here comes the twist:
Another device is my android phone which is running wifi for win10 to connect to. Both vm's use NAT to access the internet through my phone.
When win10 is connected to android wifi. All works well!!!
When disconnected however both vm's can nslookup each other and vm1 can ping both itself, vm2 and win10. Vm2, however, can't ping anything it seems not even itself.
Please provide any advice to solve this issue. I have no idea why everything works fine when connected to the internet but not when disconnected. None of my devices should depend on the internet for name resolution of local resources!!!
I did some research and I found out that maybe I have this avahi software on vm1. But I'm not sure whether this can be the difference. Still doesn't explain why I can't ping with my vm2.