I have next setup:
My home lan = 192.168.1.0/24
My virtual lan = 192.168.207.0/24
My laptop = 192.168.1.109 (dhcp OS=Windows7)
My desktop = 192.168.1.206 (fixed ip OS=Windows8)
My virtual machine installed on the desktop = 192.168.207.128 (NAT + dhcp OS=Linux Mint)
Ping from virtual machine 192.168.207.128 works to all.
Ping from workstation 192.168.1.206 to vm 192.168.207.128 works.
Ping from laptop 192.168.1.109 to desktop 192.168.1.206 works.
Ping from laptop 192.168.1.109 to vm 192.168.207.128 FAILS.
Ping from laptop 192.168.1.109 to vm def gw 192.168.207.1 FAILS.
VM is in nat mode. I know this will be easier in bridged mode. But I want to make it work in NAT mode if possible.
I found 3 reasons for this to fail. And I applied what was necessary (I thought, but without success...).
1/ NAT needs port forwarding. So in the vm network settings I did port-forwarding. Settings are: 'port 22' and 'vm ip address 192.168.207.128' 'type TCP'.
2/ Windows firewall on my desktop can cause problems, so I disabled Windows 8 fw.
3/ My laptop does not know a route to that network 192.168.207.0. So I added a static route in Win7 like this in command line: [route add 192.168.207.0 mask 255.255.255.0 192.168.1.206 metric 1]
Many thanks for your help, or some advice.