On 14/05/2007, at 8:31 AM, Richard Terry wrote:
Well horst, since you've obviously installed it can you write a
HOWTO for
lesser mortals to get the (non NAT) networking going between linux
and the
virtual machine.
I've tried various instructions on how to set up tap/bridging etc
all to no
avail!!!!!!!!!!!!!!!!!
Richard I have this working and it wasn't difficult.
A couple of gotchas - you need some utilities:
# apt-get install uml-utilities bridge-utils
You need to write to /dev/net/tun :
# chown pedro /dev/net/tun
Add the virtual interface and bridge to /etc/network/interfaces:
# cat /etc/network/interfaces
auto tap0
iface tap0 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE 0.0.0.0 down
tunctl_user pedro
auto br0
iface br0 inet dhcp
bridge_ports all tap0
OK, in English. I have an eth0 that is a static IP with a router
supplying DHCP as it's gateway.
tap0 is the virtual interface and is set to no IP.
br0 is the bridge and gets it's IP from DHCP (on the router).
Host networking in virtualbox is simply supplied with the interface
name: tap0
The IP address is configured as usual in the guest Linux, using what
it sees as eth0 and is on the same subnet as both the bridge and the
real interface.
Have I lost you yet? Working for me, loosely following the virtualbox
user manual.
As I thought, nothing but VMWare allows for snapshots on the fly.
However, tonight I'm learning about LVM which will allow me to
snapshot the whole partition on the fly very quickly, so I'll
continue to use Xen and virtualbox and get some comparisons on speed.
cheers,
Peter.
_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk