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

[HOWTO] Automatically switch default gateway

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 4 Posters 3.3k 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
    hienmai
    last edited by May 23, 2017, 6:53 AM

    Hi guys,

    As we know we can choose one default gateway from these gateways that pfSense has. However, is there anyway to automatically to switch the default gateway to another one if the current default gateway goes down?

    Thank you!

    1 Reply Last reply Reply Quote 0
    • F
      fragged
      last edited by May 23, 2017, 7:17 AM

      Make a gateway group with desired tiers and fail over. Use policy routing to route traffic through that gateway group.

      1 Reply Last reply Reply Quote 0
      • P
        ptt Rebel Alliance
        last edited by May 23, 2017, 9:40 PM

        System –>  Advanced -->  Miscellaneous  --> "Default gateway switching" (Enable default gateway switching)  ;)

        1 Reply Last reply Reply Quote 0
        • T
          tuzsuzdeli
          last edited by May 25, 2017, 11:15 AM

          is it possible to change default gateway from command shell ?

          the problem is:
          i have two different internet connections and i have to use Squid proxy.
          When i activate squid, it uses only default gateway.

          and i have to change active internet connection to other gateway at 7pm

          if there is an option to change default gw from command shell, i just add the command to cron and l'll solve the problem.

          Çözümün bir parçası değilsen, sorunun bir parçasısındır.

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