Indeed you need to run the swconfig commands at startup.
I am looking into to it and it is rather complex.
To use the existing logic I came up with the following:
adding a checkbox for each port/vlan to tag that, see picture.
The GUI is working (sort off) but the underlying code-logic is very complex and not quite working yet, I need BS to do that.
This seems to be a very good solution. Let's hope it actually gets implemented sooner than later. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Posted: Wed Nov 24, 2021 9:39 Post subject: VLAN config over swconfig working
On my R7000P and my Archer c7 v4 I managed it also after some time to have vlan running as intended.
I used swconfig commands within startup (from webUI) and set the corresponding settings on the switchconfigUI page.
All working so far.
Caveadd:
As I was struggling finding the correct CPU vlan port on the Archer device, I found that it is clear by using the following command.
It clearly prints out the right environment.
Posted: Fri Jun 17, 2022 20:08 Post subject: All Ethernet ports on WAN
What if I wanted to move all the LAN ports to the WAN: The router pulls it's own DHCP assigned address from the WAN port, but since all the LAN ports are effectively on the same switch, anything plugged into them (and the wifi) pull from the same upstream source.
Basically, use the router as an access point, because there is already an upstream router.
It works as a 5 port switch when you assign the WAN port to the LAN VLAN. I typically configure the switch ports on my AP to four different VLAN to validate that the connection works correctly since I don't use the AP as an actual switch. _________________ Linksys: Several WRTxx00AC variations | Netgear: 4x WNDR4500v2, 7x WNDR4300, R6400v1 | Asus: 2x RT-AC66U | Gl.inet: 3x GL-AR150