Looking for a little help setting up a VLAN on a Ubiquiti EdgeRouter X (ER-X) with my pfsense box. I’ve watched @LTS_Tom video(s) on pfsense and VLANs, but those deal with the UniFI software on the Ubiquiti switch, not the EdgeMAX software that runs on the ER-X.
I know this shouldn’t be that hard but I seem to be having a real problem setting up the VLAN on the ER-X side of things. The ports of the ER-X are as follows:
- eth 0 the LAN connection from pfsense box (192.168.30.1)
- eth1 to be my existing house LAN port, 192.168.30.xxx. Can this be a default VLAN1 or does it
have to be setup as a specific VLAN, i.e. VLAN 10 (192.168.10.xxx)? - eth3 port as a VLAN 32, 192.168.32.xxx, for my IOT stuff.
From Tom’s video (How To Setup VLANS With pfsense & UniFI. Also how to build for firewall rules for VLANS in pfsense - YouTube) I’ve got the pfsense interface assignments, DHCP servers, and rules setup.
I can’t seem to get the setting correct in the EdgeRouter X EdgeMAX GUI. Can anyone give me some direction on specific settings for the switch0 > Actions > Vlan tab? Specifically the VLAN Aware option and switch ports pvid and vid settings.
Since I’ve got a VLAN32 setup in pfsense and the associated DHCP server, do I also need to setup a 192.168.32.0/24 DHCP server in ER-X?
I do have the ER-X switch setup to use DHCP and it’s getting an IP address (192.168.30.169/24) from pfsense. When I do add a VLAN32 to the ER-X switch0 interface for the address do I select ‘Use DHCP’ or ‘Manually define IP address’ and enter 192.168.32.1/24 which is the VLAN DHCP server in pfsense?
Any direction would be much appreciated.