Hi Justin, I changed the command as per your recommendation to
> ovs-ofctl add-flow br0 > dl_type=0x0800,nw_proto=17,priority=15,udp_src=5001,actions=drop > The flows are not matching when I'm sending traffic through iperf udp. On Thu, Mar 12, 2015 at 12:14 PM, Justin Pettit <jpet...@nicira.com> wrote: > > > On Mar 11, 2015, at 11:36 PM, Navneet Singh <navneet.singh2...@gmail.com> > wrote: > > > > Hi all, > > > > I need to drop udp packets from the client usinf iperf. I am using this > command > > > > ovs-ofctl add-flow br0 > dl_type=0x0800,nw_proto=17,udp_src=5001,actions=drop > > > > Dump flows shows > > > > ovs-ofctl dump-flows br0 > > NXST_FLOW reply (xid=0x4): > > cookie=0x0, duration=31.648s, table=0, n_packets=0, n_bytes=0, > idle_age=31, udp,tp_src=5001 actions=drop > > cookie=0x0, duration=59.685s, table=0, n_packets=2592, n_bytes=751977, > idle_age=0, actions=NORMAL > > > > I tried to change udp_src to tp_src, but there is no change in the issue. > > The flow looks fine other than you didn't set a priority. I think those > two flows will conflict, so it's arbitrary which one will be chosen. > > --Justin > > >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss