Objective: Two networks
So I am trying to setup two private networks
1st: 192.168.79.1
2nd: 172.16.85.1
I have two routers setup as access points. I am wondering how to have both connected to the pfsense.
I watched videos from Lawernce on vlans.
Do i need to bridge the lan and make an opt1 to have both networks talk? Saw about bridged mode also openwrt?
Current setup is Internet → pfsense 2 nic mini pc → managed netgate switch
Switch- port 1- pfsense
Port 2 - router in ap mode 192.168.79.1
Port 3 - pihole( for dns)
Port 4 - router in ap mode 172.16.85.1
All help is appreciated.
If the switch supports VLANs then that would be an easy way to set it up.
1 Like
You need to setup port 1 on the switch as a trunk port and assign specific VLANS to ports 2 and 4. You can then create VLAN interfaces on the pfSense that can talk to the APs.
1 Like
Yep, you’ll need a layer 2 switch to accomplish what you are looking for.
1 Like
So just to confirm
Modem → pfsense nic 1 has modem nic 2 on pfsense lan 192.168.79.1 → nic2 hooked to switch
Switch
P1 - pfsense with Lan set at Vlan 10 192.168.79.1(dhcp on lan)
P2 - tplink router set to ap for lan() : 192.168.79.2
P3 - pihole 192.168.79.231
P4 - netgear router : 172.16.85.1 in ap vlan 20
Netgear 350 managed switch
Vlan 10 - lan - router 1 ports vlan 1,10,20
Vlan 20 - work - router 2 ports vlan 1,20
Management vlan at 10?
Pvid set to ports 2 and 3 with 1/4 being trunk tagged vlans