Re: [ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread Yi-Hung Wei
>From ovs-ofctl(8), in the session of ct(nat). "nat was introduced in Open vSwitch 2.6. The first datapath that implements ct nat support is the one that ships with Linux 4.6." I think you might want to install openvswitch-datapath-dkms package after ovs 2.6, or use upstream openvswitch kernel mo

Re: [ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread abhijit herekar
Looks, like I was giving a wrong command, I corrected it now and did the following: #ovs-ofctl add-flow s1 "ct_state=+new,icmp,in_port=1, actions=ct(commit, zone=1, nat(src=10.0.0.240))" I get the OFPT_ERROR, which means the cmd is not supported, so I guess the OVS which I am using doesnt support

[ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread abhijit herekar
hi, I new to the OVS connection tracking, I am trying to add the following flow and get the ERROR #ovs-ofctl add-flow s1 "in_port=1, actions=ct(commit, nat(src=10.0.0.240-10.0.0.254))" #ovs-ofctl: actions are invalid with specified match (OFPBAC_MATCH_INCONSISTENT) I am not able to figure out wh