Virtual Box network settings help

Soldato
Joined
15 Nov 2008
Posts
5,060
Location
In the ether
Hi,

I have a vritual machine (VirtualBox - Windows Host - Linux Client) running Apache and I want to be able to connect to the Linux Client via the Host.

Can anyone help me achieve this pelase?

Thanks

Dstat
 
You need to forward the ports that you want to connect on. See here:
http://www.linuxjournal.com/content/tech-tip-port-forwarding-virtualbox-vboxmanage

how bizarre. :confused:

setting the adapter to bridged mode is far easier. :p

now the host/guest can talk to each other as if they were on a real network. just remember the guest needs to be configured with ip details in the same range as the host. if you have a router with dhcp enabled, you don't need to do a thing. the guest will pick this up.
 
how bizarre. :confused:

setting the adapter to bridged mode is far easier. :p

now the host/guest can talk to each other as if they were on a real network. just remember the guest needs to be configured with ip details in the same range as the host. if you have a router with dhcp enabled, you don't need to do a thing. the guest will pick this up.

Bridged connection didn't work, the guest couldn't get a network connection, and the router has DHCP enabled :(
 
well it works fine for me. but then i have both windows hosts and guests. i know nuffin about linux. :p

are you running the latest version of virtualbox? i remember the old versions required much faffing about to get bridged networking running. but in the current version all you need to do is change the option on the VM configuration screen. obviously you need to make sure your real network card is listed in the "name" bit and that's it.

vbox.png
 
Last edited:
I'm running version 3.0.4r50677 yeah that's exactly what my config screen looked like when I tried the bridged networking thingy, though obviously my name had my nic rather than yours.
 
i assume the guest has loaded drivers ok for the "virtual" hardware? try configuring the ip details manually? other than that, i have no ideas at all. sorry. :p

BTW, 3.0.6 is the latest version. i'm not sure if that makes any difference though.
 
I found that on a linux gust configuring the network worked.
I wouldn't just expect it to work.
 
Back
Top Bottom