VirtualBox Host problem
dcurtis at uniserve.com
Sat Oct 4 15:17:26 UTC 2008
Christopher Bianchi wrote:
> hello ! i've correctly set up Ubuntu Server as guest on last version of
> Sun Virtualbox (directly from repository virtualbox).
> Only a problem:
> from the host system, a Ubuntu 8.04 hardy (not server edition, with
> guy), i can navigate, communicate to all, but i can't do only a thing:
> ping outside from lan.
> i'll show you:
> ienabellamy at charlotte:~$ ping www.google.it
> PING www.l.google.com (22.214.171.124) 56(84) bytes of data.
> --- www.l.google.com ping statistics ---
> 10 packets transmitted, 0 received, 100% packet loss, time 9009ms
> So, the portforwarding (for bittorrent, emule etc...) for the HOST os,
> NOT WORKS. So, the portforwarding (server web, ssh, etc..) for the GUEST
> os, WORKS.
> My /etc/network/interfaces is this:
> #LOOPBACK INTERFACE
> auto lo
> iface lo inet loopback
> #eth0 INTERFACE
> auto eth0
> iface eth0 inet manual
> #vbox0 INTERFACE
> auto vbox0
> iface vbox0 inet manual
> tunctl_user ienabellamy
> #br0 INTERFACE
> auto br0
> iface br0 inet static
> post-up chmod 666 /dev/net/tun
> post-ip tunctl -t vbox0 -u ienabellamy
> address 192.168.1.10
> netmask 255.255.255.0
> broadcast 192.168.1.255
> gateway 192.168.1.1
> bridge-ports eth0 vbox0
> bridge-ageing 7200
> bridge-fd 0
> Host and guest MUST use a static ip as you can see.
> Anyone helps would be appreciate!
Read man interfaces. Find the section on 'manual' configuration. If I'm
not completely out in left field here you need to use the 'static'
method (or dhcp for that matter) unless your issuing your own ifup,
More information about the ubuntu-users