OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Default gateway switching and static route
« previous next »
  • Print
Pages: [1]

Author Topic: Default gateway switching and static route  (Read 2887 times)

naltalef

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
    • View Profile
    • RedKlee
Default gateway switching and static route
« on: December 21, 2018, 03:21:42 am »
Hi.
I founded an issue with default gateway switching and I appreciate any sugestion or workaround.

I had a dual wan setup working fine.

Now I need access an internal network not accesible by the default gateway.
Then, I add a new gateway gateway and define an static route. Great.
 
No problem until my default gateway was down, and the switch gateway mechanism select the internal gateway as default which is not correct.

I can manually add the static route but I need it survives a reboot.  How could I do this?

Many thanks

Norberto
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6299
  • Karma: 434
    • View Profile
Re: Default gateway switching and static route
« Reply #1 on: December 21, 2018, 07:10:20 am »
In advanced setup of new Gateway there is a checkbox to dont consider for Gateway selection
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

naltalef

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
    • View Profile
    • RedKlee
Re: Default gateway switching and static route
« Reply #2 on: December 21, 2018, 01:02:30 pm »
Hi. Thanks for your reply.
Sorry, I don't find that option in davanced setup.
Only: weight, latency & packet loss threshold and probe interval.

Norberto

Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6299
  • Karma: 434
    • View Profile
Re: Default gateway switching and static route
« Reply #3 on: December 21, 2018, 03:05:36 pm »
Sorry ... "Mark Gateway as Down"
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

naltalef

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
    • View Profile
    • RedKlee
Re: Default gateway switching and static route
« Reply #4 on: December 21, 2018, 08:37:29 pm »
Hi.
You are right! In adition is it necesary unmark "Disable Gateway Monitoring" .

Thanks!


Quote from: mimugmail on December 21, 2018, 03:05:36 pm
Sorry ... "Mark Gateway as Down"
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6299
  • Karma: 434
    • View Profile
Re: Default gateway switching and static route
« Reply #5 on: December 21, 2018, 08:53:13 pm »
You can disable, yes
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Default gateway switching and static route
 

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