On Thu, Jun 05, 2014 at 05:32:47PM +0530, Arpit Kumar wrote:
> Hi all,
> I have machines set up (say m1 and m2) and an external openflow controller
> (say C).
> I have an ovs-switch on m1 which has some flow rules and the machine m2 is
> sending tcp packets to m1 via the ovs switch.
> 
> When the flow rules are
>                         ip, nw_src=<ip of m2>, actions=NORMAL,CONTROLLER
>                         actions=NORMAL
> the tcp packets sent by the m2  and perhaps every ip packet sent by m2 to
> m1 is sent to the controller.
> dump-flows also confirms this as the packets of the first rule is not zero.
> 
> But to filter only tcp packets when i set the flow rules as
>                         tcp, nw_src=<ip of m2>, actions=NORMAL,CONTROLLER
>                         actions=NORMAL
> no tcp packets are detected by the ovs-switch and sent to controller.
> dump-flow shows that no packets are following the tcp rule.


Are you sure you don't have another flow with higher priority
catching the packets?

You can try using 'ovs-appctl ofproto/trace' to see what is
happening with such packet.

fbl

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to