Hi,

If the in_port and out_port are same switch drops it. You should be using 
IN_PORT instead.

Like this :
sudo ovs-ofctl add-flow br0 in_port=1,actions=IN_PORT

Regards,
Venu

From: ovs-discuss-boun...@openvswitch.org 
[mailto:ovs-discuss-boun...@openvswitch.org] On Behalf Of y...@panath.cn
Sent: 10 April 2017 14:19
To: ovs-discuss
Subject: [ovs-discuss] how to configure the flow table about forwarding

Hi everyone,
There is a problem about ovs + kernel, I should how to configure the flow table 
to realize the ovs port 1 in the flow of data from the port 1 forwarded?
     Whether can use the following command:
     sudo ovs-ofctl add-flow br0 in_port=1,actions=output:1


Application scenario:
I want to by modifying the packet destination IP, and then from the source port 
forwarding to go out,
but I found that the above instructions issued after the Linux kernel didn't 
receive the actions.


Best wishes!

________________________________
y...@panath.cn<mailto:y...@panath.cn>
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to