[ovs-discuss] packet flow cannot be detected

BALL SUN paulrbk at gmail.com
Mon Oct 16 03:32:14 UTC 2017


Hi

I am using OVS+DPDK to before a dedicated packet routing on a Linux box.

My setup is shown below

10.10.0.240 <--------> (10.10.0.236) OVS (10.10.10.236) <------> 10.10.10.229

flow1: ovs-ofctl  add-flow x1 "table=0, priority=121, dl_type=0x0800,
nw_proto=17, nw_dst=10.10.0.236, tp_dst=21213, in_port=1,
nw_dst=10.10.0.229, actions=mod_nw_dst=10.10.10.229, goto_table=10"

flow2: ovs-ofctl  add-flow x1 "table=0, priority=121, dl_type=0x0800,
nw_proto=17, nw_src=10.10.10.229, tp_src=21213, in_port=1,
actions=mod_nw_dst=10.10.0.236, goto_table=10"

we have try to send packet to 10.10.0.236 from 10.10.0.240, and we
observed it hits the 1st flow, but when the packet is returned from
10.10.10.229 to 10.10.0.240, it never hits the second, any idea why?

on host 10.10.10.229, we see the packet request and response as below.

11:31:33.145886 IP 10.10.0.240.21213 > 10.10.10.229.21213: UDP, length 120
11:31:33.146293 IP 10.10.10.229.21213 > 10.10.0.240.21213: UDP, length 84


More information about the discuss mailing list