Hi, By reading the manual, I found OVS started to support setting tunnel headers dynamically with flow rules. However, it seemed the flow-based tunnel not working properly. I'm wondering what is the right procedure to use the flow-based tunneling feature?
Looking forward to your reply. Many thanks! Jian Qiu ------------------------ The test was done with OVS 2.1.2. Here are the setup scripts: On one host: sudo ovs-vsctl add-br brgre sudo ovs-vsctl add-port brgre gredev0 -- set interface gredev type=gre ofport_request=1 options:remote_ip=flow options:local_ip=flow options:key=flow sudo /sbin/ifconfig brgre 10.0.0.1 netmask 255.255.255.0 sudo ovs-ofctl add-flow brgre "in_port=LOCAL priority=10000 actions=set_field:192.168.0.2->tun_dst,set_field:192.168.0.1->tun_src,set_tunnel:1,output:1" sudo ovs-ofctl add-flow brgre "in_port=1 tun_src=192.168.0.1 tun_id=1 priority=1000 actions=LOCAL" The scripts on the other host were similar except the IP addresses. Tcpdump showed the packets could be sent out properly but they did not show up on gredev0 on the other side.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss