I am running into difficulties trying to re-configure the VLAN setup I need to get internet access through my ISP (Bell Aliant) on 21.02. My router is a Linksys WRT3200ACM.
I did read the "DSA Mini-Tutorial" and the "Converting to DSA" docs and I managed to add the WAN to the br-lan interface under 21.02. Each time I create the 2 VLAN on LUCI, connection with the router is lost and either the changes get reverted automatically or I have to reset the router (losing all configs and starting again from scratch).
I suspect I am missing something but I haven't been able to figure it out yet. Any pointers would be greatly appreciated!
Attempting to "save and apply" this config ALWAYS result in an unreachable router (and either configs that get reverted automatically or a router that needs a hardware reset to become reachable again).
What I am missing? The “Converting to DSA” docs mentions: Back with swconfig we had CPU ports, eth0/eth1, to tag the CPU in a VLAN (i.e. eth0.2 or eth1.2 for VLAN ID 2).
With DSA, we just create a subinterface of the bridge interface (i.e. br0.2) to get the router (CPU) involved in that VLAN.
If you specify br0.2 as the “Device” on Network → Interfaces section, OpenWrt will automatically create a subinterface of br0 with VLAN ID 2.
... so does this means I need to create a new VLAN (802.1q) device and then proceed with the bridged device VLAN filtering after?
Been searching the forums to similar topics and this is very close to what I am trying to do:
In my case, I need the WAN port as tagged VLAN 35.
Below is my config so far (missing the VLAN part):
config device
option name 'wan'
option macaddr 'xx:xx:xx:xx:xx:xx'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option peerdns '0'
list dns '192.168.1.3'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option peerdns '0'
list dns '192.168.1.3'
The thread above suggests that I need to specify option device 'eth1.35' in the wan section but I am not clear if anything else is needed. I would like to have some validation before I try again as I end up having to revert to 19.07 each time I am unsuccessful in restoring internet connectivity under 20.02.
Not sure why you tagged my response, and that thread is about the "wallystech DR4029" router - which apparently is a "special case" when it comes to VLANS (if you read the post 2 after mine) - so, probably not relevant to your router
Because it's a completely different device - though, it may still hold true, I wouldn't count on it
why? if you mess up WAN, you'd still have LAN connectivity to undo the changes
Doing this restored internet connectivity with my ISP and allowed me to configure the rest. I did not even have to worry about replicating the setup in the screenshot in my original post.
Everything (firewall routes to various servers and access to OpenVPN server) seems to be working fine at this point.
Thanks all for your help - this is a setup I had done years ago and never had to redo until today. Took me a while to re-learn how to do it under DSA.