Sharing network From Guest OS

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Switha
Posts: 1
Joined: 10. Mar 2013, 20:01

Sharing network From Guest OS

Post by Switha »

Hi,
I'm getting an external wifi card for my mbp, and need to know if its possible to share the internet connection that was established inside the guest os using the external wifi card to the host OS. The problem is that the Realtek 8187L chipset isn't supported, but one of the best cards on the market - Alpha AWUS036H has ...
I currently don't have any working external card to test it with so I'll be extremely grateful for an answer. Also, as for the OS I'm assuming it doesn't matter, but if it does, I'd be using either Win7,8 or BackTrack 5.
Thank you very much,
Switha

P.S. I did a short search through the forums and didn't find anything, its possible something is there, but I didn't find it... So if this was already answered please do link me.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Sharing network From Guest OS

Post by noteirak »

Yes it is possible, but requires some networking knowledge and will not be dummy proof...

I can see two ways of doing this :
1. Create another NIC in the VM and bridge it to your ethernet port. Give a static IP to the guest and use that IP as a gateway for the host
2. Create a host-only NIC in the host, select host-only mode for the guest using that internface, give a static IP to the guest on that NIC, and add a default route to that static IP on the host (do NOT set a gateway on the host-only NIC on the host)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
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: Sharing network From Guest OS

Post by mpack »

I have my doubts whether this will work reliably. Assuming that "external" means a USB dongle, these don't always cope well with the latencies of a VM. However if you can get the USB side to work reliably then of course the NIC can be shared over a network just like a physical PC could do it.
Post Reply