pfSense Support Subscription

Author Topic: 3 WAN with load balancing n failover  (Read 229 times)

0 Members and 1 Guest are viewing this topic.

Offline ashima

  • Full Member
  • ***
  • Posts: 124
  • Karma: +2/-0
    • View Profile
3 WAN with load balancing n failover
« on: November 28, 2017, 12:50:43 am »
Hello,



    I have 3 leased lines (11 Mbps, 9 Mbps, 5Mbps). I want to do following setup :

1) Load Balance WAN A + WAN B
2) Failover between WAN A and (Load balance between WAN B + WAN C with 2:1 weight) ie if WAN A fails traffic should load balance         between Wan B and Wan C.
3) Failover between WAN B and WAN C

To do so I have created Gateway group

1) WanAWanB   

         WanA    WanB
   Tier      1        1
Weight    1        1

2) WanAUP

          WanA     WanB    WanC
   Tier        1        2       2
Weight      1        2       1

3) WanBUp
            WanB     WanC
Tier          1        2


In Firewall LAN Rules

Allow all LAN Traffic through WanAWanB
Allow all LAN Traffic Through WanAUP
Allow all LAN Traffic through WanBUP


Is my setup correct. Any Suggestions
Ashima

Offline ashima

  • Full Member
  • ***
  • Posts: 124
  • Karma: +2/-0
    • View Profile
Re: 3 WAN with load balancing n failover
« Reply #1 on: December 02, 2017, 05:05:09 am »
 Greetings,


    This is how I made it work finally.

Created a Gateway Group Grp1   ----     WAN  A      WAN B    WAN C
                                           Tier                 1                1             2

This is acting as load balance between WAN A n WAN B .... if WAN A/WAN B fails traffic goes through WAN B/WAN A respectively... if both fails traffic goes through WAN C.

I didn't create separate  Groups for load balancing and failover as suggested by pfsense official documentation.

Though I couldn't test load balancing as WAN A is down from last 10 days.

Thank You
Ashima


Offline spice

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: 3 WAN with load balancing n failover
« Reply #2 on: December 03, 2017, 05:52:50 am »
hi,
so in the end you resolve the issue only by tiers ?
non wheigh were used?

Offline ashima

  • Full Member
  • ***
  • Posts: 124
  • Karma: +2/-0
    • View Profile
Re: 3 WAN with load balancing n failover
« Reply #3 on: December 04, 2017, 08:13:43 pm »
hi,


          Yes I have kept the weight settings as default. It was required if I do a load balance between WAN B(~9 Mbps) n WAN C (~5 Mbps).
regards,
Ashima