VirtualBox network connectivity
Bruce Marshall
bmarsh at bmarsh.com
Thu Nov 29 16:46:14 UTC 2007
On Thursday 29 November 2007, Bruce Marshall wrote:
> On Thursday 29 November 2007, Alain Muls wrote:
> > Hi
> >
> > I installed VirtualBox and winxp as a guest. I need this for a program
> > that only runs on Windoze.
> > I cannot get the internet connectivity in the guest OS though I tried
> > using with all available options for netwworking in the virtual machine.
> > I also tried out the approach from
> > http://www.virtualbox.org/wiki/Automatic_Bridge_Ubuntu
> >
> >
> > but get the error at the launch of the cirtual machine
> >
> > VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED)
> >
> > If I disable the network interface, than windozexp starts up.
>
> I just went through this and got it working for the most part.
>
> Here's a script I call 'bridge' and you can fire it up before or during
> running of VBox.
>
> By the way, I got this from a site at:
>
> http://samiux.wordpress.com/2007/07/11/bridge-network-interface-on-virtualb
>ox/
>
> I had to modify it slightly as you will see from my comments at that site.
>
> =================== bridge
> #!/bin/sh -x
>
I should have added that you'll have to change this to your situation:
In the script shown:
192.168.0.3 is the ip of the host for virtualbox
0.0.0.0 stays as is.
192.168.0.192 is the default gateway for the VB host
More information about the ubuntu-users
mailing list