4 NIC pfSense with two LANs using two WANs separately per LAN
I have a 4 NIC box running pfSense 2.3.4 with
=> 2 LANs
=> 2 WANs from different ISPs connected with DHCP to different routers
I want LAN1 to use WAN1 and LAN2 to use WAN2.
No failover or load balancing. LAN1 does not even need to talk to LAN2, however it is not necessary for them to be really separated.
To put this in to perspective: WAN1 is fast, but we have issues with latency on VoIP calls. That's why we now have WAN2 which is slower, but the latency is much lower.
I've created a separate VLAN on the switch for our VoIP phones and connected them to a separate LAN Port on the pfSense box.
My attempt was to configure the DHCP server on LAN2 so that the Router on WAN2 is given as a gateway.
But I'm not able to save this setting since the DHCP form complains that the gateway is not in the subnet of the interface LAN2. This is of course true, but hat was on purpose.
Is there a way to overcome this or a better way to achieve my goal?
Policy route LAN1 out to the WAN1 gateway using the pass rule on LAN1
Policy route LAN2 out to the WAN2 gateway using the pass rule on LAN2
You can skip this for whichever WAN is the default gateway as long as you do not have default gateway switching enabled.
thank you very much for your reply!
Your solution looks promising, I will check that out!
just wanted to let you know that I implemented your solution and it worked right away.
Thank you very much!