OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Route metric
« previous next »
  • Print
Pages: [1]

Author Topic: Route metric  (Read 2314 times)

jorgevisentini

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 5
    • View Profile
Route metric
« on: May 03, 2017, 11:01:34 pm »
Hello,

sorry about my English.

Can I define metrics for routes? As priorities, distance ...

I need something like this to do a failover on my IPsec network.

Thank you!
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2436
  • Karma: 171
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Route metric
« Reply #1 on: May 03, 2017, 11:17:26 pm »
It would not make sense to configure an administrative distance when using plain OPNsense without the quagga plugin - the metric is the only thing that handles the decision except "longest prefix match". The administrative distance is used to say which routing protocol you trust most.

The quagga plugin does not support static routes as they are already managed by OPNsense core.

system_routes_edit.php does not look like it supports metrics.
You may be interested into a gateway group.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10084
  • Karma: 763
    • View Profile
Re: Route metric
« Reply #2 on: May 04, 2017, 11:16:55 am »
Relevant FreeBSD topic: https://forums.freebsd.org/threads/33006/

I always thought the metric support was rather rudimentary and not so helpful.


Cheers,
Franco
Logged

jorgevisentini

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 5
    • View Profile
Re: Route metric
« Reply #3 on: May 04, 2017, 03:30:56 pm »
Guys, thanks for the feedback.

I understood ... is that I saw that in Fortinet has this functionality so I even thought I was not finding in OPNSense.
And I'm still looking for a way to do a failover with my IPsec hahaha.
It's complicated, I have not found any cases with either OPNSense or PFSense ...

Thank you guys!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10084
  • Karma: 763
    • View Profile
Re: Route metric
« Reply #4 on: May 04, 2017, 03:38:03 pm »
User fraenki has extensive IPsec HA setups, he will be able to help. Let me grab him for you... :D
Logged

jorgevisentini

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 5
    • View Profile
Re: Route metric
« Reply #5 on: May 04, 2017, 04:12:03 pm »
Thank you franco. I'm reading the FreeBSD topic.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Route metric
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2