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

    Multiple static routes WAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 1.1k 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.
    • S
      sander1
      last edited by

      Hello,

      I wan't to use a pfSense router/firewall for my colocation servers i have only one question i can't find a answer.

      I need to route my own IP block and i get a single IP from my datacenter i can use for my own router, i get 2 gateway/router IP's from my datacenter, one primair and a fallback.

      So i need a single WAN interface with multiple gateways or 0.0.0.0/0 routes.

      How can i do this with pfSense?

      Thank you.

      Sander

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Similar to Multi WAN you have to create a gateway group.
        https://doc.pfsense.org/index.php/Multi-WAN#Gateway_Groups

        If the lower tier gateway fails, pfSense will direct traffic to the next higher one.

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

          Depends on what the data center is giving you. If it is two different interfaces then no problem.

          If it is two different gateways on the same interface I think you can still do Multi-WAN but it'd be an uncommon scenario. And it would be a single point of failure on your side.

          I don't see any reason you can't put multiple gateways on one interface, make a gateway group, and policy route to it though I have never seen it done (which doesn't mean it hasn't).

          Only one of them can be the default gateway.

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