I used a BPI-R1 so far and was able to set up VLANS there. Now I have bought a BPI-R2 but have problems with the VLAN configuration.
In Luci im getting the message: “Switch switch0 has an unknown topology - the VLAN settings might not be accurate.”
in console: swconfig list -> empty list
To me it looks like the right hardware cannot be found. According to the image description, VLANS should be supported by this kernel version. Does anyone have a tip for me?
OpenWrt 21.02.0-rc1 r16046-59980f7aaf / LuCI openwrt-21.02 branch git-21.124.26172-1a59584 Kernel: 5.4.111
Thx Termina
excerpt from the network file
...
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vid '1'
option vlan '1'
option ports '8t 4 0t'
config switch_vlan
option device 'switch0'
option vid '9'
option vlan '105'
option ports '8t 0t 3'
config switch_vlan
option device 'switch0'
option vid '2'
option vlan '102'
option ports '8t 0t'
config interface 'Management'
option proto 'static'
option netmask '255.255.255.0'
option delegate '0'
option ipaddr '192.168.5.253'
option ifname 'lan3'
config interface 'LAN'
option proto 'static'
option netmask '255.255.255.0'
option delegate '0'
option ipaddr '192.168.3.253'
option ifname 'lan1'
option gateway '192.168.2.1'