Path Monitoring in Palo Alto Networks Firewalls

Overview

Path Monitoring is a feature in Palo Alto Networks firewalls that enables the device to verify the reachability of specified IP addresses by sending ICMP pings. If the monitored destinations become unreachable based on defined criteria, the firewall can take corrective actions such as removing static routes or triggering High Availability (HA) failover.

Usage with Static Routes

When configured with static routes, Path Monitoring allows the firewall to monitor the availability of the next-hop path. If the monitored destination becomes unreachable:

This mechanism is particularly useful in scenarios with multiple ISPs, where the firewall can switch to a secondary ISP if the primary path fails.

Path Monitoring with Multiple Destinations

Overview: Path Monitoring in Palo Alto Networks firewalls allows for the monitoring of multiple destination IP addresses to assess the health of a network path. By configuring multiple destinations, the firewall can make more informed decisions about route availability, especially in complex network environments.

Configuration Steps:

  1. Navigate to Network > Virtual Routers and select the appropriate virtual router.
  2. Go to Static Routes and select the static route you wish to monitor.
  3. Enable Path Monitoring for the selected route.
  4. Add up to eight Monitored Destinations:
    • Specify a Name for each destination.
    • Enter the Destination IP address to monitor.
    • Select the appropriate Source IP for the ICMP pings.
    • Set the Ping Interval and Ping Count as needed.
  5. Define the Failure Condition:
    • Any: The route is considered down if any one of the monitored destinations is unreachable.
    • All: The route is considered down only if all monitored destinations are unreachable.
  6. Optionally, set the Preemptive Hold Time to delay reinstating the route after recovery.
  7. Commit the configuration changes.

Best Practices:

Additional Resources:

Path Monitoring Timers and Active/Active HA Considerations

Path Monitoring Timers

Path Monitoring utilizes ICMP pings to assess the reachability of specified destinations. The behavior of Path Monitoring is governed by the following timers:

For instance, with default settings, if five consecutive pings (sent every 3 seconds) fail, the path is deemed down after 15 seconds. Once the path is reachable again, the firewall waits for 2 minutes before re-adding the static route.

Path Monitoring in Active/Active HA Configurations

In Active/Active HA setups, both firewalls actively process traffic and can independently perform Path Monitoring. Key considerations include:

Proper configuration ensures that each firewall can make informed decisions about path availability, enhancing the resilience of the Active/Active HA deployment.

Additional Resources

Application in High Availability (HA) Failover

In HA configurations, Path Monitoring can be used to monitor critical network paths. If the active firewall detects that a monitored path is down:

It's important to configure Path Monitoring carefully to avoid unnecessary failovers due to transient network issues.

Considerations and Caveats for HA

Maintaining VPN Tunnel Stability

For IPSec VPN tunnels, Path Monitoring (often referred to as Tunnel Monitoring) helps maintain tunnel stability by:

Proper configuration of Tunnel Monitoring ensures consistent VPN connectivity and reduces the risk of unexpected downtime.

Additional Resources