[ovs-discuss] Playing with ports

Ben Pfaff blp at nicira.com
Fri Dec 30 18:31:44 UTC 2011


On Fri, Dec 30, 2011 at 05:32:44PM +0000, Mike Bursell wrote:
> When we try to add what seems to be a pretty simple (and hopefully
> well-formed) rule, we get the following:
> 
> # ovs-ofctl add-flow xenbr0 "nw_src=10.80.225.94,actions=move:NXM_OF_TCP_DST[]->NXM_NX_REG0[0..15]"

To match on nw_src, you need to specify that the traffic is IP.  To
use the TCP destination port, you need to specify that the traffic is
TCP.  Just add "tcp," at the beginning of the flow match.



More information about the discuss mailing list