OPNsense Forum
Archive => 17.7 Legacy Series => Topic started by: NOYB 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
-
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
-
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.
-
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 :)
-
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.