Hi Xavier, I'm using the setup openvswitch+vmware for testing my code. I'm replying because I had a similar problem in understanding the ovs ifaces at the beginning... I'm assuming you've installed ovs within the virtual box vm. The vm has only two interfaces, one of them is the vm's physical interface (eth0) and the other is the bridge iface that would be created by ovs (which can be seen as the "new vm physical interface". Ovs will be between these two interfaces, switching packets that have been sent through them.
I don't know how the usermode ovs works, but used these steps to setup ovs within the vmware vm: - Compile everything - Load the modules - Create the ovs bridge (ovs-vsctl add-br) - Add eth0 to the bridge (ovs-vsctl add-port) and unset it's ip addr (set it to 0.0.0.0) - Set the bridge iface ip addr to the vm's original ip addr. - ping to test. I hope this helps. -- Henrique Rodrigues On Jan 19, 2011, at 9:12 AM, Xavier COUDIN <xavier.cou...@ac-nantes.fr> wrote: > Le 19/01/2011 10:06, Justin Pettit a écrit : >> On Jan 19, 2011, at 12:51 AM, Xavier COUDIN wrote: >> >> >>> There is one thing I cannot understand for the moment. Probably I still >>> need to be more familiar with the ovs concept. >>> I can bind the virtualswitch ( = bridge) to eth0. >>> But I would like to bind also the virtual-machines (that I created inside >>> VirtualBox) to the bridge (or to a fake-bridge). >>> So I am expecting a way to create "pseudo" eth interface(s) in the >>> host-machine, that could appear in the VM-management-console, and that I >>> could bind to the VMs (and also to the bridge). >>> >> This is outside the scope of OVS; it's dependent on your hypervisor to >> create those virtual interfaces. For example, XenServer will create VIFs in >> the hypervisor (e.g., vif1.0, vif2.0), which are then attached to the bridge >> (e.g., xenbr0). I'm not familiar enough with VirtualBox to know what they >> expose. Can you get VirtualBox to work using the standard Linux bridge? A >> "brctl show" will show you which interfaces are connected to which bridges. >> You should then be able to replicate that with appropriate "ovs-vsctl" >> commands. >> >> --Justin >> >> >> > In bridge mode , the VMs (forget about ovs) can use correctly the linux > bridge, and reach internet ressources. > > Now, when we use ovs (I mean, we try to make it work....)...... > the "brctl show" gives no answer : just columns "bridge name bridge id > STP enabled Interface" , but no answer below it. > > > > -- > Xavier COUDIN - coordinateur informatique > Lycée Pays-de-Retz, 44210 Pornic, tel 02 40 82 40 19 poste 167 > Lycée Pro Albert Chassagne, 44560 Paimboeuf, tel 02 40 27 51 72 > gsm 06 80 28 40 53 > > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org