On 01/03/2007 05:55, Alexey Eremenko wrote:

> The only problem is that bridging works to outside world, but not
> between Host and Guest.
> 
> Can someone help me out with this ?

I have set up full networking between guest and host and between the guest and
the outside world.
I have a linux host and winXP guest and this is how I set up networking:

on the host

modprobe tun
tunctl -t tap0 -u <your_user>
ifconfig tap0 10.0.2.2 netmask 255.255.255.0
iptables -t nat -A POSTROUTING -s 10.0.2.0/24 -o eth0 -j SNAT --to <your.IP>
chmod 666 /dev/net/tun


then in virtualbox I use "host interface" and tap0 as interface name and in the
guest I configure manually the network adapter (I use 10.0.2.15 netmask
255.255.255.0, default gateway 10.0.2.2), add your dns and you're set!

It works like a charm for me: I can connect to the internet from the guest and
I can also connect between the host and the guest using samba.


Hope it helps.

Ciao,
Piero

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to