[ovs-discuss] Playing with ports

Mike Bursell mike.bursell at citrix.com
Fri Dec 30 11:01:10 PST 2011


Thanks - we'll give that a go!

-Mike.
--
Mike Bursell.


Ben Pfaff <blp at nicira.com> wrote:


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20111230/9bb9791a/attachment.htm>


More information about the discuss mailing list