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

    Gateway groups / load sharing not working?

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    12 Posts 2 Posters 4.0k 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.
    • B
      Ball
      last edited by

      PS: I just checked some curious light traffic reported by the "Traffic Graph" using tcpdump and it seems pfsense is pinging OPT1's router at regular intervals. Don't know if this is related to anything.

      1 Reply Last reply Reply Quote 0
      • B
        Ball
        last edited by

        PPS: I read elsewhere that the failsafe rules aren't necessary anymore so I removed them, but this didn't fix the problem.

        1 Reply Last reply Reply Quote 0
        • B
          Ball
          last edited by

          One more thing, I just caught my error for specifying TCP instead of "any" protocol. Still not load sharing. All traffic goes through WAN and none through OPT1.

          1 Reply Last reply Reply Quote 0
          • B
            Ball
            last edited by

            I downloaded the most recent build (just realized I had an ancient version—must have listed them backwards by mistake) and configured the router from scratch.

            Still no dice!

            The interface in the newer build is better, though. The router groups setup is a lot cleaner. Now if only it would WORK!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              It will never reach your testgategroup rule. It's first match wins, read from the top-down.

              Move that rule to the top and it will work.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • B
                Ball
                last edited by

                @jimp:

                It will never reach your testgategroup rule. It's first match wins, read from the top-down.

                Move that rule to the top and it will work.

                Oh, well I was following:

                http://doc.pfsense.org/index.php/MultiWanVersion1.2

                which suggests the opposite?

                1 Reply Last reply Reply Quote 0
                • B
                  Ball
                  last edited by

                  Just for kicks I moved the rule to no avail.

                  I also updated to the very latest and tried logging my rule (firewall logging seems to log all rules regardless, and only logs blocks, not passes).

                  I will also note I've tried changing various configurations like switching WAN and OPT1 physically, and using static assignments for OPT1.

                  I will note the way to setup the static assignment is really cumbersome and had me scratching my head for a moment. I can't seem to set the gateway IP in Interfaces:OPT1, instead I have to add one in System:Gateways. Weird. Anyway…

                  I added the 192.168.1.1 gateway for OPT1 in System:Gateways (OPT1GW) then added OPT1 with a static 192.168.1.101/24 assignment using OPT1GW as the Gateway. I assume that's appropriate.

                  When I disconnect WAN, I get this in the log:

                  php: : All gateways are unavailable, proceeding with configured XML settings!

                  which is kinda maddening since Status:Gateways says OPT1 is sill "Online."

                  1 Reply Last reply Reply Quote 0
                  • B
                    Ball
                    last edited by

                    Here's my current rules.debug

                    rules.debug.txt

                    1 Reply Last reply Reply Quote 0
                    • B
                      Ball
                      last edited by

                      OK guys, I deleted the old group, applied, added the same group with the same settings, applied, deleted the rule, applied, added the same rule with the same settings, applied, and it seems to work for the first time.

                      Nix that; the traffic merely switched from WAN to OPT1. I was fooled by the Traffic Graph showing traffic on WAN when there was none.

                      Attached is new debug output. seems right by my eye, but it's now sending all data to OPT1.

                      output.txt

                      1 Reply Last reply Reply Quote 0
                      • B
                        Ball
                        last edited by

                        All my assignments are static now, too.

                        There seems to be a bug though, as the route I set to default isn't actually set on the router (netstat -nr shows no default set). Not that a router needs a default route (unless I want to update it), but it definitely seems like a bug.

                        1 Reply Last reply Reply Quote 0
                        • B
                          Ball
                          last edited by

                          Fuck! Wrong subnet on WAN static config. Fucking amateur…

                          It seems to be working again. tcpdump suggests this at any rate. Forgive my late night flood. Hopefully, nobody subscribed :)

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