[ovs-discuss] Consultation : Does OVS(OpenFlow1.3+nicira) support modifing TYPE and CODE items in icmp packet?
Lilin (pineorange, IT)
focus.lilin at huawei.com
Mon Mar 23 04:01:06 UTC 2015
Recently I had a problem when I tried to set NXM_OF_ICMP_TYPE and NXM_OF_ICMP_CODE items in ip packet by adding flow-entries on ovs bridge. I used OpenFlow 1.3 as the OpenFlow version. The add flow command and returned errors are as Follows:
root at it_207:~# ovs-ofctl add-flow br-int -O OpenFlow10 "table=0,priority=44,icmp,ip_dst=192.168.1.16, actions=move:NXM_OF_ETH_SRC->NXM_OF_ETH_DST,mod_dl_src:fa:16:3e:6b:1e:60, load:0x08->NXM_OF_ICMP_TYPE,load:0x00->NXM_OF_ICMP_CODE, move:NXM_OF_IP_SRC->NXM_OF_IP_DST, load:0xc0a80110->NXM_OF_IP_SRC,IN_PORT"
2015-03-19T11:01:22Z|00001|meta_flow|WARN|destination field icmp_type is not writable
ovs-ofctl: actions are invalid with specified match (OFPBAC_BAD_SET_ARGUMENT)
My OVS version is 2.3.90:
root at it_207:~# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.3.90
Compiled Mar 5 2015 10:31:02
DB Schema 7.7.0
I want to know that, does OVS support modifing TYPE and CODE items in icmp packet? If not, is there any other methods that I can achieve my destination?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss