oosVersion 2.1

Active-Backup WAN

Active-Backup WAN setup guide

Active-Backup WAN normally uses the first-priority external connection and keeps another as backup. Failover switches to a backup when the primary connection fails the detection criteria. This example gives two user groups separate pairs of primary and backup connections.

Before You Begin

  • Confirm that actual cabling matches the port assignments below. Names such as eth0 and eth5 identify network ports. If your device differs, ask the network administrator to map the ports first.
  • Prepare working WAN connections and mobile network settings. This example uses DHCP to obtain IP addresses for eth5 and eth6 automatically. DHCP is a service that assigns network addresses.
  • Obtain VLAN 10’s management IP, netmask, address range, and DNS details from the administrator. DNS translates domain names into IP addresses. Do not guess these values from the screenshots.
  • Record the current settings and management connection. Changing a LAN port to WAN or changing its VLAN may interrupt access through that port.

The Two Example Networks

A LAN connects local devices. A VLAN is a logical network division on the same device. An SSID is a network name shown in the Wi-Fi list.

  • Group 1: Users and devices access the Internet through WAN interfaces (eth2 and eth5) using VLAN 1's LAN and Wi-Fi SSID.
  • Group 2: Users and devices access the Internet through WAN interfaces (Mobile Network-internet and eth6) using VLAN 10's LAN and Wi-Fi SSID.

1. Setup Port Type as WAN

First configure the ports used for external connections. Make sure your current management connection does not depend on a port you are about to change.

  1. Go to Networking > Forwarding > Port Type.
  2. Change the port type of eth5 and eth6 from LAN to WAN.
  3. Click Apply.

Port type setup interface

2. Multiple WAN Status Verification

The WAN List displays real-time WAN connection status, including Connected and Disconnected states.

  1. Go to Networking > WAN > Multiple WAN.
  2. Verify that eth5 and eth6 obtain IP addresses automatically via DHCP.
  3. Confirm that eth5 and eth6 show Connected (green) status.

Multiple WAN status list interface

3. Create VLAN

Create VLAN 10 for Group 2. Access mode assigns eth0 and eth1 to the specified VLAN in this example.

  1. Go to Networking > LAN > VLAN.
  2. Add VLAN ID 10.
  3. Click Add.

Add VLAN ID interface

  1. Select eth0 and eth1 in the VLAN Table.
  2. Click Edit to open the Edit VLAN Mode dialog box.
  3. Set Port Mode to Access and VLAN ID to 10.
  4. Click Apply.

Edit VLAN port mode interface

4. Create DHCP Server by VLAN

Create DHCP service for VLAN 10 so Group 2 can receive addresses automatically. Gateway & Management IP is the gateway and management address; Address ranges defines addresses available to clients. Use the administrator’s planned values and check for conflicts with other networks.

  1. Go to Networking > LAN > DHCP Server.
  2. Click Add to open the Add DHCP Server dialog box.
  3. Select VLAN ID 10.
  4. Enter a Description.
  5. Enter the Gateway & Management IP.
  6. Enter the Netmask, which defines the address’s network segment.
  7. Enable DHCP Server: ON.
  8. Specify the Address ranges.
  9. Select None or specify the Maximum lease time, the upper limit on a DHCP address lease. Use the administrator’s supplied value.
  10. Enter the DNS server addresses.
  11. Click Apply.

Add DHCP Server dialog box

5. Bind Multiple SSIDs to DHCP Server

Map each Wi-Fi network to its user group’s VLAN so wireless devices use that VLAN’s DHCP service. Use VID 1 for Group 1 and VID 10 for Group 2. VID means VLAN ID. Check both SSID mappings.

  1. Go to Networking > Wi-Fi.
  2. Click Setting to open the Setting dialog box.
  3. Enter the SSID, select WPA-2 authentication, and specify the VID.
  4. Toggle the SSID to ON.
  5. Click Apply.

Wi-Fi SSID setup interface

6. Bind WAN and Setup WAN Priority for VLAN 10

Assign VLAN 10 for Group 2 to eth6 and the mobile network, with eth6 preferred. The latency threshold and detection period below are example settings; confirm actual values for your network. Failback automatically returns to the primary connection when it recovers.

  1. Go to Networking > Forwarding > WAN Binding.
  2. Click the Bind icon for VLAN 10 to open the WAN Binding dialog box.
  3. Move Mobile Network-internet and eth6 from Available WAN to In Used WAN.
  4. Click Apply.
  5. Click the Edit icon for VLAN 10 to open the Failover dialog box.
  6. Set 1st WAN priority to eth6.
  7. Set 2nd WAN priority to Mobile Network-internet.
  8. Set Detection Mode to Latency.
  9. Set Threshold Latency to greater than 1 second and Detection Period to 1 second, meaning detection runs once every second.
  10. Set Failback to ON.
  11. Click Apply.

7. Bind WAN and Setup WAN Priority for VLAN 1

Assign VLAN 1 for Group 1 to eth2 and eth5, with eth2 preferred.

  1. Go to Networking > Forwarding > WAN Binding.
  2. Click the Bind icon for VLAN 1 to open the WAN Binding dialog box.
  3. Select Active-Backup Mode and move eth2 and eth5 from Available WAN to In Used WAN.
  4. Click Apply.
  5. Click the Edit icon for VLAN 1 to open the Failover dialog box.
  6. Set 1st WAN priority to eth2.
  7. Set 2nd WAN priority to eth5.
  8. Set Detection Mode to Latency.
  9. Set Threshold Latency to greater than 1 second and Detection Period to 1 second, meaning detection runs once every second.
  10. Set Failback to ON.
  11. Click Apply.

VLAN WAN binding and failover setup interface

Network link status topology diagram

Hover your mouse cursor over VLAN 1 to display detailed information regarding VLAN, WAN, and SSID configuration.

VLAN 1 detailed connection information pop-up

Check the Result

  1. In the WAN binding list, confirm that VLAN 1 uses eth2 first and eth5 second, while VLAN 10 uses eth6 first and Mobile Network-internet second.
  2. Check the VLAN assignments of LAN ports and SSIDs. From clients in both groups, confirm that an IP address in the expected subnet is obtained and that websites open.
  3. Check the priorities and status indicators in the list. To test failover, arrange a time with your administrator when connection interruptions are acceptable.

If one group cannot access the internet, check its DHCP, SSID VID, and WAN binding first. Avoid changing both groups at once.