jeffsf
3
One “gotcha” is that many switches under GL.iNet or OpenWrt firmware use a “VLAN table” so you have to explicitly specify the VLAN tag (“vid”) over the limit. Depending on device, that commonly can be 16 or 128.
I haven’t checked on the Brume (and Ubuntu is configured completely differently from GL.iNet / OpenWrt), but, here from a different device is how you can tell (this device has a table of 128 entries):
jeff@garage:~$ swconfig list
Found: switch0 - mdio-bus.0
jeff@garage:~$ swconfig dev switch0 help
switch0: mdio-bus.0(Atheros AR8327), ports: 7 (cpu @ 0), vlans: 128
--switch
Attribute 1 (int): enable_vlan (Enable VLAN mode)
Attribute 2 (none): reset_mibs (Reset all MIB counters)
[...]
So, for this device, VLAN 128 or higher would need the vid explicitly specified.
Some good rules of thumb are:
- VLAN 1 or VLAN 2 are typically used by GL.iNet / OpenWrt “stock” config – be careful with them
- Many consider mixing tagged and untagged packets on the same wire poor practice
1 Like