VirtualBox Host problem

Christopher Bianchi ienabellamy at gmail.com
Sat Oct 4 16:14:14 UTC 2008


hello David Curtis:
i've changed the section about eth0 from manual to static, as this:

address 192.168.1.10
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1

but, also, not works :-/



On Sat, 2008-10-04 at 11:17 -0400, David Curtis wrote:
> 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 (74.125.39.104) 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, 
> ifdown commands/scripts.
> 
> HTH
> 
> Dave
> 





More information about the ubuntu-users mailing list