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

    Multi-Gateway on same interface

    Routing and Multi WAN
    3
    6
    3.0k
    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.
    • A
      Atlantisman
      last edited by

      So,

      Our ISP has given us two IP blocks with different paths to route across their network. So i would like to setup both gateways as a fail-over.

      Is this possible to setup in pfsense? Is it done the same way with gateway groups with multiple interfaces?

      Also, they do not support BGP, so that's not an option, but i am mostly worried about outbound traffic right now anyways.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        Our ISP has given us two IP blocks with different paths to route across their network. So i would like to setup both gateways as a fail-over.

        Did you get also two Internet connections from your ISP or only one with many IP addresses?

        1 Reply Last reply Reply Quote 0
        • A
          Atlantisman
          last edited by

          Just one internet connection that routes through two different data centers and tier 1 providers on the ISPs network.

          So not fully redundant, but it's a start.

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            FAILOVER RULES

            Interfaces: Lan
            Protocol: ANY
            Source Address: ANY
            Destination ports: ANY
            Gateway;Wan1 Fail Wan2 Use

            Interfaces: Lan
            Protocol: ANY
            Source Address: ANY
            Destination ports: ANY
            Gateway;Wan2 Fail Wan1 use

            This would be in normal cases a Fail over rule set, but you are only owning one Internet connection
            that is not so easy to realize because you should then built a fail over between two different Gateways
            but they are using the same WAN port.

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

              Is it the interface that fails over or the gateway?

              What if he was to assign the interface something like this:

              100.200.200.2/29 gateway 100.200.200.1

              And assign an IP Alias VIP to the interface, say:

              100.250.250.2/29

              And created a gateway of 100.250.250.1

              Then a failover group of those two gateways.

              Never tried it. Is your ISP's network really unreliable enough to need this? Seems they should be the ones adding redundancy, not you.

              Otherwise use an outside switch and two pfSense interfaces.

              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
              • ?
                Guest
                last edited by

                So not fully redundant, but it's a start.

                Also not the real thing, if the one Internet connection fails you will have no benefit from this point.
                But for sure if this might be a real goal or benefit for your network go the way that @Derelict was
                showing you. It would be the best choice to realize it like you might be able to do.

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