[ovs-discuss] question about flow based tunneling

俊 赵 zhaojun12 at outlook.com
Tue Mar 1 04:24:43 UTC 2016


Hi, all
I have a question about flow based tunneling.
In VM, I add a flow based tunnel port using "ovs-vsctl add-port wan-br tunnel -- set interface tunnel ofport-request=2 type=gre options:remote_ip=flow options:key=flow"
And add the following flow rule "cookie=0x0, duration=2950.033s, table=0, n_packets=2381, n_bytes=233338, idle_age=547, ip,tun_id=0x1389,tun_src=52.193.10.12,in_port=2,nw_src=10.0.1.0/24,nw_dst=10.0.3.0/24 actions=set_tunnel:0x1389,load:0x3421e8c7->NXM_NX_TUN_IPV4_DST[],output:2"
The VM receives tunnel traffic from 52.193.10.12 and redirect the traffic to 0x3421e8c7 using gre tunnel.
As above shows, the VM has received the traffic, but without redirecting, because I do not capture traffic with dest ip = 0x3421e8c7.
So I want to ask what is wrong with the above command I used?
Thanks!

Zhao Jun 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160301/18782dc2/attachment-0002.html>


More information about the discuss mailing list