pfSense 2.3 – How to Route LAN Traffic Over Specific Gateway

firewalllanpfsense-2routerwan

I am running a pfSense 2.3 box with 4 NICs. Now i have 2 different ISPs (one Cable & one DSL). How Can i configure, that all traffic from LAN1 goes ONLY over WAN1, and all traffic from LAN2 goes ONLY over WAN2? I Dont want any Failover or LoadBalancing, just seperate each Networks "Gateways". Here a simple diagram, on what i try to achieve.
enter image description here

Best Answer

Instead of ISP IP addresses as gateways, you could use two tier-based gateway teams.
Each gateway team will have the preferred ISP in tier 1, while the other ISP will be in tier 2.

  • TEAM-ISP1
    • ISP1 tier 1
    • ISP2 tier 2
  • TEAM-ISP2
    • ISP2 tier 1
    • ISP1 tier 2

In normal conditions, each LAN will use the tier 1 member of the team.
When ISP1 goes down, ISP2 will be used by both LAN1 and LAN2.
When ISP2 goes down, ISP1 will be used by both LAN1 and LAN2.

Related Topic