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 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate, gcc
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port, multiple VAPs
Linksys EA8500 WDS Station x2 - DD-WRT r53714
OSes: Fedora 37, 7x RPis (2,3,4), 16x ESP8266s: Straight from Amiga to Linux in '94. Never having owned a Windows PC.
Joined: 12 Jun 2007 Posts: 32 Location: Aachen, Germany
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