2008/11/4 Rui Santos <rsantos@ruisantos.com>:
Never mind, can you specify hoy do you handle tap devices creation automatically?, custom scripts?.
1) Defined my eth0 to ip 0.0.0.0 ( on YaST ). You can also comment your IP/NETMASK on /etc/sysconfig/network/ifcfg-eth0 2) On /etc/sysconfig/network/ifcfg-eth0 make sure you have LINK_OPTIONS='promisc on' 3) created a bridge device br0 ( on YaST ) and added eth0 as br0 member. br0 is now my "master" NIC. 4) added to tap's for my 2 virtual machines: "/usr/bin/VBoxAddIF tap0 username br0" ( you can also you -g groupname to add to all users ). Also added tap1 5) Added my username to vboxusers group 6) Now the only thing I did not find a easy way to do was that all tap devices need to be set to promiscue mode. SuSE let's you do this but, when vboxnet starts, it reconfigures the tap devices al leave them on a non promiscue state. Here is how I did it: 6.1) At /etc/ini.d/vboxnet search for: ifconfig "$interface" up 2> /dev/null 6.2) and replace it with ifconfig "$interface" up promisc 2> /dev/null
Then just issue: ~# rcnetwork restart ~# rcvboxnet restart
Also get additional hints at: http://en.opensuse.org/VirtualBox
Regards, Ciro
Rui
Hi, thanks a lot for the info. Meanwhile found a way to use NetworkManager :D According to the documentation of VirtualBox you can specify script for automatic tap creation/deletion. Using that (with kdesu -t -c <command>) and previously running network-bridge from xen-tools (which renames eth# to peth# and the bridge to eth#), I can use bridging with VirtualBox and I am still able to use NM!!. For general use one would run /etc/xen/scripts/network-bridge at some point of the boot process, but as I sometimes use xen (which already runs this) I prefer to run it manually (once) before launching VirtualBox. Regards, Ciro -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org