[ovs-discuss] UDP packets not dropping

Justin Pettit jpettit at nicira.com
Thu Mar 12 06:44:25 UTC 2015


> 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





More information about the discuss mailing list