Hi.
Host: Debian GNU/Linux 5.0.2;
Guest: Debian GNU/Linux 5.0.2;
VirtualBox 3.0.10.
How to configure a bridge network that have possibility to use Internet from a guest system? Is it possible in general?
What I did.
1. I installed the uml-utilities and bridge-utils packages on the host system;
2. I included in host's /etc/network/interfaces the next lines:
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0 vbox0
3. I restarted the network:
/etc/init.d/networking restart
4. I created the VB interface including in host's /etc/vbox/interfaces the next lines:
vbox0 <username> br0
5. I restarted the guest network:
/etc/init.d/virtualbox-ose restart
6. I changed the rights for host's /dev/net/tun:
chown root:vboxusers /dev/net/tun
chmod g+rw /dev/net/tun
7. I created /etc/udev/rules.d/20-names.rules in the host system and add the next lines there:
KERNEL=="tun", NAME="NET/%k", GROUP="vboxusers", MODE="0660"
8. I started the VB and set the bridge type for the network and vbox0 for the interface in the configuration.
9. I started my virtual machine and created eth0 in /etc/network/interfaces:
auto eth0
eth0 inet static
address 192.168.1.4
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
10. I restarted guest's network executed /etc/init.d/network restart there.
11. I tested the local network with the ping utility and a simple web-server with a simple application on it. All works OK and I have an access from the host to the guest and vice versa. I can connect to Internet from the host system however I can't make it from the guest.
12. I spended two days searching some information about the problem.
Any help will be welcome.
Thanks.

