1
I have 2 NICs and 2 physical links from 2 different ISPs. I want to set up a Windows XP virtual PC with VirtualBox to use the 2nd link. But I don't want the host (Windows 7) to use it, I actually want it to ignore it in all cases.
I have set up bridged on the network settings for the VM, and to the proper NIC. As far as I know, there is no way to dedicate a NIC to a VM using VirtualBox, so thats why I want to tell Windows 7 to ignore the 2nd link.
I'm not certain but if you run the VM in bridged mode you can probably just not set a gateway on the 2nd NIC in the host OS... ie, change it from dynamic IP to static and put it on some other subnet to your first network, don't define a gateway (this was the only route created for the connection should be related to the subnet only) Then because it's bridged adapter to the VM, that OS should be able to get its real IP and gateway etc ... +1 because curious for someone to give a better way to do this now too :) – Ben Stephens – 2012-08-21T06:42:21.450
Just don't configure or enable IP on the interface. – David Schwartz – 2012-08-21T06:52:13.337