[ovs-discuss] UDP packets not dropping

Navneet Singh navneet.singh2012 at gmail.com
Thu Mar 12 06:54:41 UTC 2015


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 <jpettit at nicira.com> wrote:

>
> > On Mar 11, 2015, at 11:36 PM, Navneet Singh <navneet.singh2012 at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150312/e003c59f/attachment-0002.html>


More information about the discuss mailing list