OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: naltalef on December 21, 2018, 03:21:42 am

Title: Default gateway switching and static route
Post by: naltalef 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
Title: Re: Default gateway switching and static route
Post by: mimugmail on December 21, 2018, 07:10:20 am
In advanced setup of new Gateway there is a checkbox to dont consider for Gateway selection
Title: Re: Default gateway switching and static route
Post by: naltalef 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

Title: Re: Default gateway switching and static route
Post by: mimugmail on December 21, 2018, 03:05:36 pm
Sorry ... "Mark Gateway as Down"
Title: Re: Default gateway switching and static route
Post by: naltalef on December 21, 2018, 08:37:29 pm
Hi.
You are right! In adition is it necesary unmark "Disable Gateway Monitoring" .

Thanks!


Sorry ... "Mark Gateway as Down"
Title: Re: Default gateway switching and static route
Post by: mimugmail on December 21, 2018, 08:53:13 pm
You can disable, yes