Hi,

If I try add a rule as follows:
ovs-ofctl add-flow br-ext priority=1001,ip,in_port="patch-ln-ls_vcn",nw_proto=17,nw_dst=169.254.239.254,udp_dst=53,actions=mod_nw_dst:253.255.0.31,mod_udp_dst=30053,output:"bond0.3900"

I get :
ovs-ofctl: unknown action mod_udp_dst


Yet OVS is quiet happy with:


ovs-ofctl add-flow br-ext priority=1001,ip,in_port="patch-ln-ls_vcn",nw_proto=17,nw_dst=169.254.239.254,udp_dst=53,actions=mod_nw_dst:253.255.0.31,mod_tp_dst=30053,output:"bond0.3900"

So how come I can use udp_dst to match, but have to use tp_dst to modify?
And is the above the same as having:

ovs-ofctl add-flow br-ext priority=1001,ip,in_port="patch-ln-ls_vcn",nw_proto=17,nw_dst=169.254.239.254,tp_dst=53,actions=mod_nw_dst:253.255.0.31,mod_tp_dst=30053,output:"bond0.3900"


Thanks

Brendan
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to