Firewall high availability: active/passive, active/active, state sync and clustering
In short: A single firewall is a single point of failure for every connection through it. Firewalls are usually deployed in pairs: active/passive, where one forwards and the other waits, or active/active, where both forward. The pair synchronises connection state so failover is nearly invisible, uses dedicated heartbeat links, and monitors interfaces and paths to decide when to fail over.
Why HA is essential
The internet edge firewall, data centre firewall or VPN gateway often carries every user's traffic. If it fails or reboots for an upgrade without a partner, everything stops. All major firewalls (Palo Alto, Fortinet, Cisco, Check Point, Juniper, pfSense and others) support HA pairs, and many support clusters of more than two.
Active/passive
One firewall is active and handles all traffic; the other is passive (standby) and takes over if the active one fails. It shares the same configuration and, typically, the same virtual IP and MAC addresses, so neighbours do not notice which unit is active. This is the most common and simplest design.
Active/active
Both firewalls handle traffic at the same time, for example each owning some VLANs, virtual systems or sessions, and each is ready to take over the other's share. It uses both units' capacity in normal times, but the combined load must still fit on one unit during a failure, and it brings more complexity, including asymmetric routing where a session's packets pass through both units.
State synchronisation
Stateful firewalls keep a table of every active connection, NAT translation and VPN session. The active unit continuously copies this state to its partner over a sync link. After failover, existing connections keep working because the new active unit already knows them. Without state sync, every TCP session would be dropped and VPNs would have to reconnect.
Heartbeats and failover triggers
- The units send heartbeats to each other over dedicated HA links (use two, ideally on separate interfaces, and connect them directly).
- Link monitoring: failover if a monitored interface goes down.
- Path monitoring: failover if the firewall can no longer reach key addresses, such as the upstream router.
- Preemption decides whether the original active unit takes back control when it recovers. Often left off to avoid an extra interruption.
If all heartbeat links fail while both units are healthy, both may become active (split brain), causing duplicate addresses and chaos. Redundant HA links and backup heartbeat paths prevent this.
Surrounding design
- Connect each firewall to different switches (or a switch stack/vPC pair), and power them from different circuits.
- Make sure upstream and downstream devices can follow the virtual MAC or use dynamic routing with the pair.
- Check licensing: some vendors require both units to have matching licences.
Upgrades without downtime
A typical process: upgrade the passive unit, fail over to it, check everything, then upgrade the other. Some vendors support upgrading pairs with different versions for a short time; follow the vendor's documented path exactly.
Real-world example: the failover nobody noticed
A power supply failed on the active firewall at a retail head office during trading hours. The passive unit took over within a second, with state sync preserving card payment sessions and VPN tunnels to 80 stores. The only sign was an alert to the network team, who replaced the power supply that evening and failed back after hours.
Practice
What does state synchronisation achieve in a firewall pair?
What is split brain in a firewall cluster?
In active/active designs, what capacity rule still applies?
Key takeaways
- Firewall pairs remove a single point of failure at critical points.
- Active/passive is simplest; active/active uses both but adds complexity.
- State sync keeps sessions alive; heartbeats and monitoring trigger failover.
- Use redundant HA links, diverse switches and power, and upgrade one unit at a time.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.