Hi, I'm using openvswitch 1.4.0 version on my linux machine. I'm trying to match a layer 3 packet using the flow syntax mentioned below in this email. The main requirement was to match a packet with protocol id as 6 (TCP) and 17 (UDP). I'm expecting the traffic to this destination can be either a tcp or udp.
ovs-ofctl add-flow br0 priority=65500,in_port=LOCAL,dl_type=0x0800,nw_proto="6,17",nw_src=ANY,nw_dst=30.0.0.13 I tried many combinations I wasn't able to make the following cli work. root@pc351:/users/aakella# sudo ovs-ofctl add-flow br0 priority=65500,in_port=LOCAL,dl_type=0x0800,nw_proto="6,17",nw_src=ANY,nw_dst=30.0.0.13,actions=enqueue:1:2 ovs-ofctl: unknown keyword 17 root@pc351:/users/aakella# sudo ovs-ofctl add-flow br0 priority=65500,in_port=LOCAL,dl_type=0x0800,nw_proto=6-17,nw_src=ANY,nw_dst=30.0.0.13,actions=enqueue:1:2 ovs-ofctl: 6-17: bad syntax for nw_proto Could please let me correct syntax. Thanks in advance. Thanks, Anand _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss