Bridged connection W7<->W7, how to do ?

Discussions about using Windows guests in VirtualBox.
Post Reply
archfiend
Posts: 2
Joined: 22. Aug 2011, 16:28
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: Windows 7

Bridged connection W7<->W7, how to do ?

Post by archfiend »

Hi,

I'd like to set a bridged connection between two W7 OS, one in VM and one Host.

I've selected bridged connection.
Then in the "Name" selection list, I select the wireless card.

There is no "Attached to" section as stated in the manual.

The guest is connected to a network called "Reseau 2" (meaning "Network 2") but is indicating "no internet access".

I have a router but in my host I have no need to specify specific gateway or DNS.

NAT is working properly, but I need a bridge connection, how can I make it work please ?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Bridged connection W7<->W7, how to do ?

Post by Sasquatch »

Is your Host connect to wifi? You have to select the Host interface that you use to connect to the rest of the network, else the Guest can't access it. If you just want Host <=> Guest communication, you can use Host-Only too. Make sure you disable the Windows firewall on that interface, else it can interfere with proper communication.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
archfiend
Posts: 2
Joined: 22. Aug 2011, 16:28
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: Windows 7

Re: Bridged connection W7<->W7, how to do ?

Post by archfiend »

I'd like the VM to access Internet, and yes the wireless card is chosen when connected wireless.

More precisaly I'm connected to a router with a static IP on LAN. It's set with DNS to be forwarded to the router of my ISP (static IP too of course). First router is 192.168.2.1, ISP router is 192.168.1.20 . I don't need any particulliar settings on my computer to access the Internet, bun I can't access first router (it fonctions "like" a switch).

I tried to disable Windows Firewall, but I did'nt gain any access to the Internet.

I hope this informations will help you to help me.
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: Bridged connection W7<->W7, how to do ?

Post by BillG »

archfiend wrote:Hi,

I'd like to set a bridged connection between two W7 OS, one in VM and one Host.

I've selected bridged connection.
Then in the "Name" selection list, I select the wireless card.

There is no "Attached to" section as stated in the manual.

The guest is connected to a network called "Reseau 2" (meaning "Network 2") but is indicating "no internet access".

I have a router but in my host I have no need to specify specific gateway or DNS.

NAT is working properly, but I need a bridge connection, how can I make it work please ?
If you have selected the bridged adapter option, you are already past the "Attached to" option. That is the name on the dropdown list where you select the bridged adapter. The next option is "Name" where you select your adapter to bridge to. If you only have one NIC, that is your only option.

After you select your wireless NIC as the NIC to bridge to, the other heading you can select is "advanced" which will give you details of the virtual NIC in the guest machine.

If everything works properly, your guest should automatically get a 192.168.1 x address from DHCP on the router when you boot it, just as the host OS does. Have you checked to see what network config the guest OS is showing? If it is getting an APIPA (169.254.x.y) address, DHCP is failing and you will not get Internet access. It might work if you manually configure a 192.168.1.x address in the guest. Make it exactly the same as the config which the host gets from DHCP (except fo the last group of the IP address).
Bill
Post Reply