I think your lan_vlan bridge-vlan config should look like this:
config bridge-vlan 'lan_vlan'
option device 'switch'
option vlan '1'
list ports 'lan1:u*'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
list ports 'lan6'
list ports 'lan7'
list ports 'lan8'
list ports 'lan9'
list ports 'lan10'
list ports 'lan11'
list ports 'lan12'
Assuming lan1 is your uplink to your upstream device.
luci-app-lldpd is now merged into master so those running snapshot builds might want to look at this for a useful UI showing LLDP neighbours on each port and providing a quick way to configure which ports LLDP runs on.
There's some work happening to add extra features for telephony and other LLDP use cases but for now it's already very useful to check port usage on switches.
I have just tried today's snapshot and I don't have the issue any more.
So I guess the router is in a broken state in stable right now, or something else in my network was bugging.
One other thing I noticed while upgrading and not keeping any config:
The switch went back to the default 192.168.1.1/24 address, while the client and upstream router stayed connected (subnet 192.168.40.0/24).
With the switch in OpenWrt factory config, the client could through the switch request an IP in the 192.168.40.0/24 subnet from the upstream router and it could ping the router. The switch could ping neither the upstream nor the downstream ip (which was expected).
Is this an okay behaviour? I just thought if this is due to the forward chain in lan being allow by default?
I noticed, that the following section is missing for vlan11 (D-Link DGS-1210-16):
config device
option name 'switch.1'
option macaddr 'xxx'
However even after manually adding it to the config and switching the lan network to switch.11, I am still stuck in a non reachable state. (neither the switch can ping the gateway nor any other device can ping the switch)
I had also updated to the latest snapshot.
edit: I have also tested the same with the XGS1250-12 (on a snapshot from around 2 weeks ago) and it also fails to be connectable when on vlan11
Is there maybe something general borked right now. As mentioned earlier, with 23.05.3 this works normally (at least for the D-link)
Alternatively, is there maybe a package missing, that is required to fully support different vlans, which is present on the stable release but not snapshot?
You're confusing things. The git repo mentioned is forked from main, which is the development tree. You can backport the patches to 23.05, which is older.
It utilizies both partitions, but that's not the full 32MB - it's in the range of 30MB (0x1cf0000), including kernel and rootfs. Mine shows 23MB of free space after a fairly default install.
No. My snapshot works fine, I do not have the need to update at the moment.
Your suggestion to close the thread dedicated to the model (not the chipset), will likely further deprioritize development of the firmware for a decent switch model (HP 1920-45G JG927A) with supported hardware, but still without even a snapshot version of Openwrt firmware. Most applicable models in this thread have at least a snapshot version of the firmware.