Skip to main content
Version: v24.12.13

HA with CGW and MultiWAN Failover

This document explains how to set up high availability (HA), Cloud Gateway (CGW), and MultiWAN Failover, which is compiled from different sources.

High Availability (HA)

High Availability (HA) refers to computers (backup and master) that are always up and running and only go down for a short period. In networking, HA refers to a redundant system and a system that immediately starts working if the main computer fails. This ensures that services and information continue to be available even if hardware or software fails. HA uses load balancing, clustering, and data replication techniques to distribute the workload and keep services running.

Key aspects of HA configuration include:

  • Interface Configuration: Configure the network settings for both the master node and the backup node. Enter information such as a fixed IP address, netmask, gateway, and DNS server.
  • Node Creation: Create a master node and a backup node, decide who will do what, and configure heartbeat. Settings so that if something goes wrong with the master node, the backup node automatically starts working.
  • Synchronization Settings: Changing synchronization settings so that the backup node is always connected to the master node and both have the same data.
  • Verification: To see if the HA configuration is working properly, check the status of both nodes and see if the other node works if one node goes down.

For detailed configuration instructions, refer to the High Availability Documentation.


MultiWAN Failover

Failover is a method in which, if the main thing stops working, another backup thing automatically takes over. Multiway failover does the same thing for network connections. If one network connection goes down, traffic automatically switches to another backup connection. This keeps the network always up and running, and we can use the internet.

Key aspects of MultiWAN Failover configuration include:

  • Ethernet Interface Configuration: Setting up an Ethernet port for more than one internet connection and making sure the correct type is selected.
  • Failover Settings: Enable and configure MultiWAN failover. This includes sending information via email and checking if the interface is working properly.
  • Member Creation: To add new people to Lucy, combine the matrix and weights using the MultiWAN interface.
  • Policy Configuration: To create rules to determine how to send information through another route if one route is blocked.
  • Rules Configuration: To understand what traffic is like and to create traffic rules to regulate it.

For detailed configuration instructions, refer to the MultiWAN Failover Documentation.


Cloud Gateway (CGW)

A cloud gateway (CGW) is like a door that helps in reaching another network. It helps different networks to communicate with each other and exchange data. CGW can work in different ways.

  • Global Mode: All external traffic goes through the CGW.
  • Full Mode: All international, domestic, and special types of internet access go through CGW.
  • Selective Mode: CGW will only use the designated website and its address.

Key aspects of CGW configuration include:

  • Enabling/Disabling CGW: Turning CGW on or off when needed.
  • Mode Selection: Choose the right working method for CGW.
  • Policy Configuration: For traffic coming in or going out of the CGW, decide whether to allow it or not.
  • Whitelist/Blacklist Configuration: Create whitelists and blacklists to decide which traffic to allow and which to block.
  • Source Subnet Configuration: To tell where network traffic is coming from, type the source subnet IP.

For detailed configuration instructions, refer to the Traditional Cloud Gateway Documentation


Combining HA, MultiWAN, and CGW

Combined Benefits

Combining HA, MultiWAN, and CGW creates a robust and never-failing network that includes:

  • High Availability: Redundancy to prevent downtime.
  • Enhanced Connectivity: For increased bandwidth and failover, use more than one Internet connection.
  • Traffic Control: CGW is used to organize network traffic and keep it secure.

Configuration Considerations

  • Make sure the main network structure (master and backup nodes) is properly configured so that if one computer goes down, the other can continue to work.
  • Set up MultiWAN to use multiple internet connections simultaneously for failover and load balancing.
  • Use CGW to better organize and control the traffic of many vehicles coming and going.
  • To avoid conflicts, carefully plan how HA, MultiWAN policies, and CGW rules work together.

Example Scenario

A business requires continuous internet access (HA), utilizes two internet providers (MultiWAN), and needs to filter and control web traffic (CGW).

  1. HA: Configure master and backup nodes to ensure the network continues even if the hardware fails.
  2. MultiWAN: Set MultiWAN to automatically switch to a second internet connection if your first internet connection goes down.
  3. CGW: Implement CGW to block access to specific websites and enforce internet usage policies.