Multiple routes and metrics … in pfSense/BSD
-
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?
-
assigning an interface to the openvpn services and creating a gateway group with different tiers might be a workaround
-
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 :(