On Apr 29, 2011, at 9:20 AM, Ben Pfaff wrote: > On Fri, Apr 29, 2011 at 08:44:09AM -0400, monami sinha wrote: >> I am running ovs-vswitchd and I have setup a bridge where both rx and tx >> traffic on one port (say vif0) >> is being mirrored to an output port (say vif4). This configuration was done >> using ovs-vsctl. This mirrors >> all rx and tx packets on vif0 to vif4. However, I am interested in not >> mirroring all traffic on port vif0 but only >> traffic which matches some filter criteria (arbitrary combination of L2 and >> L3 headers). I want to filter >> only the mirrored traffic. The normal traffic to/from vif0 shouldnt be >> affected. >> >> Is this possible using ovs-ofctl or any other means? Any help/pointers on >> this question will be greatly appreciated. > > You can write OpenFlow flows that do this, but short of that OVS > doesn't have any special support for it.
Just to be a bit more specific, you could do this with "ovs-ofctl add-flow" commands where you specify multiple output ports in the action list. --Justin _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
