> For the complete documentation index, see [llms.txt](https://doc.engenius.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.engenius.ai/cloud-configuration-guide/topics/gateway-high-availability/engenius-gateway-high-availability-ha.md).

# EnGenius Gateway High Availability (HA)

### Ensuring Resilient, Cloud-Visible Connectivity for Modern Edge Networks

## Glossary of Key Terms

| **Term**           | **Definition**                                                                                                                           |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **HA**             | High Availability — an architecture designed to minimize service downtime through redundancy                                             |
| **Active/Standby** | A redundancy model in which one node handles live traffic (Active) while the other remains synchronized and ready to take over (Standby) |
| **VIP**            | Virtual IP — a shared IP address that moves between nodes during failover to maintain consistent service addressing                      |
| **CARP**           | Common Address Redundancy Protocol — the protocol used for heartbeat-based peer health monitoring between HA nodes                       |
| **HA Sync Link**   | A dedicated link between the Master and Backup units used for state synchronization                                                      |
| **Failover**       | The process by which the Backup unit assumes the active role when the Master unit becomes unavailable                                    |
| **WAN**            | Wide Area Network — the uplink connection(s) providing Internet or site-to-site connectivity                                             |
| **NAT**            | Network Address Translation — a function that maps private IP addresses to public addresses for Internet access                          |
| **VPN**            | Virtual Private Network — an encrypted tunnel for secure remote access or site-to-site connectivity                                      |
| **DHCP**           | Dynamic Host Configuration Protocol — a service that assigns IP addresses to network clients                                             |

## 1. Executive Summary

In today's always-on business environment, gateway downtime is no longer a minor inconvenience. At the network edge, the gateway is the policy enforcement point for security, the control point for VPN connectivity, and the traffic anchor for NAT, port forwarding, and inter-site communication. When that gateway fails, multiple services can be affected simultaneously.

**EnGenius Gateway High Availability (HA)** delivers a resilient **Active/Standby architecture** with synchronized configuration, supported runtime state synchronization, and centralized cloud visibility. By eliminating the gateway as a single point of failure, EnGenius HA helps organizations maintain critical edge services while keeping deployment and day-to-day operations manageable.

EnGenius HA delivers three core operational benefits:

* **Resilient failover architecture** for distributed edge environments
* **Supported state synchronization** to reduce service disruption during role transition
* **Centralized cloud visibility** for configuration, monitoring, validation, and ongoing operations

Under validated deployment conditions, the HA system targets **node-level failover within 30 seconds**. This is an infrastructure failover objective — not a universal application recovery guarantee. Peer failure detection, node role transition, and application-layer recovery are related but distinct processes. Actual recovery behavior varies by service type, WAN conditions, remote peer behavior, session timing, and deployment topology.

EnGenius Gateway HA is especially well suited for branch offices, retail and distributed sites, multi-site enterprise deployments, education environments, and MSP-managed networks that require strong service availability with centralized visibility.

This white paper outlines the architecture, failover behavior, service continuity model, key differentiators, and deployment considerations of EnGenius Gateway HA for technical evaluators and deployment stakeholders.

For implementation details and step-by-step procedures, refer to:

* [**EnGenius Gateway High Availability Quick Start Guide**](https://doc.engenius.ai/cloud-configuration-guide/topics/high-availability/engenius-gateway-high-availability-quick-start-guide) — Physical setup and initial provisioning
* [**EnGenius Gateway HA Architecture & Design Guide** ](https://doc.engenius.ai/cloud-configuration-guide/topics/high-availability/engenius-gateway-ha-architecture-and-design-guide)— Validated topology design and deployment best practices

## 2. Why High Availability Matters at the Network Edge

For many organizations, the gateway is more than an Internet access device. It is the policy enforcement point for security, the control point for VPN connectivity, and the traffic anchor for NAT, port forwarding, and inter-site communication. As more critical services are consolidated at the edge, gateway availability becomes directly tied to business continuity.

A gateway failure can interrupt more than user browsing. It can disrupt remote access, break branch-to-HQ connectivity, affect security enforcement, and impact access to SaaS or other business-critical systems. In distributed environments without local IT support, recovery delays extend that business impact even further.

Traditional redundancy models often increase cost and operational complexity. Many rely heavily on manual intervention, CLI-driven administration, or infrastructure designs that are difficult to standardize across many sites. EnGenius Gateway HA addresses these challenges with a model that is easier to deploy, easier to maintain at scale, and fully visible through the cloud.

Key business drivers for HA at the network edge include:

* Reducing downtime caused by hardware failure or uplink disruption
* Maintaining access to cloud applications and remote services
* Preserving security and policy enforcement during node failure
* Supporting business continuity across distributed locations
* Minimizing manual failover operations and recovery effort
* Improving resilience in VPN- and policy-dependent environments

HA at the edge is no longer only a feature for large datacenter-style environments. It is increasingly a practical requirement for modern branch, retail, education, and managed deployments.

## 3. Architecture Overview

The EnGenius HA solution uses an **Active/Standby architecture** composed of two gateways:

* **Master unit**: Handles live production traffic
* **Backup unit**: Maintains synchronized configuration and supported runtime state, and monitors peer health through heartbeat exchange

![ha\_topology](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/fTXhRMZGzIpToVDDWgtB/Unknown%20image)

**Figure 1.** EnGenius Gateway HA topology overview. The diagram illustrates the relationship between the Master and Backup units, the HA communication path, and the role of the Virtual IP during failover.

### Key Components

* **Virtual IP (VIP)** — maintains consistent service addressing during role transition
* **Dedicated HA synchronization link** — enables peer communication and supported state synchronization between the Master and Backup units
* **CARP-based heartbeat monitoring** — drives failover decision-making based on peer health

### Design Principles

The EnGenius HA model is built around several practical design principles:

* **Single active forwarding role** to keep traffic handling predictable
* **Consistent service addressing through VIP ownership**
* **Fast peer health awareness through heartbeat monitoring**
* **Service-aware continuity behavior** based on synchronized state and supported recovery models
* **Centralized cloud visibility** for deployment validation and ongoing operations

This architecture reduces service interruption while keeping operational behavior understandable for administrators and partners deploying HA across multiple sites.

For step-by-step cabling instructions, onboarding procedures, and initial cloud provisioning details, refer to the **EnGenius Gateway High Availability Quick Start Guide**.

## 4. Failover Operation

The HA system continuously monitors peer health through heartbeat exchange and role coordination. When the active node becomes unavailable, the standby node evaluates peer status and transitions to the active role according to HA logic.

### Failure Detection

* **Heartbeat interval**: approximately 1 second
* **Failure detection time**: approximately 3 seconds after heartbeat loss

**Note:** These values describe internal peer-monitoring behavior. Full application-layer recovery may require additional time depending on service type, WAN conditions, and client behavior.

![mermaid-diagram](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/V3cQt6J1pOyba4yYDGUj/Unknown%20image)

**Figure 2.** Simplified failover timeline showing failure occurrence, peer failure detection, and VIP takeover completion under validated deployment conditions.

### Normal Operating State

![normal](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/C2CuJVw9sO95dT33puh4/Unknown%20image)

**Figure 3.** Normal operating state. The Master unit handles live traffic while the Backup unit remains synchronized and ready to assume the active role if needed.

### Failover to Backup Unit

![failover](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/Vk5WryOn4U4esrWMU2gx/Unknown%20image)

**Figure 4.** Typical role transition after active-node failure. The Backup unit takes over the active role, assumes the VIP, and resumes traffic forwarding.

### Typical Failover Sequence

1. The active unit stops responding to heartbeat monitoring
2. The standby unit determines that the peer is unavailable
3. The standby unit transitions to the active role
4. The VIP is assumed by the new active node
5. Forwarding and supported services resume according to the applicable continuity model

### Scope and Conditions

The 30-second failover objective applies under validated deployment conditions: identical hardware models, aligned firmware versions, a dedicated HA sync link, and a tested topology. Actual failover timing may vary in environments that deviate from these conditions. EnGenius recommends validating failover behavior in a lab or staging environment prior to production rollout.

## 5. Multi-WAN Role Selection and Failover Logic

In multi-WAN HA deployments, role selection is influenced not only by node health but also by uplink availability and configured WAN priority across both nodes.

EnGenius HA does not treat failover as a simple node-to-node switchover. Instead, it evaluates uplink availability in a defined priority order: **the HA pair prefers to keep traffic on the node that owns the highest-priority available uplink.** Role changes happen only when the active node's uplinks are exhausted and the peer has a higher-priority path available. This reduces unnecessary role changes and aligns failover behavior with WAN priority policy rather than with node status alone.

### Multi-WAN Failover Reference

![Figure5](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/q01KYNFEU6zF990dqePU/Unknown%20image)

**Figure 5.** Multi-WAN HA role-selection reference across Master and Backup uplinks.

### Link Definitions

| **Label** | **Description**             |
| --------- | --------------------------- |
| A         | Master Primary WAN          |
| B         | Master Secondary Connection |
| C         | Master 3rd Connection       |
| D         | Backup Primary WAN          |
| E         | Backup Secondary Connection |
| F         | Backup 3rd Connection       |

### Role Selection Behavior

| **Available Link Condition**           | **Resulting Active Node** |
| -------------------------------------- | ------------------------- |
| A is available                         | Master remains active     |
| A fails, D is available                | Fail over to Backup       |
| A and D fail, B is available           | Master remains active     |
| A, D, and B fail, E is available       | Fail over to Backup       |
| A, D, B, and E fail, C is available    | Master remains active     |
| A, D, B, E, and C fail, F is available | Fail over to Backup       |
| All links fail                         | Master remains active     |

This behavior reflects a broader design goal: combining **node redundancy** with **WAN-aware role logic** so failover decisions account for both node health and uplink availability across the pair.

## 6. Service Continuity During Failover

A key design goal of EnGenius Gateway HA is to reduce service disruption during failover by preserving supported service state wherever possible. Because different services recover in different ways, continuity should be understood as a **service-aware model** — not a single uniform behavior across all traffic types.

### Continuity Type Definitions

Before reviewing the reference table, familiarize yourself with the following continuity types:

| **Continuity Type**                  | **Meaning**                                                                                            |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| **Seamless continuity**              | Continuity is maintained without expected endpoint-side re-establishment under supported HA conditions |
| **Near-seamless continuity**         | Existing flows are preserved or resumed with minimal disruption under supported conditions             |
| **Policy continuity**                | Service logic remains aligned after failover, even where there is no active session to preserve        |
| **Brief interruption with recovery** | The service typically resumes quickly, but a short interruption may occur                              |
| **Client reconnection required**     | The endpoint must re-establish the session after node transition                                       |
| **Automatic client recovery**        | The endpoint is designed to reconnect automatically with limited user intervention                     |

### Service Continuity Reference

| **Service / Function** | **Continuity Type**              | **Expected Behavior During Failover**                                                    | **Expected User Impact**                                                                            |
| ---------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| NAT Sessions           | Near-seamless continuity         | Existing session state is preserved when supported                                       | Existing traffic flows can continue with minimal disruption                                         |
| Port Forwarding        | Near-seamless continuity         | Forwarding behavior remains available after role transition                              | Inbound service availability remains aligned, with supported flows resuming with minimal disruption |
| Firewall Rules         | Policy continuity                | Policy enforcement remains aligned across both nodes                                     | No policy inconsistency is expected during takeover                                                 |
| Site-to-Site VPN       | Brief interruption with recovery | Tunnel behavior is preserved or rapidly resumed depending on peer and traffic conditions | Existing traffic may continue or recover with brief interruption                                    |
| IPSec Client VPN       | Client reconnection required     | Client tunnel re-establishment is required after failover                                | Remote users may need to reconnect                                                                  |
| SecuPoint Client VPN   | Automatic client recovery        | Client is designed to reconnect automatically                                            | Brief interruption with rapid recovery                                                              |
| DHCP Leases            | Seamless continuity              | IP lease state is continuously synchronized                                              | Surviving unit retains full awareness of assigned IPs, preventing IP conflicts                      |

## 7. Key Differentiators

The table below summarizes how EnGenius Gateway HA compares to conventional HA approaches across five key dimensions:

| **Dimension**        | **Conventional HA**                 | **EnGenius Gateway HA**                                 |
| -------------------- | ----------------------------------- | ------------------------------------------------------- |
| Management           | CLI-heavy, per-site configuration   | Centralized cloud management across all sites           |
| Licensing cost       | Full license required on both nodes | No additional PRO license required for Backup unit      |
| Firmware maintenance | Full outage typically required      | Rolling upgrade — client Internet access maintained     |
| Service continuity   | Node takeover only                  | State-aware continuity for NAT, DHCP, firewall, and VPN |
| Failover logic       | Node-health only                    | Node health + WAN-aware uplink priority across the pair |

The sections below expand on each of these differentiators.

### 7.1 Cloud-Native Operations for Distributed Environments

**Who it matters to:** Organizations operating across many sites that need centralized visibility without CLI-heavy workflows — particularly those without dedicated local IT staff at each location.

EnGenius HA is configured and monitored entirely through EnGenius Cloud. Administrators gain real-time role visibility, failover event history, and operational status for every HA pair from a single interface — without needing to access individual devices locally.

### 7.2 Practical Redundancy Without Excessive Licensing Overhead

**Who it matters to:** Distributed enterprise and branch deployments where HA adoption has historically been limited by cost.

The Backup unit does not require a PRO license, lowering the total cost of ownership compared with HA models that require equivalent licensing on both nodes. This makes HA more accessible for organizations deploying across many sites.

### 7.3 Continuous Client Internet Access During Firmware Upgrades

**Who it matters to:** Operational teams that need to maintain uptime during scheduled maintenance windows.

EnGenius HA supports a rolling upgrade workflow. One unit continues handling production traffic while the peer is upgraded sequentially. Client Internet access is maintained throughout the maintenance window — no full site-wide outage is required for planned firmware updates.

### 7.4 Service-Aware Continuity Instead of Simple Node Replacement

**Who it matters to:** Teams managing VPN-dependent environments or services where session continuity matters.

EnGenius HA synchronizes supported runtime state between nodes to help preserve service behavior during failover. NAT sessions and port forwarding behavior are designed for continuity during supported failover scenarios. Firewall policy remains aligned during role transition without requiring manual re-application.

### 7.5 WAN-Aware Resilience Across the HA Pair

**Who it matters to:** Sites with multiple WAN uplinks where uplink failure is more common than complete hardware failure.

Failover logic accounts for uplink availability across both nodes, not just node liveness. WAN priority policy is synchronized across the HA pair, and role decisions reflect uplink availability at the time of failure — keeping traffic on the most appropriate available path.

## 8. Deployment Requirements and Design Considerations

To achieve reliable HA behavior, the following requirements and design considerations should be observed.

### Core Requirements

* Master and Backup should use **identical supported hardware models**
* Both units should run **aligned and supported firmware versions**
* A **dedicated HA synchronization link** is recommended for reliable peer communication and state exchange
* Deployment should follow validated topology and cabling guidance

**Supported hardware models and validated firmware versions are documented in the EnGenius Gateway HA Architecture & Design Guide.**

### Why These Requirements Matter

HA outcomes are strongly influenced by deployment quality. A well-aligned HA pair provides more predictable role transition, uplink selection, and service continuity behavior. EnGenius recommends validating topology, WAN design, VPN behavior, and client recovery expectations before production rollout.

## 9. Failure Scenario Matrix

The table below summarizes representative HA failure scenarios and the expected system response for each condition.

**Note:** This matrix covers common failure domains. It does not represent all possible deployment scenarios. For edge cases and complex topologies, refer to the **EnGenius Gateway HA Architecture & Design Guide**

| **Scenario**                                   | **Expected Result**                                                                                                          |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Active unit power failure                      | Backup takes over the active role                                                                                            |
| Active-unit LAN link failure                   | Backup takes over the active role                                                                                            |
| Active-unit WAN link failure                   | Traffic switches according to configured WAN policy and available uplink priority                                            |
| HA synchronization link failure                | Peer communication is interrupted; failover coordination and synchronized state behavior may be affected                     |
| Active-unit WAN failure + HA sync link failure | Failover coordination is impaired; behavior depends on whether the Backup unit can independently confirm peer unavailability |
| All WAN links on both nodes fail               | Master remains active; no failover occurs; traffic is interrupted until uplinks recover                                      |
| Firmware upgrade in progress (rolling)         | One unit maintains production traffic while the peer is upgraded; client Internet access is preserved                        |

This matrix helps administrators understand how different failure domains affect HA operation. Node-level failures primarily affect role ownership and service takeover. WAN failures influence forwarding-path selection based on uplink policy. HA-link failures may reduce peer coordination and synchronized runtime behavior.

## 10. Monitoring and Visibility

Operational visibility is essential not only for troubleshooting, but also for validating HA readiness and maintaining confidence in production. EnGenius Cloud provides administrators with centralized visibility into HA status, role behavior, and event history.

Administrators can monitor HA operation through EnGenius Cloud, including:

**Current HA role status**

![Figure6](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/xIUptrn1MlRqTDe2VGqH/Unknown%20image)

**Figure 6.** HA role visibility within EnGenius Cloud.

**Real-time Master / Backup visibility**

![Figure7a](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/jB8QbozVd8X71VDo2VVh/Unknown%20image) ![Figure7b](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/XgFJgaABoZPyN9E1iLHv/Unknown%20image)

**Figure 7.** Real-time device role visibility for both Master and Backup units.

**Failover and recovery event logs** ![Figure8](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/Gz9BPIYPeaqtvdkzDZGk/Unknown%20image)

**Figure 8.** Event-level visibility for HA failover and recovery behavior.

**HA status dashboard**

![Figure9](https://content.gitbook.com/content/us0DBFfmoooUbiDkYdbq/blobs/qrpOp9gohqx5ZEKmg4Ln/Unknown%20image)

**Figure 9.** HA status monitoring for operational validation and troubleshooting.

### Operational Value of Cloud Visibility

These monitoring capabilities help administrators:

* Confirm current role ownership and HA health at a glance
* Review failover and recovery history across all managed sites
* Verify readiness before maintenance or operational changes
* Reduce troubleshooting time in distributed deployments without local IT support

Cloud visibility transforms HA from a hidden infrastructure mechanism into an operationally manageable, auditable service — a core part of the EnGenius HA value proposition.

## 11. Conclusion

EnGenius Gateway High Availability is more than a failover feature. It is a practical resilience model for modern edge networks that require high service availability without excessive deployment and operational complexity.

By combining fast node-level failover, service-aware state continuity, WAN-aware role selection, no-extra-license Backup unit support, and centralized cloud visibility, EnGenius HA gives organizations a cloud-managed edge resilience framework that is deployable, auditable, and operational at scale.

For organizations that can no longer treat gateway failure as an acceptable operational event, EnGenius Gateway HA provides a practical, proven path to resilient edge connectivity.

For step-by-step setup, validated deployment guidance, and implementation best practices, refer to:

* [**EnGenius Gateway High Availability Quick Start Guide**](https://doc.engenius.ai/cloud-configuration-guide/topics/high-availability/engenius-gateway-high-availability-quick-start-guide)
* [**EnGenius Gateway HA Architecture & Design Guide**](https://doc.engenius.ai/cloud-configuration-guide/topics/high-availability/engenius-gateway-ha-architecture-and-design-guide)

*Document applies to EnGenius Gateway HA supported hardware and firmware. Refer to the Deployment Guide for validated model and version information.*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.engenius.ai/cloud-configuration-guide/topics/gateway-high-availability/engenius-gateway-high-availability-ha.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
