VirtualBox Host problem
k5di at zianet.com
Sat Oct 4 14:35:36 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 (220.127.116.11) 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!
Chances are good that your computer can't see a dns so it can't
figure out the IP address of things. Try this:
and see if it works. This is the ip for yahoo.com :-)
If it fails you have a networking problem.
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users