Guest in different domain

This is for discussing general topics about how to use VirtualBox.
Post Reply
Tovam
Posts: 4
Joined: 3. Mar 2011, 01:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: XP

Guest in different domain

Post by Tovam »

I have two networks on my host.
One is my eth0 connection to the internet. The other is my wlan0 to a domain.

I want to be able to surf freely on my host pc (Ubuntu), while the applications on my guest (Windows 7) have access to the domain. I figured this should be possible by letting my guest only use my wlan0 interface, but how would I do this?
NAT doesn't allow me to specify an interface, and bridge doesn't seem to work well with domains. I'm not sure what the other network options accomplish.

Is there a way to get what I want?
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: Guest in different domain

Post by BillG »

What problem do you foresee with bridged mode and a domain? How does the guest see the domain network now if it is not bridged to a NIC in the domain network?

I can see no reason why the guest could not bridge to the wireless network and the host access the Internet through the wired ethernet NIC.
Bill
Tovam
Posts: 4
Joined: 3. Mar 2011, 01:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: XP

Re: Guest in different domain

Post by Tovam »

I think you're right. Bridging my wlan0 adapter could probably solve the problem. But it is giving problems of its own.

I did some research, and it seems more people had problems with putting wireless adapters in bridge. I am now trying to solve that part, but it doesn't work yet; I don't even have an internet connection on the guest machine. Setting the wlan0 adapter in promiscuous mode didn't seem to help.

I shall try to look for a solution, but any advice on how to solve this new issue is appreciated.
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: Guest in different domain

Post by BillG »

It is true that wireless NICs cause more problems for vm networking than wired ones, but most will work OK. Have you checked that you have the latest driver installed in the host for that NIC? The bridge filter driver has to work with the device driver in the host OS to get bridged networking going.

Is there any reason why you cannot use the wired NIC for you domain connection and the wireless one for your LAN connection?
Bill
Post Reply