How to Implement ECMP (Load Balancing) on the Firewall
Objective
Equal Cost Multipath (ECMP) is a new feature introduced in PAN-OS 7.0. It provides multipath support for "equal cost" routes going to the same destination. There is a max of 4 equal cost paths supported
Without this feature, if there are multiple equal-cost routes to the same destination, the virtual router chooses one of those routes from the routing table and adds it to its forwarding table; it will not use any of the other routes unless there is an outage in the chosen route.
ECMP load balancing is done at the session level, not at the packet level—the start of a new session is when the firewall (ECMP) chooses an equal-cost path
This article focuses on basic configuration to achieve ECMP on the firewall
Environment
- PAN-OS 7.0 or higher.
- ECMP (Equal Cost Multi-Path)
Procedure
Additional Information
Verify ECMP is working:
Monitor > Traffic Logs (with different zone)
Monitor > Traffic Logs (with same zone)
Route installed for ECMP has a "E" flag in it:
Note: For detailed information on ECMP, please click here