Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
toh:tp-link:archer_c2_ac750 [2022/06/26 21:17] – [Switch] Add information about the 21.02 regression to the default switch configuration and instructions on how to work around it znarktoh:tp-link:archer_c2_ac750 [2022/06/29 14:20] – [Switch] Add more details about using VLAN IDs above 31 in the outer switch configuration znark
Line 211: Line 211:
 Earlier versions of this article suggested “the driver for OpenWrt” (for the RTL8367R(B) switch chip) would have limited the range of usable 802.1q VLAN IDs to 1 – 31. Earlier versions of this article suggested “the driver for OpenWrt” (for the RTL8367R(B) switch chip) would have limited the range of usable 802.1q VLAN IDs to 1 – 31.
  
-While this may have been true for some earlier builds (could not confirm immediately), OpenWrt 21.02.3 (at least) no longer seems to suffer from such limit.+While this may have been true for some earlier builds (could not confirm immediately), OpenWrt 21.02.3 (at least) no longer seems to suffer from such //hard// limit. There is still a //soft// limit which, for some reason, makes VLAN IDs above 31 unusable and non-working by default, but you can override this limit and use the full range of VLAN IDs by setting the ''enable_vlan4k'' option to ''1'' in the ''switch1'' section of the ''/etc/config/network'' configuration file, as follows: 
 + 
 +<code> 
 +config switch 
 +        option name 'switch1' 
 +        option reset '1' 
 +        option enable_vlan '1' 
 +        option enable_vlan4k '1' 
 +</code> 
 + 
 +If you edit the switch VLAN configuration in LuCI, it may add the ''enable_vlan4k'' configuration directive automatically for you. But for manual edits, you need to do it yourself to be able to get the higher-numbered VLAN IDs work.
 </WRAP> </WRAP>
  
  • Last modified: 2024/02/13 16:08
  • by jow