Link to home
Start Free TrialLog in
Avatar of Brad McAfee
Brad McAfee

asked on

Networking Traffic Routing With Two Ethernet Interfaces

I have a Windows 10 Pro machine with two Ethernet ports.  One is on the board and one is a PCIe card.  They both work and get DHCP addresses.

I am trying to route my traffic done in Windows through the one on the board and have all the traffic from my VMs (I am running a Windows 10 LTSB and Ubuntu Server) via VirtualBox.  

How can I accomplish this?
Avatar of whiterushin
whiterushin

On the host disable TCP/IP on the NIC you want assigned to the guest.  Then in VirtualBox set up bridged mode and use that NIC.
If you edit the Virtualbox Network settings, you can select and specify which NIC (network interface) you want to send traffic through.

So edit the Network Settings next to Network Interface in the VM, and select your "onboard nic"
Avatar of Brad McAfee

ASKER

whiterushin: If I disable it, the VirtualBox program can not access it?
Andrew: So how do I prevent Windows (host) from not using it as I only want one or both of the VMs do use it for bandwidth and CPU reasons.
You do not need to disable DHCP your network interface needs an IP address and your fine with DHCP
ASKER CERTIFIED SOLUTION
Avatar of whiterushin
whiterushin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In Hyper-V you can create an external virtual network and disable sharing with the management host. This way the network interface will be dedicated for the VMs only. Probably it's the same with VirtualBox.
@whiterushin: When I do that host works but guest (VM) with adapter with only VirtualBox NDIS Bridged Networking Driver I do not get any connectivity from the card inside the VM?
Did you also configure VirtualBox settings for Bridged Networking for that VM?