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

    Multi WAN with Enable default gateway switching - gateway priority

    Routing and Multi WAN
    3
    5
    2.6k
    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

      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

        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

          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
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            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

              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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.