[ovs-discuss] icmp packet

Lilin (pineorange, IT) focus.lilin at huawei.com
Mon Mar 23 03:54:48 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. As Follows:

root at it_207:~# ovs-ofctl add-flow br-int -O OpenFlow10 "table=0,priority=44,icmp,ip_dst=, 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?


Li Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150323/3729a96d/attachment-0002.html>

More information about the discuss mailing list