[ovs-discuss] how to configure the flow table about forwarding

Venugopal Reddy K venugopalreddyk at huawei.com
Mon Apr 10 08:52:40 UTC 2017


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-bounces at openvswitch.org [mailto:ovs-discuss-bounces at openvswitch.org] On Behalf Of ych at 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!

________________________________
ych at panath.cn<mailto:ych at panath.cn>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170410/5f256844/attachment.html>


More information about the discuss mailing list