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

    2xWAN / 1xLAN + Static internet ips.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 3 Posters 4.1k 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.
    • A Offline
      analyzerx
      last edited by

      ps. This is quite different from all other posts so please don't flame me to search first! :P I did.

      Here's the story…
      I got 2 adsl connections, (both static ips, and one has another 16 available ips.)
      The LAN has around 20 pcs.

      I need to use both WANs on the LAN and assign to some pcs static internet ips. (NAT 1:1 maybe??)
      Both connections are at 1mb/256kb (down/up)...

      Can I use one adsl modem in bridged mode (the one with the 16 ips) and the other in router mode or something like that and loadbalance them through pfsense?
      Any ideas are welcome! ^_^ tnx.

      1 Reply Last reply Reply Quote 0
      • Y Offline
        youri
        last edited by

        You can use the outgoing Lb feature in this case, just put one of your static IP as a virtual one.
        Setup 2 nat rules, and one policy routing rule with the load balanced "gateway".
        I tried such a conf and it works like a charm.

        –
        YP

        1 Reply Last reply Reply Quote 0
        • A Offline
          analyzerx
          last edited by

          Have you tried this setup with 2 DSLs?

          1 Reply Last reply Reply Quote 0
          • Y Offline
            youri
            last edited by

            @analyzerx:

            Have you tried this setup with 2 DSLs?

            Yes , with 3 DSL's in fact  :) It's ok, I only regret the outgoing loadbalancing can't be really tuned (with weight and sticky clients for example …) 
            You can go ahead :)

            1 Reply Last reply Reply Quote 0
            • H Offline
              hoba
              last edited by

              Actually you CAN do some kind of weighting. Let's say one of your lines is twice as fast as the other you can do that by adding 2 times gateway IP of fast line and 1 times gateway IP of slow line to the pool (you also could do that 5:3 or whatever you like). Haven't tried that myself but heared it was working for someone I asked to try that. Give it a go and report back  ;)

              1 Reply Last reply Reply Quote 0
              • H Offline
                hoba
                last edited by

                @hoba:

                Actually you CAN do some kind of weighting. Let's say one of your lines is twice as fast as the other you can do that by adding 2 times gateway IP of fast line and 1 times gateway IP of slow line to the pool (you also could do that 5:3 or whatever you like). Haven't tried that myself but heared it was working for someone I asked to try that. Give it a go and report back  ;)

                This unfortunately doesn't work due to pf handling route-to's.

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