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

    Dual wan + Failover posible problem with gateway monitor (Dpinger)

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 4 Posters 1.5k 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi, my problem is to try dual wan with failover.

      I have 2 Wan conections (different ISP) and one Lan, Is the typical dual wan + failover scenario.

      wan 1 –> dhcp (WAN_DHCP) (use gateway x.x.0.30)
      wan 2 --> static (GW_OPT1) (use gateway x.x.0.29)

      Problem with gateways monitoring images:

      both wans activated:
      https://drive.google.com/file/d/0B8vILEYP4QRPcU9NYnFBVy02WVE/view?usp=sharing

      after deactivate Wan 1:
      https://drive.google.com/file/d/0B8vILEYP4QRPQk1taDNYd0JSMjA/view?usp=sharing

      after reboot Dpinger with Wan 1 deactivate:
      https://drive.google.com/file/d/0B8vILEYP4QRPendPcUQyaUp0TDg/view?usp=sharing

      after activate Wan 1
      https://drive.google.com/file/d/0B8vILEYP4QRPNlhpYUdCTTgtVVk/view?usp=sharing

      at the end deactivate Wan 2:
      https://drive.google.com/file/d/0B8vILEYP4QRPU0s1WXJYc1JiV3M/view?usp=sharing

      As you can see, when I deactivate Wan 2, still online, only get offline when Wan 1 get offline, and when I activated Wan 1 automatically Wan 2 get online even if it is deactivate. This is my problem.

      both gateways have the same Rtt but when I ping separately have different ms, a difference between 10-20ms

      I using VirtualBox with PfSense 2.3-RELEASE (amd64) built on Mon Apr 11 18:10:34 CDT 2016 FreeBSD 10.3-RELEASE

      My gateway group for failover (Packet loss or high latency):
      https://drive.google.com/file/d/0B8vILEYP4QRPbGp4TG1qUHJRZFk/view?usp=sharing

      Lan rule - Firewall:
      https://drive.google.com/file/d/0B8vILEYP4QRPTHdHWUhsakZZX0U/view?usp=sharing

      I also have marked –> System / Advanced / Miscellaneous / LB / Default gateway switching / Enable default gateway switching

      If someone happens the same or a similar problem I would appreciate any possible help.
      Greeting and good morning.

      pdt: Sorry for my bad English!! ;)

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

        your failover group has both on TIER1 ==> thats loadbalancing, not failover

        also find it odd that the ip "the last" 2 bytes of your wan interfaces happen to be ending the same. this is unusual if there are 2 isps involved.
        Are you positive that both wan interfaces are on a different subnet & their gateways are not the same?

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          @heper:

          your failover group has both on TIER1 ==> thats loadbalancing, not failover

          also find it odd that the ip "the last" 2 bytes of your wan interfaces happen to be ending the same. this is unusual if there are 2 isps involved.
          Are you positive that both wan interfaces are on a different subnet & their gateways are not the same?

          Right, only I had config one group of gateways for the loadbalancing, now I have two more groups for failover where wan 1 has tier 1 and wan 2 has tier 2 & vice versa and also I add the rules on the firewall.

          Maybe the problem may come from the subnet settings.
          I have both Wans in the same subnet x.x.0.1/24

          Wan 1 use dhcp with gateway x.x.0.30 and Wan 2 only use static ips in a little range into the same subnet with gateway x.x.0.29.

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

            So two network interfaces with the same subnet.

            Fail.

            1 Reply Last reply Reply Quote 0
            • G Offline
              grandrivers
              last edited by

              need to change x.x.y.x change y not the last x

              pfsense plus 25.03 super micro A1SRM-2558F
              C2558 32gig ECC  60gig SSD

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                I will try to change and reconfig my network and I will try again with pfsense.

                Thanks to all! :)

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