I think that I need help because no matter what I try and read, I'm unable to get this working after upgrading from lede 17 to openwrt 22.
My expected configuration should be:
WAN: trunk port for vlans 13 - 17
LAN1 to LAN4: untagged ports (on vlan 16 to begin with)
Wifi linked to vlan16
Management on vlan17 static IP address.
Everything worked with LEDE, the switch directly connected in WAN and the main router do work.
This is what I'm trying:
First I create the VLAN I need to manage the router.
And that's it. It tries to apply changes but it loses management interface on br-lan (192.168.1.1) and I never get access to my new IP 192.168.17.7. The only option it gives me is to rollback the changes.
I'm really curious about why I lose access on 192.168.1.1 because I'm still connected to LAN4, which is untagged after the configuration.
I have been trying many things, including command line configuration and I'm still unable to get it working.
Then I apply changes and I lose management completely. No access to 192.168.1.1 and neither to 192.168.2.1. I'm configuring the interface on my side properly, of course.
But this shows that there is something in openwrt that I'm misunderstanding.
EDIT:
After a while I have got access to br-lan with ip 192.168.1.1 but no never to br-lan.16 with IP 192.168.2.1. Same behavior as with br-lan.17 in the trunk interface.
which is "normal", as i see from your pictures, you deleted the default interface with 192.168.1.1, or if you did not, 192.168.1.1 is on Vlan1 and your ports are in different VLANs
sadly, i don't have wrt3200 at home but ...
list ports 'lan4:u*'
i think that you need a star (asterisk) at the end of access port
this will set default PVID for lan4
I keep management on br-lan.16. I also checked that from the main router I have got access to br-lan.17.
Now that I think it should be that I'm missing the default gateway in openwrt and that's why I cannot reach it from my compùter. That would be a pretty stupid error from my side.
I cannot test anything else today I will update the thread tomorrow.
So that was the problem. My initial assumption and configuration was indeed correct. I'm able to propagate VLANs as I wanted.
I guess I did something wrong, then lost management and became mad searching for the cause.
But the conclusion is that once setting up VLAN filtering you just need to set up a vlan device with an IP to reach it, and be sure that openwrt has the necessary routes in order to reach other networks.
It was pretty stupid from my side to not find this earlier.