• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Two internet connections - want to dedicate one to VirtualBox OS. How to?

JaYp146

Senior member
Hey guys,

Scenario - I have access to two internet connections for the next month or so, I'd like to take advantage of this temporary situation. No critiques, I'm just looking for a way to get it done (I've already researched this for Windows, it's impossible).

I have two wireless adapters (one USB and one PCI), one for each connection (one's cable, the other DSL).

I'd like to set them up so that the Ubuntu virtual machine in Virtualbox gets explicit and full access to that one network only, while my host OS (Windows 7) only uses the other network. I've already set up a basic bridge to said installation of Ubuntu (Settings, Network, Adapter 1), but when testing, Windows also decides to use the same connection Ubuntu is using.

Is there some way to specifically limit the one connection for VirtualBox's use ONLY? I'm at a bit of a loss here.

Thanks in advance! 🙂
 
Last edited:
192.168.1.1 for windows 7 (usb nic)
10.1.1.1 for virtualbox network (pci nic)

separate subnet should do the trick.
 
Windows should use whichever one sets the default gateway, which I'd guess is the second one to come up.

And VMware lets me select which NIC it uses for it's bridge, does VirtualBox not?
 
Windows should use whichever one sets the default gateway, which I'd guess is the second one to come up.

And VMware lets me select which NIC it uses for it's bridge, does VirtualBox not?

It does give you that option, but I want the full bandwidth of that connection exclusively dedicated to Virtualbox.

Unfortunately, setting it as the adapter for VBox doesn't do that, as running a bandwidth test @ Speedtest.net in Windows directly affects torrenting within the virtual Ubuntu.
 
It does give you that option, but I want the full bandwidth of that connection exclusively dedicated to Virtualbox.

Unfortunately, setting it as the adapter for VBox doesn't do that, as running a bandwidth test @ Speedtest.net in Windows directly affects torrenting within the virtual Ubuntu.

Defining proper routes in Windows should fix that, but if not perhaps that's just an inherent problem in the Windows TCP/IP stack then.
 
if you have have two different subnets and are not nat'ing there should be no way traffic would bridge to another network given that each router would have its own default gateway.

my win7 box is connected to clear and comcast right now. in the event once starts to suck i just disable the interface. (comcast has been sucking alot lately 2% packet loss will drive a remote teleworker crazy).

Plus lost power for an hour the other day and the Ispot has 3-4 hours of charge on it always.
 
Back
Top