Networking problems

Discussions related to using VirtualBox on Linux hosts.
Post Reply
agharti81
Posts: 1
Joined: 12. Sep 2007, 16:44

Networking problems

Post by agharti81 »

Hi everyone!
I have a Gentoo linux box on my laptop (Centrino), and I installed other distributions with virtualbox.
The problem is that I can have internet access only with Nat configuration, but none with "host interface".

I configured a bridge following this howto: http://gentoo-wiki.com/HOWTO:_VirtualBox

My lan is wireless, 192.168.1.0/24, my router is 192.168.1.1, I have my laptop configured with static IP 192.168.1.11 using a bridge br0 between eth1 (wireless interface) and tap0.

In /etc/conf.d/net I have:

-------------------------
tuntap_tap0="tap"
config_tap0=( "null" )

tunctl_tap0="-u mauro"
bridge_br0="eth1 tap0"
config_eth1=( "null" )
config_br0=( "192.168.1.11/24" )

depend_br0() {
need net.eth1 net.tap0
}

brctl_br0=( "setfd 0")
routes_br0=( "default gw 192.168.1.1" )
-------------------------

In my virtual system I have configured a static ip address 192.168.1.111/24, tried multiple routing gw like 192.168.1.1 or 192.168.1.11 but I can't connect to the internet...
It's not a DNS problem because I used the IP address to connect for example to google or whatever..

I also forgot to say that I can't ping my router at 192.168.1.1 from the hosted system...

I don't know what to do, please.. help! :(

Thanks

Mauro [/url]
Post Reply