Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Plz Help with multi-wan Load Balancing with Failover matter

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jahidhk
      last edited by

      I have 2 Cable modem[same company] with 2 public ip assigned by DHCP. i want to establish multi-wan Load Balancing with Failover. i read multiwan load balancing 1.2. but cant working.

      I want this with pfsense as follows:
      10.1…. (DHCP) WAN1 -
                                       
                                          - [Load Balancing with Failover] + [Trafiq shaping] + [squid] –-> Lan[192.168.0.1]
                                        /
      10.1…. (DHCP) WAN2 -

      both WAN's gateway are same & can't ping
      both cable modem ip is 192.168.100.1 & can ping

      Pfsense Platform 1.2-RC1
      P-IV 2.66GHZ
      1G DDR
      3 NIC

      Is it can possible??
      if possible How??

      1 Reply Last reply Reply Quote 0
      • P
        Pootle
        last edited by

        Your 2 modems must be in different subnets for dual wan setup to work ( as well as having different IP addresses - you will need to change the address of 1 of them.

        Also last known state neither squid nor shaping will work with load balance.  (there are bounties out for these, but no recent activity that I can see).

        I think in any case that you are better off dedicating 1 WAN to all the small fast traffic, and using the other for everything else….

        1 Reply Last reply Reply Quote 0
        • W
          wjs
          last edited by

          I'm in a similar situation. I have been running a single pfSense box for my dorm room network. This fall I am moving to an apartment (on campus) with multiple lan connections. My roommates and I would like to all be behind a single firewall but would also like to not be limited by the single connection to the network. I understand that this most likely wont speed up our connection to off campus networks but we move enough data oncampus to easily saturate a connection.

          The original poster had the problem where each nic was connected to a modem with the same ip and had the same gateway. In my situation each nic would have its own ip but the same gateway. (Please excuse me if this is simpler than I realize. I have been trying to do my own research) If it is not posible for the nic's to be on the same subnet, would putting one of them behind another router help? (also would this help with the modem's having the same address?)

          Proposed setup:

          _____        ____________
                | –->|                  |
          lan |        |  pfSense  |
          | --->|_______|
                            |    |    |
                            |    |    --->Desktops
                            |    --->Servers
                            --->WIFI
          I can also put another router in the middle of one of the lan connections so that it apears to be on a different subnet.

          1 Reply Last reply Reply Quote 0
          • P
            Pootle
            last edited by

            wjs, yes if you put 1 modem behind a nat'ing router so they are (as far as pfsense is concerned) on different subnets, then load balancing should work quite happily, but you will need to find different monitor IP addresses for the 2 connections.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.