I am using VMware Workstation 12 on a Windows 10 host with two wired nics connected to the same switch. I want my guest VMs to use NAT through nic1 and the host to use nic2. No network traffic from the host should go through nic1 and no network traffic from the guests should go through nic2.
My current config is shown. Vmnet0 is bridged to nic1.
switch <--+ (nic1/vmnet0; VBP) 192.168.1.1 --+ | | | (vmnet8; NAT; only VBP) | | | +----- All VMs | switch <--+ (nic2; no VBP) 192.168.1.2 -- HOST VBP = vmware bridge protocol
If I disable one of the nics, all traffic (host and VM) ends up going through the other nic, which is not the desired result. I am not sure how to proceed from here. Are there additional changes in vmware, windows (static routes), or both that I can make for this to work?
UPDATE: Here is the desired result. If I disable nic2 I want the host disconnected from the network, not automatically redirected through nic1. Same for disabling nic1.
switch <--- (nic1/vmnet0; VBP) 192.168.1.1 --+ | (vmnet8; NAT; only VBP) | +----- All VMs switch <--- (nic2; no VBP) 192.168.1.2 -- HOST
UPDATE2: I checked the vmware doc. It talks about a virtual switch that gets created through the virtual network editor - is that vmnet0 and/or vmnet8? In the windows host, they both just look like network adapters. I didn't see an explanation for the relationship between vmnet0 and vmnet8.
I checked these related questions but they didn't quite fit my scenario: