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

    Multiwan not switching automatically

    Scheduled Pinned Locked Moved Routing and Multi WAN
    12 Posts 3 Posters 5.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.
    • G
      gajanan
      last edited by

      I am using pfsense 2.0.1 and i have configured multiwan on it- Wan1 is cofigured as static and Wan2 is configured as PPPoe for failover.
      1. created a gateway with wan1 - tier1 and wan2- tier2.
      2. default is wan1. Note - if i do not configure any one of them as default internet will not work.

      now whenever wan1 fails it is expected to automatically switch on wan2 but it not switching between these two if any one fails can anyone tell me how to accomplish this.

      Thanks !!

      1 Reply Last reply Reply Quote 0
      • N
        nalawadesatyen
        last edited by

        are you using squid? note that squid is not support multy wan.
        Send me more details of your pfsense box.

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by

          @gajanan:

          I am using pfsense 2.0.1 and i have configured multiwan on it- Wan1 is cofigured as static and Wan2 is configured as PPPoe for failover.
          1. created a gateway with wan1 - tier1 and wan2- tier2.
          2. default is wan1. Note - if i do not configure any one of them as default internet will not work.

          now whenever wan1 fails it is expected to automatically switch on wan2 but it not switching between these two if any one fails can anyone tell me how to accomplish this.

          Thanks !!

          The way how you configured your MultiWAN pfsense is exactly doing what you told it.

          You have WAN1 and WAN2.
          Setting both on same Tier (Tier 1) means that they do LoadBalancing. If WAN1 is down pfsense uses the last Gateway which is up and has the same Tier.

          If you setup WAN1 ans Tier1 and WAN2 as Tier2 then pfsense uses all Gateways with Tier1. If all Gateways with Tier1 are down it choses the next higher Tier.

          In short: Set Tier1 for both Gateways.

          1 Reply Last reply Reply Quote 0
          • G
            gajanan
            last edited by

            @nalawadesatyen:

            are you using squid? note that squid is not support multy wan.
            Send me more details of your pfsense box.

            Yes i am using squid. I am not sure about this why the squid will not support multiwan.
            can you please suggest in that case

            1 Reply Last reply Reply Quote 0
            • G
              gajanan
              last edited by

              @Nachtfalke:

              @gajanan:

              I am using pfsense 2.0.1 and i have configured multiwan on it- Wan1 is cofigured as static and Wan2 is configured as PPPoe for failover.
              1. created a gateway with wan1 - tier1 and wan2- tier2.
              2. default is wan1. Note - if i do not configure any one of them as default internet will not work.

              now whenever wan1 fails it is expected to automatically switch on wan2 but it not switching between these two if any one fails can anyone tell me how to accomplish this.

              Thanks !!

              The way how you configured your MultiWAN pfsense is exactly doing what you told it.

              You have WAN1 and WAN2.
              Setting both on same Tier (Tier 1) means that they do LoadBalancing. If WAN1 is down pfsense uses the last Gateway which is up and has the same Tier.

              If you setup WAN1 ans Tier1 and WAN2 as Tier2 then pfsense uses all Gateways with Tier1. If all Gateways with Tier1 are down it choses the next higher Tier.

              In short: Set Tier1 for both Gateways.

              Please see the attached files..

              gateways.JPG_thumb
              gateways.JPG
              groups.JPG_thumb
              groups.JPG

              1 Reply Last reply Reply Quote 0
              • N
                Nachtfalke
                last edited by

                @gajanan
                Set both Gateways on Tier1

                For squid and MultiWAN search the forum. You need some extra configuration with floating rules.

                1 Reply Last reply Reply Quote 0
                • N
                  nalawadesatyen
                  last edited by

                  Squid always using systems default getway.
                  Set-up a “Floating” rule to catch them with following parameter. For Multi WAN Failover or Round robin.
                  Floating rules apply on multiple interfaces.
                  Choose your WAN 1 and WAN 2 interfaces, and direction “OUT”
                  Choose  “HTTP” as destination port.
                  Specify the GETWAY with “MULTIWAN”
                  Please see the attached files

                  Floating-Rule.jpg
                  Floating-Rule.jpg_thumb
                  LAN-Rule.jpg
                  LAN-Rule.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • G
                    gajanan
                    last edited by

                    @Nachtfalke:

                    @gajanan
                    Set both Gateways on Tier1

                    For squid and MultiWAN search the forum. You need some extra configuration with floating rules.

                    I had set both gateways on tier1 but i am little bit confused about one thing which gateway i have to set as a default gateway Wan1 or Wan2.

                    • Wan1 i have lot of speed and unlimited usage i just want to set up this as a default if this fails then and then only it will switch on wan2 can u please help me to achieve this.
                    • i have configured wan2 on pppoe but it is not automatically connecting when it goes down and again it comes up.

                    Thanks in advance.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nalawadesatyen
                      last edited by

                      @gajanan:

                      @Nachtfalke:

                      @gajanan
                      Set both Gateways on Tier1

                      For squid and MultiWAN search the forum. You need some extra configuration with floating rules.

                      I had set both gateways on tier1 but i am little bit confused about one thing which gateway i have to set as a default gateway Wan1 or Wan2.

                      • Wan1 i have lot of speed and unlimited usage i just want to set up this as a default if this fails then and then only it will switch on wan2 can u please help me to achieve this.
                      • i have configured wan2 on pppoe but it is not automatically connecting when it goes down and again it comes up.

                      Thanks in advance.

                      Failover WAN 1 to WAN 2 = Set WAN 1 on Tier1 & WAN2 Tier2
                      Roundrobin  = Set Both on Tier 1 ( AlterNet  TCP Request goes  to both WAN)

                      1 Reply Last reply Reply Quote 0
                      • G
                        gajanan
                        last edited by

                        @Nachtfalke:

                        @gajanan:

                        I am using pfsense 2.0.1 and i have configured multiwan on it- Wan1 is cofigured as static and Wan2 is configured as PPPoe for failover.
                        1. created a gateway with wan1 - tier1 and wan2- tier2.
                        2. default is wan1. Note - if i do not configure any one of them as default internet will not work.

                        now whenever wan1 fails it is expected to automatically switch on wan2 but it not switching between these two if any one fails can anyone tell me how to accomplish this.

                        Thanks !!

                        The way how you configured your MultiWAN pfsense is exactly doing what you told it.

                        You have WAN1 and WAN2.
                        Setting both on same Tier (Tier 1) means that they do LoadBalancing. If WAN1 is down pfsense uses the last Gateway which is up and has the same Tier.

                        If you setup WAN1 ans Tier1 and WAN2 as Tier2 then pfsense uses all Gateways with Tier1. If all Gateways with Tier1 are down it choses the next higher Tier.

                        In short: Set Tier1 for both Gateways.

                        Thanks for your reply
                        I do not want to use load balancing i need failover if wan1 goes down it should switch to wan2 automatically.
                        now i have to set wan1 or wan2 any one of them as a default gateway if i dont then the internet is not working and if wan1 goes down it is not switching the default gateway to wan2 - i have done the system>advanced>misc>default gateway switching but it is also not working for me…
                        Please help.

                        1 Reply Last reply Reply Quote 0
                        • G
                          gajanan
                          last edited by

                          @gajanan:

                          @nalawadesatyen:

                          are you using squid? note that squid is not support multy wan.
                          Send me more details of your pfsense box.

                          Yes i am using squid. I am not sure about this why the squid will not support multiwan.
                          can you please suggest in that case

                          Thanks for your reply
                          I do not want to use load balancing i need failover if wan1 goes down it should switch to wan2 automatically.
                          now i have to set wan1 or wan2 any one of them as a default gateway if i dont then the internet is not working and if wan1 goes down it is not switching the default gateway to wan2 - i have done the system>advanced>misc>default gateway switching but it is also not working for me…
                          Please help.

                          1 Reply Last reply Reply Quote 0
                          • N
                            nalawadesatyen
                            last edited by

                            Step By Step Screenshots…

                            Filter Rules are very important.

                            Getways.JPG
                            Getways.JPG_thumb
                            Getways_Group.JPG
                            Getways_Group.JPG_thumb
                            Floating_Rule.jpg
                            Floating_Rule.jpg_thumb
                            Floating_Rule_ADV.jpg
                            Floating_Rule_ADV.jpg_thumb
                            LAN_Rule.jpg
                            LAN_Rule.jpg_thumb
                            Status.jpg
                            Status.jpg_thumb

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