you could try this config as basic / starting point
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config device
option type 'bridge'
option name 'switch'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config bridge-vlan
option device 'switch'
option vlan '1'
list ports 'lan1:u*'
list ports 'lan3:u*'
config bridge-vlan
option device 'switch'
option vlan '5'
list ports 'lan3:t'
config bridge-vlan
option device 'switch'
option vlan '25'
list ports 'lan1:t'
list ports 'lan3:t'
config bridge-vlan
option device 'switch'
option vlan '66'
list ports 'lan3:t'
config bridge-vlan
option device 'switch'
option vlan '100'
list ports 'lan1:t'
list ports 'lan3:t'
config interface 'vlan1'
option proto 'static'
option device 'switch.1'
option ipaddr '10.0.1.254'
option netmask '255.255.255.0'
config interface 'vlan5'
option proto 'static'
option device 'switch.5'
option ipaddr '10.0.5.254'
option netmask '255.255.255.0'
config interface 'vlan25'
option proto 'static'
option device 'switch.25'
option ipaddr '10.0.25.254'
option netmask '255.255.255.0'
config interface 'vlan66'
option proto 'static'
option device 'switch.66'
option ipaddr '10.0.66.254'
option netmask '255.255.255.0'
config interface 'vlan100'
option proto 'static'
option device 'switch.100'
option ipaddr '10.0.100.254'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'dhcp'
modify IP addresses to your need
untagged (native/access) vlan1 is on both lan1 & lan3
when you get running you OWRT, then you need to adjust wireless & firewall
wireless interfaces are NOT configured in /etc/config/network !!!
you need to bond them from LuCI to some VLANxx interface as you wish
firewall also need to be reworked
only WAN section will be good, others are need to be adjusted, again, according to VLANxx interfaces
but still, it will be good thing to detach vlan1 from untagged ports which you will use as access ports (port2, port3, etc)
and, no , port2 is wrong
vlan25 and vlan100 are both access on same port
so make it port2 -> access 25
port3 -> access 100
it is cheap plastic switch, and you could not remove vlan1
yes, it is "standard" solution to make vlan4094 and put unused access ports in this fake vlan
this way, vlan1 is protected
according to port2
how you want to use 25 & 100 if both are untagged (access) ?
no way
then you need to make it trunk, and make trunk on your Linux
or
you need to solve this on L3 layer, routing
lets's say, your PC is in VLAN100, and you allow in firewall routing from vlan100 to vlan25 (mgmnt)
i told you already !!!
you COULD NOT have two vlan untagged
look at your picture
vlan1 untagged
vlan25 untagged
please, if you want help, follow instructions & read carefully
I don't have acces to SSH, I juste have access to the webpage now.
" you COULD NOT have two vlan untagged" where ? On openwrt or switch ?
I have follow : "you need to solve this on L3 layer, routing
lets's say, your PC is in VLAN100, and you allow in firewall routing from vlan100 to vlan25 (mgmnt)" I have rules on firewall
on OWRT -> LAN1
you have two U (untagged)
on OWRT -> LAN3
you tagged T vlan1
it wont work . tagged vlan1 -> switch
first solve this errors, then
set your switch MGMN to vlan1 address space
connect switch to LAN3
set your PC to static address from vlan1 space
connect to LAN1 port
then you should have access to OWRT and SWITCH
because your management vlan will be vlan1 at the end
after that, you could start configuring rest of things
i don't know anymore, how to explain
wireles interfaces are configured in /etc/config/wireless
NOT in /etc/config/network
please remove ALL wlan interface from network
this is WRONG
as i said, you need (U)* Untaged vlan1 on LAN1 and on LAN3
it was NOT in my initial config
you messed/mixed up bridge vlan filtering and software vlan
please, read all my posts again
start with config i send you
and few post below is how to configure WIFI
again, WIFI is NOT configured with other interfaces