After weeks of reading, learning and testing I gave up, can't get VLAN configured on my device.
I build up the system from scratch based on the OpenWRT image, using standard br-lan bridge with ports lan 1-4. Hardware is GL.iNet GL-MT6000 Flint 2, OpenWrt 24-10 r2.
I also set up two Wireguard interfaces, the first one building a S2S connection to another network, the second one is to connect from Internet with the mobile phone to the lan.
Until this stage, everything is working well.
What I tried:
But since weeks IĀ“m unable setup the VLANs. After clicking āsave and applyā the router always come up with the rollback message.
To start setting up VLANs in parallel to the running system I created a second bridge called br-vlan01.
Configuring the router bridge br-vlan01 just using ports lan 4 and lan5. I setup "VLAN1", "VLAN20"=Invitados, "VLAN30"=IOT and "VLAN40"=Kameras.
In addition to standard lan interface, which is using standard br-lan bridge, I setup 3 separate lan called āInvitadosā, āIOTā and āKamerasā, each with a separate ip-range.
Primary lan is 192.168.50.1/24, the other ones are different from that.
I created some firewall rules for traffic between networks and rules for access to the internet for the 3 VLANs. I also created traffic rules for each of the VLANs for DHCP and DNS.
To test the VLAN setup, I connected my notebook to port 4, configuring just VLAN 20 to untagged, all other VLANs are not member. Everything works well as configured, the Notebook is getting an IP from specified range, Internet access is working, traffic to lan is blocked regarding firewall rule.
Now I want to change from br-lan to br-vlan01.
So I added all ports 1-5 to bridge br-vlan01, set VLAN1 to untagged on each lan port and just on port 5 all VLANs as tagged. On port 1-4 VLANs 20-40 are marked as no member.
On lan-interface I removed br-lan and set to br-vlan01.1 which is VLAN1 in bridge br-vlan01
I unconfigured br-lan so it was shown just as grey in the list.
My Notebook is connected to port4 of the router without any router in the middle and until now everything is working well.
Now I click save and apply.
Applying configuration changes counting down to 0sec
Message in yellow pops up: Failed to confirm apply within 90s, waiting for rollback
Router is not answering to ping. Nothing more happens. So I wait 2 minutes, then I disconnect the router from electricity to restart it, then the new message pops up so I can accept the rollback to get the previous setup without VLANs.
I tried 100 things more, even just extending the basic br-lan bridge with VLANs but it always ends in the result, that I couldn't get an IP from the router so I can't access the web interface. It always ends in a rollback to get my home network working again.
I would appreciate any help and advice on how I can add VLANs to my standard LAN.
Thank you very much!
