Wan Fai lback
When the WAN interface has a static ip and the system fails over the gateway to a tier2 opt1 interface it will not failback to the tier1 interface's gateway when it comes back up.
If the Wan interface has a dhcp ip address it fails back properly.
I have notifications enabled and do not receive any notification when the wan1 interface comes back up if it has a static ip.
Status - Gateway shows the tier1 Wan interface as being up.
#4 Updated by Phil Parris over 9 years ago
I see in the logs "Filter Reload" when wan comes back up. I've also ran the PfSctl -c 'filter reload' manually and it will not switch back to tier1.
More detail is that I have wan set as default, priority is 1 and it is tier1.
When I stated that it will fail back with dhcp that was with me pulling the cable. If I leave the link up and down the monitor ip then it will not come back up.
#5 Updated by Phil Parris about 9 years ago
For anyone watching this bug report, i've created a workaround until it gets officially fixed.
create a file /root/failback.php with the following code:
exec("/usr/local/sbin/pfSctl -c 'filter reload'");
then in /etc/inc/gwlb.inc
change the line:
command off "/usr/local/sbin/pfSctl -c 'filter reload'"
command off "/usr/local/bin/php /root/failback.php"
#9 Updated by Ermal Luçi about 9 years ago
If apinger marks a gateway as down as soon as it is up it will mark it as availble and the pool will switch to it for sure.
I have not seen any report of this not working and if you claim so please provide the system logs on this.
Also a description of how your system is setup.