Next, the LAN (local area network) port facing pfSense and connecting to the switch must be a trunk because it will carry all traffic including VLAN10 and VLAN20 on one cable. On the pfSense side, the LAN NIC (network interface controller) is just the physical parent interface (the actual LAN port you plug the Ethernet cable into); VLANs (virtual local area networks) are created on top of it.
Log into your pfSense Web Dashboard using the web browser. From the top menu select Interfaces and then from the drop down menu click on Assignments.


10Personal Devices as I will used it for personal devices like Laptops, PCs, tablets, etc.
Repeat the process for IoT and Untrusted Devices VLAN but use 20 for VLAN Tag.
You should have the following list of interfaces for your VLANs:

We now need to assign the VLANs to an Interface.

Your Interfaces should now look something like this:

You can modify the interface name by actually clicking on the name:


VLAN10_Personal192.168.10.1/24 (up to 253 devices can connect)Click Save.
The page will refresh and you will see:

Click Apply Changes.
Repeat the steps for VLAN20 but use 192.168.20.1/24 in the last step and click Save.

Your Interface Assignments page should look something like this:

We now also need to make sure we have DHCP set up in pfSense that will handle handing out IP addresses on our network when devices connect.
From the top menu select System and then click on Advanced from the drop down menu.

You can leave all the other options for now as default, scroll down and click Save.
Next, you need to activate it. In the top menu, click on Services and then DHCP Server from the drop down menu.


192.168.1.1192.168.1.1You can leave everything else at default, scroll down and click Save.


Repeat the steps for VLAN10_PERSONAL but make sure to use 192.168.10.1 for your DNS Servers and Gateway.
Do the same with VLAN20_IOT_UNTRUSTED settings, just remember to use IP addresses that start with 192.168.20.x.
At this point, we’re done with the pfSense web console configuration settings and will be moving on to set up the switch. To be on the safe side and to avoid repeating all the work we’ve done so far, it’s recommended that you do a backup of all your settings on pfSense.

I recommend the tried and true 3-2-1 backup strategy. Three copies of your data, on 2 different storage media, one stored off-site. I have 1 on my Admin_Device hard drive, 1 on a USB, and 1 uploaded to a secure cloud storage service I trust (Proton Drive).
In the screenshot above, you can see where you are able to upload your backup file to restore your configuration settings.
Next, we will add our switch and wireless access points.