• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3667
  • Last Modified:

How do I share my internet connection with VirtualBox?


I'm trying to share my internet connection (connected by wifi) in Windows XP SP3 with a Windows XP SP2 virtualized in VirtualBox.

I've got a previous experience with VMWare, for which the network sharing was made automatically, and I'm a bit confused here with VirtualBox.

I tried to select the private host network in the VM setting but I've got limited connectivity (probably due to an IP address conflict). So I created a new private host network connection from the VirtualBox settings, and I then made a bridge with my active local network connection, to use it with the NAT mode, but it still doesn't work.

Could somebody help me please?
1 Solution
Do you want the guest to be able to connect to the host for local networking and to use the host as a gateway for the guest? I guess you should select internal host network in the VM (now called bridged network  as of v2.2).

Then you could set up internet connection sharing on the host, to route traffic coming from the Virtualbox TAP Adapter, if it's the host that directly connects to the Internet.

The bridge with the local network is useful for allowing the guest to access other computers at your network. This is the best choice if the NAT is done by a separate router.
JulienVanAuthor Commented:
I don't know why but I've installed VirtualBox on an other computer, and my internet connection is now shared automatically with my virtualized system...
New version of virtualbo does it automatically

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now