Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Losing default route several times a day
« previous
next »
Print
Pages: [
1
]
Author
Topic: Losing default route several times a day (Read 4111 times)
NOYB
Jr. Member
Posts: 75
Karma: 6
Losing default route several times a day
«
on:
December 15, 2017, 11:25:12 pm »
Several times every day the default route vanishes.
Save and apply gateway re-establishes the default route.
Is there a known issue or resolution? If not could use guidance in troubleshooting this.
Thanks.
17.7.10 on VirtualBox 5.2.2
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Losing default route several times a day
«
Reply #1 on:
December 16, 2017, 08:12:13 am »
Hi,
there are some issues wit Mulit WAN and pppoe/dhcp, but as you are using Virtualbox should be static?
Do you have some logs from system.log?
Michael
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
NOYB
Jr. Member
Posts: 75
Karma: 6
Re: Losing default route several times a day
«
Reply #2 on:
December 16, 2017, 10:09:26 am »
It is multi WAN. Have narrowed it down to OPT1 interface DHCP renewal causing the default route on WAN interface to be removed. Can manually trigger it at will by doing release/renew on the OPT1 interface.
Edit:
It is standard Ethernet interface. No pppoe etc.
«
Last Edit: December 16, 2017, 10:14:31 am by NOYB
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Losing default route several times a day
«
Reply #3 on:
December 16, 2017, 01:18:53 pm »
I have one system with dhcp as default gateway and static as second running fine in production.
If you run local services on it (like OpenVPN listening on any) be sure to set in:
Firewall - Settings - Advanced:
Kill states: ticked
Skip rules: not ticked
Gateway switching: ticked
Sticky connections: ticked
Shared forwarding: ticked
Disabled force gateway: ticked (only important for DNAT in your LAN from both WANs)
I did some testing, perhaps you want to share your experiences:
https://github.com/opnsense/core/issues/1821
This week I did intensive testing witch Franco for pppoe as default and static (LTE) as second, but not really satisfying .. but we are on a good track
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
NOYB
Jr. Member
Posts: 75
Karma: 6
Re: Losing default route several times a day
«
Reply #4 on:
December 19, 2017, 01:01:24 pm »
Finally got around to exploring those settings.
Gateway switching prevents OPT1 interface DHCP release/renew from causing the default route on WAN interface from being removed.
"If the link where the default gateway resides fails switch the default gateway to another available one. This feature has been deprecated."
Unfortunately gateway switching is not the desired behavior. Besides, the feature has been deprecated.
But perhaps this can point someone in the direction of the cause.
«
Last Edit: December 19, 2017, 01:06:23 pm by NOYB
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Losing default route several times a day