OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: keropiko on March 02, 2020, 01:21:39 pm

Title: Multiwan setup - Strange Behavior
Post by: keropiko on March 02, 2020, 01:21:39 pm
Hello all,

recently i had posted twice at the forum regarding connectivity problems i had.

Quote
https://forum.opnsense.org/index.php?topic=16081.0
https://forum.opnsense.org/index.php?topic=16075.0

After testing and searching, i found a strange behavior in my multiwan setup, and would like to know if it's normal or in someway it can be resolved.

At the beggining i thoung it was a DNS (unbound problem), after i saw that very often the ntpd and unbound service restarted related to the wan2 dhcp continuously trying to reload the connection (maybe providers problem).

Also since my connections have dynamic ips, and i use voip, the firewall option to kill stated when ip changes is enabled, and is the reason why i had the connectivity problems.

What i found out is, that even in a Failover setup, while the main connection (wan1) is active, if the wan2 connection, (which is set up as "UPSTREAM" in order to become default gateway in case wan1 fails) , for some reason restarts, then it triggers the option to kill the states (like if the dynamic ip changed) althouhg the default gateway from WAN1 is still active, so i remain without internet for a while, until the default gateway reloads.

If i disable the "upstream" option in the WAN2 gateway, then even if it reloads/restarts, it does not kill the states (from the firewall option).

If in some way i can provide more info so we can look at this problematic please let me know.

Best regards.