Screwing around with failover in AOS. So it looks to me like WAN failover is built right in here thanks to this rule, yeah?
K so if I’m reading the rule properly, if less than 100KB has traversed the link in the configured 300s interval, it sends a ping to iana.org, and if that fails, tries google.com
If both of those pings fail, it then waits two seconds, and tries again. Repeats this process two more times for a total of three retries (3 max failures)
At that point, it fails over the interface to the next interface in the WAN interface priority order. The order as I understand it is Ethernet > WiFi as WAN > Cellular
Is this an accurate assessment of the default rule?
So let’s say my upstream ethernet ISP fails right when the 300s interval has begun counting… I should have failover at about 310 seconds?
Also, is this approach prone to flip flopping interfaces ?
Does anyone have some configuration examples of failover/failback they’ve used for ALEOS and AOS?
And yes I’ve looked at the Multi-WAN Article. Looking for some config templates or examples past what’s in that article.
Hi @aharrison,
Welcome to our community!
The WAN Monitoring Rule under the Network Watchdog tab operates as follows:
If the detected traffic is less than 100KB, it sends a ping to iana.org. If the ping fails, it will then attempt to ping google.com.
If both pings fail, it will retry the second ping attempt after 5 minutes. If the second attempt also fails, it will perform a third and final attempt.
If the third attempt still fails, it will execute the action configured in the Monitoring Rule settings.
In my case, the configured action is ‘per interface restart’
You can see the corresponding log entry: “restarting XP1 Cellular” as shown below:
Mar 11 08:07:18 warning Watchdog_netwd: traffic monitoring on XP1 Cellular failed - not enough traffic detected (tx: 480, rx: 0, threshold: 100000)
Mar 11 08:07:18 warning Watchdog_netwd: ICMP ping monitoring to iana.org failed on XP1 Cellular
Mar 11 08:07:18 warning Watchdog_netwd: ICMP ping monitoring to google.com failed on XP1 Cellular
Mar 11 08:12:18 warning Watchdog_netwd: traffic monitoring on XP1 Cellular failed - not enough traffic detected (tx: 0, rx: 0, threshold: 100000)
Mar 11 08:12:18 warning Watchdog_netwd: ICMP ping monitoring to iana.org failed on XP1 Cellular
Mar 11 08:12:18 warning Watchdog_netwd: ICMP ping monitoring to google.com failed on XP1 Cellular
Mar 11 08:17:18 warning Watchdog_netwd: traffic monitoring on XP1 Cellular failed - not enough traffic detected (tx: 0, rx: 0, threshold: 100000)
Mar 11 08:17:18 warning Watchdog_netwd: ICMP ping monitoring to iana.org failed on XP1 Cellular
Mar 11 08:17:18 warning Watchdog_netwd: ICMP ping monitoring to google.com failed on XP1 Cellular
Mar 11 08:17:18 crit Watchdog_netwd: restarting XP1 Cellular
Please refer to the following link for more details:
Thanks,
1 Like
Jerdung, thank you SO MUCH for the detailed explanation! It helped me a lot!
Follow-up question:
Do you have some configuration examples of using Multi-WAN or what have you that AOS seems to come with?
Does it support Load Balancing of any kind? Not bonding, just good old fashioned load balancing - like interface A gets session A and session B gets interface B like round robin or whatever.
Do you have any configuration examples of the various rules available as you’ve seen them in the real world? Roaming avoidance, Signal Strength, WiFi SSID, and even the User-Defined policies.
Thank you very much!