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

    Multiple routes and metrics … in pfSense/BSD

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

      So BSD doesn't seem to support route metrics which has been a bit of an issue with something I'm setting up.

      I've created an OpenVPN ring between 2 Linux servers and a pfSense box - with the principal being that the routes are totally redundant, even if a machine goes down.

      On the Linux boxes, this is easily achieved merely by adding route metrics in the "push route" statements. But as pfSense/BSD doesn't support route metrics, I'm not sure of a clean way of going about this.

      Short of complicating things with RIP etc. is there any way to route a subnet via 2 different gateways with different levels of priority?

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        assigning an interface to the openvpn services and creating a gateway group with different tiers might be a workaround

        1 Reply Last reply Reply Quote 0
        • B
          ben_uk
          last edited by

          @heper:

          assigning an interface to the openvpn services and creating a gateway group with different tiers might be a workaround

          I had a thought about that, but its not really a gateway - its just for 1 subnet, available via either tunnel (one being direct to the subnet, the other hopping over another part of the VPN ring).

          I'm surprised BSD doesn't support route metrics - it is a fundamental requirement :(

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