[ovs-discuss] dl_src field didn't function

Kmindg G kmindg at gmail.com
Thu May 22 08:12:39 UTC 2014


On Thu, May 22, 2014 at 3:21 PM, chen zhang <3zhangchen9211 at gmail.com> wrote:
> hi, everybody
>      this is my table entry:
> fnl at fnl-sdn:~$ sudo ovs-ofctl dump-flows s1 -O OpenFlow13 table=1
> OFPST_FLOW reply (OF1.3) (xid=0x2):
>  cookie=0x0, duration=68.077s, table=1, n_packets=13, n_bytes=962,
> tcp,dl_vlan=3,tp_dst=80 actions=drop
>  cookie=0x0, duration=68.077s, table=1, n_packets=0, n_bytes=0,
> tcp,dl_vlan=3,dl_src=00:00:00:00:00:01,tp_dst=80 actions=goto_table:2
>
>
> the first entry works well,while the second which is more specified with
> dl_src field didn't catch the pkts from host 00:00:00:00:00:01 in vlan 3,and
> the pkts is matched by the first entry.
> how did it come?and what should i do to make it correct?
>
Those two flows have the same priority, so packets match one flow arbitrarily.
In this case, you should specify higher priority to the second flow
than the fisrt one.
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list