two adpter working same time

Discussions related to using VirtualBox on Windows hosts.
Post Reply
wasi
Posts: 1
Joined: 30. May 2020, 02:15

two adpter working same time

Post by wasi »

help me please

I created a window 7 VM on VirtualBox with two interfaces: a NAT one (for accessing internet) and a host-only one. However, I do not know how to make both interfaces work at the same time. If I the define the host-only as the adapter 1, I can access my VM from the host but not the internet; if I define the NAT one as adapter 1, I can access the internet but cannot reach my guest window 7.

So, how could I make both interfaces work together?

thanks in advance
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: two adpter working same time

Post by BillG »

Enable a second adapter.
Adapter2.PNG
Bill
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: two adpter working same time

Post by mpack »

wasi wrote:If I the define the host-only as the adapter 1, I can access my VM from the host but not the internet; if I define the NAT one as adapter 1, I can access the internet but cannot reach my guest window 7.
VirtualBox provides the hardware. It does not dictate to the guest OS which NIC it should use for particular tasks when more than one is available. I have struggled with the same problem on physical PCs, e.g. how to get Windows to use a faster mobile hotspot WiFi connection rather than the slow ADSL via Ethernet connection. I can't offer suggestions because it depends on what functions you are trying to move onto particular NICs.
Post Reply