I am very new to openwrt and vlans. I have a netgear router running openwrt that I would like to run as a AP only on a vlan of 50. My current setup consists of a pfsense router configured with two vlans one being vlan 50 for the guest AP I am trying to setup. Which ports would I tag/untag on the openwrt router to communicate with my pfsense router running a vlan 50 with a DHCP srver configured on that vlan.
Here is my config. Which I can change to whatever is need to make this run if possible.
At the top pfsense router. Confgured for vlan 1 and vlan 50(Guest Wifi) There is a dhcp server running on both vlans.
The pfsense router is connected to a zyxel managed switch through the lan port on the pfsense router.
Currently I have one Asus Router running in AP mode which is connected to the Zyxel switch which works fine and is running on the 192.168.1.1 subnet.
I would now like to add the Netgear WNDR3700V4 running openwrt as a guest AP running on VLAN 50. I have preconfigured the settings on the pfsense router to support the vlan 50 and enabled the DHCP server on that VLAN.
I see .... if the switch is set to 50@WNDRport..... this assume that means "UNTAGGED"
In which case.... all the config is on the pfsense box... nothing special needs to be done at a VLAN level in openwrt.
Basically you have to choose between isolating the WNDR at the switch with only vlan 50... ever... ( UNTAGGED PORT )
Isolating the WNDR at the switch via restricting it's trunk / tagged traffic. ( TAGGED but just 50 allowed )
Making it a full trunk in which case almost all the isolating in done one the WNDR.
The problem is switches vary in their terms and options.... and it is possible that "50" could mean tagged..... ( restricted trunk ). In which case from the WNDR end the config is as if it were a trunk anyway.