Hi Jesse, Could you elaborate a little on that? I did not exactly get that. The vms within different containers can have the same ip addresses. For eg, lets say container 1 C1 has vm 1. Container 2 C2 also has vm 2. Now,I have another host with 2 containers as well, C3 AND C4, both of which have a vm 3 and vm4 respectively which have the same ip addresses. Now, I want all packets going from C1 to go to C3 and from C2 to go to C4. When I configure flows for this within the root namespace, I will have 2 flows for destination address of vm3/vm4, one of them saying that any packet destined for this address should go to C3 and the other saying packet destined to this same address should go to C4. This is my confusion. How will this work?
Thanks, Aish On Thu, Sep 29, 2011 at 8:17 PM, Jesse Gross <[email protected]> wrote: > On Thu, Sep 29, 2011 at 8:11 PM, Aishwarya <[email protected]> wrote: > > Hi, > > > > I am trying to run openvswitch and vms within linux containers. I am > > separating out the network and mount spaces within the container, so that > I > > can reuse ip addresses for the vms within the container. So, what I need > is > > that the openvswitch running in one container should not see the flows > > configured in the openvswitch running in the other container. Does > > openvswitch support this kind of setup (considering that the flows are > > ultimately written into the kernel module, which is going to be identical > > for both containers) or can we configure it in some way to have this > > property? > > No, it does not support running separate instances of Open vSwitch > within different namespaces. However, most people with this type of > setup actually want to run OVS in the root namespace to switch between > the VMs, which should work. >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
