[ovs-discuss] Grouping GRE interfaces' flow with tun_id

Jesse Gross jesse at nicira.com
Tue Jun 21 03:09:51 UTC 2011


On Mon, Jun 20, 2011 at 8:05 PM, el05682 <el05682 at mail.ntua.gr> wrote:
> While the connectivity works fine I was considering to add a flow based on
> the gre key. I actually
> want to group the ifaces with the same gre key so I was thinking something
> like
> #ovs-ofctl add-flow br0
> tun_id=1,idle_timeout=0,priority=1,actions=set_tunnel:1,normal
> (I want normal action in order to preserve L2 lookups)
>
> The rule is created but there are no packets "caught". They always "fall
> into" to the default rule.
> Am i doing something wrong? I, also, noticed a message NXST_FLOW reply
> (xid=0x4) when I run dump-flows.
> Is it related to the problem?

You need to set the key on the port to be "flow", otherwise the key is
considered to be a property of the port itself and the tun_id is
zeroed.



More information about the discuss mailing list