About Link Monitoring for Cloud-Managed Fireboxes

Applies To: Cloud-managed Fireboxes

Overview

Link monitoring verifies whether a network on a cloud-managed Firebox can reach destinations beyond your network perimeter. The Firebox sends probe traffic through the network to one or more link monitoring targets. If the required targets do not respond, the Firebox marks the interface inactive. If the required targets start to respond again, the Firebox marks the interface active.

Software-Defined WAN (SD-WAN) uses this interface status, and optionally loss, latency, and jitter calculated from probe results, to decide when traffic fails over or when an interface leaves path selection:

  • For an SD-WAN Failover configuration, if the preferred interface is inactive or exceeds the configured loss, latency, and jitter values, traffic fails over to a different interface.
  • For an SD-WAN Round-Robin configuration, an interface is removed from path selection if it is inactive or exceeds configured loss, latency, and jitter values.

Link monitoring is required for these SD-WAN features:

  • SD-WAN for internal or guest networks
  • SD-WAN measurement-based failover

For more information about SD-WAN, go to Configure SD-WAN.

For information about how to enable and configure link monitoring, go to Configure Link Monitoring for a Cloud-Managed Firebox.

Supported Networks

You can enable link monitoring for these network types:

External networks

When you enable link monitoring for an external network, the default settings ping the network gateway. For meaningful connectivity results, we recommend that you configure custom link monitoring settings and select targets farther upstream than the default gateway. To configure measurement-based SD-WAN routing for external networks, you must configure link monitoring for those networks.

Note: If an external network is a member of a FireCluster configuration, a multi-WAN failover caused by a failed connection to a link monitoring target does not trigger FireCluster failover. FireCluster failover occurs only when the physical interface is down or does not respond.

Internal and guest networks

When you enable link monitoring for an internal or guest network, you can optionally specify a next hop. An SD-WAN action that includes this network uses the next hop address to route link monitor traffic and SD-WAN traffic for the network. If you do not specify a next hop, the Firebox uses standard routing for link monitor traffic. Before you can add an internal or guest network to an SD-WAN action, you must enable link monitoring for that network.

Supported Targets

You can have up to three targets for one network. Link monitoring supports these types of targets:

  • Ping — Pings an IP address or domain name
  • TCP — Sends TCP probes to an IP address or domain name, and a port number
  • DNS — Queries the IP address of a DNS server for the specified domain name

You can enable more than one target type for a network, and you can add more than one target of the same type. For example, you can configure three ping targets, or you can configure a ping target, a TCP target, and a DNS target.

Recommendations for Targets

To make sure traffic fails over to a different interface when network issues occur, we recommend that you:

  • Configure at least two link monitoring targets for each external network.
  • Select an effective link monitoring target. In most cases, we recommend that you select a target other than the default gateway. If you enable link monitoring for an external network but do not configure a custom target, the Firebox pings the network gateway to find the interface status. The default gateway is usually the Internet service provider (ISP) modem or router. The default gateway is an unreliable target for these reasons:
    • If ISP equipment just beyond the modem cannot connect to the Internet, but the default gateway still responds when the Firebox pings it, the Firebox does not detect the interface as inactive. This can cause traffic loss because the Firebox continues to send packets through an inactive interface that appears active.
    • Some ISP equipment might be configured not to respond when you ping it.
  • Select targets that have a record of high uptime, such as servers hosted by your ISP.
  • Select targets hosted by organizations that expect and allow your traffic, such as your ISP or another company you have a relationship with. If the owner of the target does not expect traffic from your Firebox, they are more likely to drop the traffic.
  • Configure different link monitoring settings for each external network. If you specify the same IP address or domain name for all external networks, a failure of that remote host causes all of your external networks to fail.
  • To make sure that the Firebox allows traffic from link monitoring targets, add the targets to the Blocked Sites Exceptions list. For more information, go to Add Exceptions on a Cloud-Managed Firebox.

Recommendations for Ping Targets

  • To find a good link monitoring target, you can run the traceroute command to an external IP address. We recommend a ping target on the ISP network that is two or three hops beyond the modem or router. The DNS servers provided by your ISP might work well.
  • If a remote site is critical to your business operations, such as a credit card processing site or business partner, ask the site administrator if you can monitor a device at the site to verify connectivity.
  • Ping an IP address, not a domain name. If you ping a domain name, DNS is required. A DNS server issue can cause a false indication of interface failure.

Recommendations for TCP Targets

Do not specify a TCP link monitoring target unless the company that maintains the target host agrees. If you specify TCP to monitor a link to a remote host, the company that manages the remote host might block traffic from the Firebox. This can occur if the company considers the idle TCP connections as a potential scan or attack.

Recommendations for DNS Targets

Some DNS servers and ISP equipment block pings that continue for an extended duration. To avoid this issue, configure a DNS target instead of a ping target.

Probe Settings

When you add link monitoring targets, you can specify how often the Firebox probes the targets. The Firebox uses the results of these probe attempts to determine whether the interface is active or inactive. If you configure measurement-based SD-WAN routing, the Firebox also uses the probe results to calculate loss, latency, and jitter.

In the Link Monitoring > Probe Settings section, you configure these settings for each network. These settings apply to all link monitoring targets you configure for a network. For example, if you configure a ping target and a TCP target and specify a probe interval of 5 seconds, both targets use a probe interval of 5 seconds.

Measure Loss, Latency, and Jitter for SD-WAN

Selects which target the Firebox uses to measure loss, latency, and jitter for SD-WAN. For more information about measurement-based SD-WAN, go to Configure SD-WAN.

Require a Successful Probe to All Targets to Define the Interface as Active

When you configure more than one target, you can select this option. If you select this option, the Firebox considers the interface active only when probes to all configured targets succeed. If you do not select this option, a successful probe to any configured target can define the interface as active.

Probe Interval

The number of seconds between each ping, TCP, or DNS probe attempt. The default value is 5 seconds.

Deactivate After

The number of consecutive unsuccessful probes required to consider an interface inactive. The default value is 3 consecutive failures.

For links that drop packets intermittently, such as some cellular backup connections, we recommend that you increase the Deactivate After value so that temporary packet loss does not cause an unnecessary failover.

Reactivate After

The number of consecutive successful probes required to consider an interface active. The default value is 3 consecutive successes.

In certain cases, the Firebox disregards the Probe Interval, Deactivate After, and Reactivate After settings:

  • Physical link disconnection or reconnection — If the interface cable is unplugged, for example, the Firebox immediately considers the interface inactive. If the cable is plugged in again, the Firebox considers the interface active after one successful probe.
  • Link monitoring configuration change — If you change the IP address of a link monitoring target, for example, the Firebox immediately probes the target and updates the interface status as active or inactive.

SD-WAN without Link Monitoring

If you do not enable link monitoring for networks in an SD-WAN action, the Firebox cannot detect logical link failures for those networks. Without link monitoring targets, failover occurs only after a physical disconnection, or if a valid IP address is not assigned to the interface (if the interface is dynamic). This can lead to a network outage in certain cases.

For example, if you disconnect the cable for the preferred external network, connections fail over to another network. This occurs because the Firebox detected a physical disconnection.

However, if the preferred network becomes unavailable because of issues outside your network, failover does not occur because the Firebox has not detected a logical link failure. The Firebox requires link monitoring targets to detect logical link failures. In this case, a network outage can occur because the Firebox continues to send traffic to a network with no WAN availability.

Related Topics

Configure Link Monitoring for a Cloud-Managed Firebox

Configure SD-WAN

Interpret SD-WAN Data

About Firebox Networking Settings