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

    Multi-WAN: default gateway IPv4?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 395 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.
    • B
      Big80
      last edited by

      Hello,

      I've configured a dual WAN on my SG-3100 for load balancing/faileover.

      The faileover works fine.

      However I'm not sure about the load balancing: in System/Routing/Gateways there is always a (default) gateway and the connection only goes through this default's gateway. I try to put my "WAN_LoadBalancing" group in Default gateway IPv4 but it doesn't work (and if I reboot the SG-3100 there are no connection because I don't have a (default) gateway. I have to choose one of the 2 GW). Any ideas?

      lan_rules.PNG
      gateways_groups.PNG
      routing_gateways.PNG

      Thanks!

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        You cannot use the routing table to load balance.

        You have to policy route the traffic to the load balance group.

        The load balancing happens in pf, not in the routing table.

        https://docs.netgate.com/pfsense/en/latest/book/multiwan/load-balancing-and-failover.html

        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)

        B 1 Reply Last reply Reply Quote 0
        • B
          Big80 @Derelict
          last edited by

          @Derelict thanks for your answer. I'm not sure I understood the problem. After reading the article I think the problem is because I created groups for load balacing + failover while load balancing manage the failover itself: Gateways that are load balanced will automatically failover between each other. So I have to get rid of my groups + rules about failover.
          And for default gateway IPv4? I put automatic?

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