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

Multi WAN with Enable default gateway switching - gateway priority

Scheduled Pinned Locked Moved Routing and Multi WAN
5 Posts 3 Posters 2.6k 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.
  • P
    Pentium100
    last edited by Apr 2, 2015, 12:22 PM

    Hi, I have a pfSense router with multiple WAN interfaces (Ethernet and 3G) and would like to set up failover. There are also several subnets in my LAN, so there are four gateways defined:

    1. Default GW - WAN (weight 4)
    2. GW to subnet 1 (weight 1)
    3. GW to subnet 2 (weight 1)
    4. GW to 3G (weight 2)

    As I understand, the higher weight GW should get used first.

    There are also site-to-site VPN, so I need the default gateway switching. However, for some reason when the default GW goes down, pfSense always switches to "GW to subnet 1" instead of "GW to 3G".

    How do I make the router swich from Default GW to 3G instead of the internal gateways?

    1 Reply Last reply Reply Quote 0
    • G
      grandrivers
      last edited by Apr 2, 2015, 3:35 PM

      weight should be thought of as % of use in a group for round robin load balancing

      pfsense 2.4 super micro A1SRM-2558F
      C2558 8gig ECC  60gig SSD
      tripple Wan dual pppoe

      1 Reply Last reply Reply Quote 0
      • P
        Pentium100
        last edited by Apr 3, 2015, 5:34 AM

        OK, so weight setting has no effect for me (since I want failover, not load balancing). So how do I make pfSense switch from "default GW" to "3G GW" and not to "gateway to subnet 1"?

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Apr 3, 2015, 8:51 AM

          Create a gateway group with the default gateway as tier 1 and the 3g as tier 2 and the other gateways as Never.

          System > Routing, Groups

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • P
            Pentium100
            last edited by Apr 9, 2015, 5:12 AM

            That didn't work, however, I figured it out and am leaving here for others with the same problem.

            I had to mark the other two gateways as "down". Static routes still work (as I intended), but now the default gw switches straight to GSM if the primary one fails.

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