I am trying setup VLANs from main firewall/router (OPNsense) with my dumb AP, TP Link Archer C20 v5 (OpenWRT). My OPNsense router connects to the ISP and provides internet to the rest of the devices, does all the DHCP and DNS. I want to setup Archer C20 as the Dumb Access point.
I have already setup few VLANs from router to managed switch, and connect device to that specific port (ports 1 and 2) (untagged), however facing issue when configuring to send 1 untagged and 1 tagged VLAN over Port 3 of managed switch (TL-SG108E). I think issue is in my OpenWRT configuration.
Current Setup:
OPNsense router -> Managed Switch -> Dumb Switch -> Access Points, Laptops
OPNsense router -> tagged (port 8 of managed switch, trunk port)
VLAN 30 (Home) -> untagged (port 3 of managed switch), 10.0.3.0/24
VLAN 40 (Guest) -> tagged (port 3 of managed swtich), 10.0.4.0/27
Access Point -> Conencted on LAN1 port to dumb switch
Issue:
In OpenWRT, under Network > Switch, when I add VLAN 40, and set eth0 (cpu) to tagged and LAN1 (where the cable is connected) to tagged, I lose access to LuCI, and then it reverts back to previous state.
Goal:
I want both "Home" and "Guest" SSID in my AP to connect to respective VLANs.
If I directly connect a device to Dumb Switch, I want device to use the Home VLAN.
I know this question is very similar to the post: Link
But in that post, OP issue was resolved using the DSA config, if I am not wrong. I also found out that my device uses the swconfig, not DSA, from this post: Link.
I can't figure out how to configure my device. Any help will be appreciated, thanks.