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

    Preference on a particular link on muti wan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    8 Posts 3 Posters 2.7k 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.
    • H
      hylanthe
      last edited by

      Hi, I have 2 internet connection from 2 different ISPs. WAN1 on fiber and WAN2 on VSAT. How to setup a failover in such a way that preference should be given to WAN1. In other words, WAN2 works only when WAN1 is down. When WAN1 comes up WAN2 remains on standby.
      Thanks

      1 Reply Last reply Reply Quote 0
      • J
        jasonlitka
        last edited by

        Set the LB group behavior to "Failover" rather than "Load Balancing".

        I can break anything.

        1 Reply Last reply Reply Quote 0
        • H
          hylanthe
          last edited by

          I did that but, the link remains permanently on the WAN 2 until it goes down. meanwhile WAN 1 is my preferred link. I want WAN 2 to work only when WAN 1 goes down. When WAN 1 comes up WAN 2 should give the preference to WAN 1 to take over even if WAN 2 is up. I hope you are getting me

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Did you configure your failover pool correctly?
            The pool goes top to down through the available links.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • H
              hylanthe
              last edited by

              Yes i did that.

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG
                GruensFroeschli
                last edited by

                How do you test?
                Just to be sure you understood how failover functions.
                When you open a connection it checks if the prefered link is up.
                If not the next link will be used.
                The connection stays on this link until it is closed or times out
                Even if the primary link comes back up.

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                1 Reply Last reply Reply Quote 0
                • H
                  hylanthe
                  last edited by

                  I understand now, is there a way to configure failover for the primary link to be restored when it comes back?

                  1 Reply Last reply Reply Quote 0
                  • GruensFroeschliG
                    GruensFroeschli
                    last edited by

                    You dont understand.
                    New connections will always go to the WAN which is topmost and up.
                    If the primary wan goes down and comes back up, new connections will
                    go to the primary wan but old connections created while it was down will stay on WAN2.
                    There is no way to reassign already established connections.

                    We do what we must, because we can.

                    Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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