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

Allow default gateway switching - dual WAN

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 4 Posters 9.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.
  • J
    jarlel
    last edited by Apr 19, 2012, 6:39 AM

    Hi!

    The setting "Allow default gateway switching" is located under System - Advanced - Miscellaneous.

    I have two WANs configured for load balancing. None of the interfaces has the "default gateway" set.
    The "Allow default gateway switching" is set.

    The problem is that when both WANs are connected and live there is a "default" route under "Diagnostics" - "Routes".
    When I disconnect the first WAN there is no longer a default route in the routing table.

    Shouldn't the setting "Allow default gateway switching" take care of this?

    I have even tried setting one of the interfaces as "default gateway", but still the other WAN interface doesn't get the default route when disconnecting the first WAN.

    Does anyone have some thoughts around this?

    1 Reply Last reply Reply Quote 0
    • M
      MedoZero
      last edited by Apr 19, 2012, 1:59 PM

      how do you disconnect it ? do you mean to remove the cable from the interface ? or you disable it from pfsense webConfing portal ?

      1 Reply Last reply Reply Quote 0
      • J
        josekym
        last edited by Apr 27, 2012, 7:22 AM

        In our experience, it works better with a Default Gateway selected.  Failover works as expected this way. :)

        1 Reply Last reply Reply Quote 0
        • S
          showmethemoney
          last edited by Apr 27, 2012, 10:47 AM Apr 27, 2012, 10:23 AM

          Create gateways group "System->Routing->Groups". When u creat it choose priority "tiers" of u gateways switching and trigget level "member down".
          Make the firewall rule:
          action:pass
          interface:lan
          protocol:tcp/udp
          source:lan subnet
          destination:lan subnet (AND CHECK "NOT"!!!)
          destination port range: any
          Gateway: "name of u gateways group"

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received