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

    How do I failover with this setup?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    11 Posts 3 Posters 2.9k 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.
    • C Offline
      cmb
      last edited by

      Not enough info there, how does your routing work outbound? The entire /27 is assigned to an internal interface? What's the default gateway of the hosts on that /27? If you have no IPs on your WANs, sounds like something upstream is handling your routing, that would be a very unusual setup though.

      1 Reply Last reply Reply Quote 0
      • P Offline
        Phil
        last edited by

        Thanks for your help.

        The two modems are simple bridges. The /27 is routed over both of them, by the ISP, and the gateway is run by the ISP on the first usable IP in the /27. In essence, neither WAN interface has an IP and the DMZ interface has the second usable IP assigned to it using the first usable IP as its gateway.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cmb
          last edited by

          That is an atypical setup. In that case, the firewall has no bearing on what traffic goes where and can't impact failover or routing in any fashion.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Phil
            last edited by

            Thanks for the info. The setup has been tweaked and I'm now presented with two PPPoE connections. When dialed, they both get the same IP address and thus can't be dialed at the same time.

            Is there a way, in pfsense, to dial connection #1 ordinarily, dial connection #2 if #1 fails and then disconnect #2 when #1 successfully re-dials? Or is there a better way to manage this?

            Thanks

            1 Reply Last reply Reply Quote 0
            • P Offline
              Phil
              last edited by

              I'm pondering the usefulness of PPPoE Dial-on-Demand mode for this. Would it be possible to use this to achieve some kind of auto failover?

              Phil

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

                No, that wouldn't help you. Dial on Demand could trigger if the firewall tries to do something itself, too, such as sync with ntp or from a cron job.

                Also Dial on Demand does not automatically disconnect.

                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
                • P Offline
                  Phil
                  last edited by

                  Thanks for your help. I have scripted it for now, which seems to be working. Does anyone know of a way to do this in the standard pfsense release?

                  Thanks

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

                    To have two WANs get routed the same IP block by the ISP? Not using the normal Multi-WAN features. You could keep both WANs up all the time and run a routing protocol such as OSPF or BGP between your and your ISP, but that's up to your ISP.

                    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
                    • C Offline
                      cmb
                      last edited by

                      MLPPP or a routing protocol (usually BGP) would be the only two options with any software to accomplish that.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Phil
                        last edited by

                        Ok, thanks for the info. MLPPP isn't an option as the links are different speeds and I'm not sure I pay the ISP enough to warrant a BGP setup ;)

                        I'll stick with the failover script for now.

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