Configure dual WAN failover detection

Failover detection is the mechanism that lets Insight detect if the primary WAN interface is up. If the interface is down, Insight initiates a failover to the secondary WAN interface. Insight then monitors both WAN interfaces and when the primary WAN interface comes back up, failover detection lets Insight switch back to the primary WAN interface.
Note: A dual WAN traffic rule takes priority over a WAN failover. Therefore, after a WAN failover, traffic that is subject to a traffic rule for a specific WAN interface might stop if that WAN interface is down. That is, the traffic might not fail over to the other WAN interface. For more information, see Manage dual WAN traffic rules.

By default the WAN1 port is set as the primary interface and the WAN2 port is set as the secondary interface. However, you can change the setting so that the WAN2 port functions as the primary interface and the WAN1 port as the secondary interface.

Insight supports the following types of failover detection:
  • Ping the WAN DNS server: Insight sends pings to the DNS servers that are already configured for the primary and secondary interfaces.
  • Ping the WAN gateway: Insight sends pings to the gateways that are already configured for the primary and secondary interfaces.
  • Ping custom IP addresses: Insight sends pings to custom gateways that you must configure for the primary and secondary interfaces.
  • Query the WAN DNS server: Insight sends DNS queries to the DNS servers that are already configured for the primary and secondary interfaces.
  • Query custom IP addresses: Insight sends DNS queries to custom DNS servers that you must configure for the primary and secondary interfaces.

In a WAN failover configuration with two WAN interfaces, if a query or ping does not yield a response after the specified number of retries (the default is five retries), Insight automatically switches to the active interface. This process is referred to as a failover.

For example, if four queries to the WAN1 port fail, Insight automatically switches to the WAN2 port. After the failover, Insight continues to send queries or pings to the WAN1 port. If the WAN1 port comes back up and responds to a query or ping, Insight switches back to the WAN1 port.

To configure failure detection:

  1. Access the Insight Cloud Portal.
    For more information, see Log in to the Insight Cloud Portal.
    The Insight dashboard displays.
  2. Click the Locations tab.

    The Locations page displays.

  3. Select the name of a location.

    The location dashboard displays.

  4. Select the Devices tab, and click the name of the router.
    The router dashboard displays.
  5. Click Settings > WAN > Dual WAN.
  6. Select Configuration.
    The page displays the failure detection options.
  7. From the Primary WAN menu, select WAN1 or WAN2.
    The selected interface functions as the primary WAN interface in the dual WAN configuration.

    The selection from the Secondary WAN menu is automatically adjusted because there are only two WAN interfaces.

  8. From the Failure Detection Method menu, select the failure detection method and select where Insight must send the ping or query:
    • ping: Insight sends pings to the device that you select:
      • Ping WAN DNS: Insight sends pings to the DNS server IP addresses that you already configured for the WAN1 and WAN2 ports.
      • Ping WAN Gateway: Insight sends pings to the gateway IP addresses that you already configured for the WAN1 and WAN2 ports.
      • Ping WAN Custom: Insight sends pings to custom IP addresses that you must enter in the IP address fields in the WAN1 Internet Connection Test and WAN2 Internet Connection Test sections.
    • DNS lookup:
      • Lookup WAN DNS: Insight sends queries to the DNS server IP addresses that you already configured for the WAN1 and WAN2 ports.
      • Lookup WAN Custom: Insight sends queries to custom IP addresses that you must enter in the IP address fields in the WAN1 Internet Connection Test and WAN2 Internet Connection Test sections.
  9. If you select the Lookup WAN Custom or Ping WAN Custom radio button in the previous step, type the IP addresses in the DNS 1 and DNS 2 fields in both the WAN 1 Configuration and WAN 2 Configuration sections.
  10. In the Number of retries field, enter the number of times that Insight resends a query or ping after it did not receive a response from the WAN1 or WAN2 ports. The default number of retries is 5. That means that after five failed responses, Insight fails over to the active interface. For example, if four queries to the WAN1 port fail, Insight automatically fails over to the WAN2 port. The range is from 1 to 10 retries.
  11. In the Retry Interval field, type the period in seconds after which Insight sends a query or ping to the WAN1 and WAN2 ports to determine their status (up or down).
    By default, the period is 5 seconds. The range is from 1 to 3600 seconds.
  12. Click the Save button.
    Your settings are saved.