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

    Weighted static routes

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 2.9k 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
      phospher
      last edited by

      i have a static route setup to point to a gateway. the subnet the route is for is accessible via two different paths. right now the static route points to the gateway addy of 172.16.0.203. the other path is via 172.16.0.200.

      is there any way that i can add weighted static routes in pfsense?  i would like to have traffic point to the 172.16.0.203 as the primary but if it fails then go to the 172.16.0.200.

      i tried to add both routes with different gateways but it won't allow it because the subnets are the same.

      you might ask why i don't just redistribute my routes into rip and let the routers take care of this. for some reason i can't get ospf to redistribute this specific route into rip… but that's an entirely different story. so as a back up i want to define two static routes on pfsense each pointing to the same subnet but different gateways.

      any options anyone can suggest?

      1 Reply Last reply Reply Quote 0
      • P
        phospher
        last edited by

        actually, i just fixed my route redistribution issue but i would still be curious is this is possible.

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          You could use the loadbalancer and use failovered policy routing.
          (instead of weighted routes)

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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