We'll just work on these two... you'll see the 'recipe' and you can continue the process with all the other VLANs.
I'd recommend that you only do one or two of these at first to make sure you've got it right... once you've proven it, feel free to go wild with the rest of them.
Start by deleting all of this:
Delete the last line (vlan_filtering) from br-lan:
Now, create bridge-VLANs:
config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'lan1:u*'
list ports 'lan2:u*'
list ports 'lan3:u*'
list ports 'lan4:u*'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'lan1:t'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
config bridge-vlan
option device 'br-lan'
option vlan '337'
list ports 'lan1:t'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
Edit your main lan interface to use br-lan.1
(instead of just br-lan
)
config interface 'lan'
option device 'br-lan.1'
option proto 'dhcp'
Now, create unmanaged interfaces for the other VLANs:
config interface 'vlan10'
option device 'br-lan.10'
option proto 'none'
config interface 'vlan337'
option device 'br-lan.337'
option proto 'none'
Finally, create your SSIDs and attach them to networks vlan10
and vlan337
(obviously feel free to name the network interfaces differently -- the important part is the bridge-vlans as defined.)