[ovs-discuss] tag option for port and openflow dl_vlan filter

Gregory Rose gvrose8192 at gmail.com
Wed Mar 11 16:12:46 UTC 2020


On 3/9/2020 2:02 PM, George Shuklin wrote:
> Hello everyone.
>
> I found that if I create a port with tag (ovs-vsctl add-port br0 port0 
> tag=xx), than I can't match this port in openflow rules, e.g. rule 
> like this does not work:
>
> ovs-ofctl add-flow br0 "in_port=port0,dl_vlan=xx actions=DROP"
>
> I suspect that "tag" does not actually append vlan fields to the 
> packet. Am I right? If so, is there a way to force OVS to write this 
> bloody tag for real?
>

Hi,

There are situations in which adding the tag isn't sufficient.  Here is 
the FAQ for VLANs in OVS.

http://docs.openvswitch.org/en/latest/faq/vlan/

I'm not sure of all your other network configurations so I can't be more 
specific.

- Greg

> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss



More information about the discuss mailing list