> On Jul 18, 2015, at 3:36 PM, Benoit GEORGELIN - Association Web4all 
> <[email protected]> wrote:
> 
> Hi openvswitch community , 
> 
> Since few weeks i'm using OpenVswitch , I'm looking to build a virtual 
> network for lxc containers. 
> I would like to use OpenVswitch to restrict communication on a specific port. 
> 
> In my example I have two containers A and B 
> Each containers are linked to an OpenVswitch Interface ( int-A et int-B ) 
> 
> A have an IP address : 10.0.0.1 configured inside the container
> B have an IP address: 10.0.0.2 configured inside the container
> 
> I would like to allow only destination 10.0.0.1 to int-A and 10.0.0.2 to int-B
> 
> Can I do it this by Openflow ? Any example would be appreciated. 

Yes.  Take a look at the ovs-ofctl man page.  You'll want to look at the 
"nw_dst" match in particular.

--Justin



_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to