[ovs-discuss] VLAN mode=dot1q-tunnel and tags in OVS

Eric Garver eric at garver.life
Fri Nov 16 14:00:30 UTC 2018


On Thu, Nov 15, 2018 at 03:49:53PM -0800, Sim Paul wrote:
[..]
> My concerns are:
> 1. Shouldn't setting vlan-limit=0, tag=10 push tag=10 on all packets
> leaving VM1 and i should see tag=10 in tcpdump.
> 2. Does setting vlan-limit=0 mean i can push unlimited tags on the packet ?
> How can i test this ?

No. That's not what it means. You can't push more than the datapath
supports.

See "vlan-limit" in the ovs-vswitchd.conf man page:

    http://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html

    "Value  0  means  unlimited.  The actual number of supported VLAN
    headers is the smallest of vlan-limit, the number of VLANs sup‐
    ported by  Open vSwitch userspace (currently 2), and the number
    supported by the datapath."


More information about the discuss mailing list