I have a host computer with three different networks in total. My VM (host and guest both Windows 7) connects to two of those via bridged networking which works fine. Now I want to connect to the third network using NAT because I can't use bridged networking for technical reasons there. I should mention that one of the bridged networks also has a standard gateway. In all three networks I'm assigning static IPs, the DHCP server is disabled.
Unfortunately it doesn't work. I can have two working options:
1. network 1 and 2 (the bridged ones) are working and I can ping all devices on those networks. On network 3 I can't ping anything or only the host computer.
2. network 1 (bridged with standard gateway) doesn't work, network 2 (bridged without standard gateway) and network 3 work.
I can switch between those two options by performing the network diagnosis tool for the one which is not working. Windows doesn't give me any feedback what it's doing and I can't see any obvious differences in the network settings, so I can't tell. What I noticed though is the following: When I'm working with option 1 and try to ping a device for which I have to go over the standard gateway, it doesn't actually use the standard gateway set in the VM. Instead, by using tracert command, I can see that the VM first goes over the NAT gateway to the host computer and from the host over the standard gateway to the desired address.
So I assume that the problem is that Workstation (or the VM) does not know which of the three networks on the host it should use.
Any solutions?