QuWAN vRouter is a cloud-delivered SD-WAN solution that can be deployed on third-party Virtual Machine (VM) platforms.
QuWAN vRouter enables seamless interconnection between QNAP's SD-WAN solution and hypervisors. It provides easy configuration, provisioning, and troubleshooting of wide area network (WAN) using simplified deployment techniques.
KVM (Kernel-based Virtual Machine) is an open-source virtualization module built into the Linux kernel, which enables users to run several isolated guest virtual machines.
KVM allows you to transform a Linux operating system into a hypervisor with dedicated virtual hardware including CPUs, disks, graphic adapters, memory, and network cards.
KVM Requirements
| Processor | Requirements |
| AMD | An AMD processor with AMD-V and AMD64 virtualization extensions for x86-based machines. |
| Intel | A processor with Intel VT-x and Intel 64 virtualization extensions for x86-based machines. |
Verify CPU and Processor Support
Enter the following command to determine whether your system supports virtualization:
$ egrep -c '(vmx|svm)'/proc/cpuinfo
-
If the output is greater than zero, the system supports virtualization.
-
If the output is less than or equal to zero, you may need to enable virtualization from the system BIOS.
Install Packages
Enter the following commands to install the cpu-checker package.
The terminal displays whether the device supports KVM.
To use QuWAN vRouter, you must purchase and activate a QuWAN vRouter license from the QNAP Software Store.
QuWAN vRouter license is a subscription-based license. QNAP Software Store provides various subscription plans. You can choose a subscription period and data transfer rate plan according to your needs.
Before buying a license, ensure that you are signed in to myQNAPcloud.
- Go to https://software.qnap.com/.
- Sign in with your QNAP ID.
Note: If you do not have a QNAP account, you must first sign up for an account.
- In the search box, enter QuWAN vRouter Edition.
QuWAN vRouter Edition appears in the search results.
- Select QuWAN vRouter Edition.
- Select a subscription plan.
- Specify the number of licenses.
- Click ADD TO CART.
- Click
. - Verify the content in your shopping cart.
- Click GO TO CHECKOUT.
- Specify your payment information.
- Select a payment method.
| Payment Method | User Action |
| Credit card | -
Specify your card information. -
Specify the billing address. -
Verify the items and the price on the order. -
Agree to QNAP terms and conditions. -
Click Place Order. |
| PayPal | -
Verify the items and the price on the order. -
Specify the billing address. -
Agree to QNAP terms and conditions. -
Click Pay with PayPal PayPal authentication window appears. -
Specify your PayPal login credentials. -
Click Next. -
Follow PayPal instructions to complete the payment. |
| Google Pay | -
Verify the items and the price on the order. -
Specify the billing address. -
Agree to QNAP terms and conditions. -
Click Buy with Google Pay. Google Pay authentication window appears. -
Follow Google Pay instructions to complete the payment. |
After the payment, you can view order details in My Orders and manage your subscriptions in My Subscriptions.
- Transfer the QuWAN vRouter license subscription from your personal QNAP ID to your QuWAN organization.
- Click Activate License.
The QNAP License Manager page opens.
- Log in with your QNAP ID.
QNAP License Manager displays the list of purchased licenses.
- Identify the QuWAN vRouter license subscription.
- Under Advanced Options, click
. The Transfer License window appears.
- Click Next.
- Select your QuWAN organization.
Important: Once you transfer the license to an organization, you cannot transfer it back to your QNAP ID or a different organization.
- Click Transfer.
QNAP License Manager transfers the license to your QuWAN organization.
- Click OK.
The Transfer License window closes.
Tip: To upgrade a subscription, go to .
To check the status of purchased licenses on QuWAN Orchestrator, go to http://www.quwan.qnap.com and then click License Subscriptions.
After purchasing a QuWAN vRouter license, you must create a QuWAN device and then create a join key.
Note: QuWAN Orchestrator administrators are required to provide a valid join key while configuring QuWAN vRouter.
- Go to https://quwan.qnap.com.
- Log in to QuWAN Orchestrator.
The Overview page appears.
- Go to QuWAN Device.
- Click Create New QuWAN Device.
The Create New QuWAN Device window appears.
- Specify the following information.
| Setting | User Action |
| Region | Select a region from the drop-down list. Tip: To add a new region, go to and then click Add Region. |
| Site | Select a site from the drop-down list. |
| QuWAN device name | Specify a name for your QuWAN device. |
| Device model | Select QuWAN vRouter Edition if you are installing QuWAN on a third-party hypervisor. |
| License | Select a license type from the list of purchased licenses. Note: The selected license is linked to the QuWAN device. |
- Click Create.
QuWAN Orchestrator creates the QuWAN device and the QuWAN Device Settings page appears.
- Specify the contact information.
| Setting | User Action |
| Contact person | Specify the name of the device administrator. |
| Email | Specify the email of the device administrator. |
| Phone | Specify the phone number of the device administrator. |
- Configure the network settings.
- Configure port 1 settings.
- Click
. The Port 1 Configuration window opens.
- Configure the WAN IP settings.
| Setting | User Action |
| Obtain IP address settings automatically via DHCP | Select this option to automatically obtain an IP address. If the network supports DHCP, the device port automatically obtains the IP address and network settings. |
| Static IP address | Select this option to manually specify an IP address. When assigning a static IP address, specify the following information: -
Fixed IP address -
Subnet mask -
Default gateway |
| PPPoE | Select this option to specify a username and password for Point-to-Point Protocol over Ethernet (PPPoE). |
- Configure the remaining settings.
| Setting | User Action |
| ISP line rate | Specify the gross bit rate of the physical layer in terms of transmitting and receiving data rate. |
| Description | Enter the WAN port description. |
- Click Save.
QuWAN Orchestrator updates the WAN settings.
- Configure the port 8 settings.
- Click
. The Port 8 Configuration window opens.
- Configure the LAN IP settings.
| Setting | User Action |
| Segment | Select the LAN segment type from the drop-down list. |
| Fixed IP address | Specify a fixed IP address. |
| Subnet Mask | Specify the subnet mask used to subdivide your IP address. |
- Optional: Enable DHCP service.
- Specify the DHCP service type.
- Configure the DHCP settings.
| Setting | User Action |
| Start IP | Specify the starting IP address in a range allocated to DHCP clients. |
| End IP | Specify the ending IP addresses in a range allocated to DHCP clients. |
| Lease time | Specify the length of time that an IP address is reserved for a DHCP client. The IP address is made available to other clients when the lease expires. |
| DNS servers | Specify a DNS server for the DHCP server. Tip: Specify up to 3 DNS servers and separate them using commas (,). |
| Description | Enter the LAN port description. |
- Click Save.
- Optional: Select a DNS server.
- Specify the Network Time Protocol (NTP) server.
Note: The default NTP server is pool.ntp.org.
- Enable Simple Network Management Protocol (SNMP).
- Click Apply.
QuWAN Orchestrator updates the device information.
After creating a QuWAN device, you must send the join key to the device administrator.
- Go to https://quwan.qnap.com.
- Log in to QuWAN Orchestrator.
The Overview page appears.
- Go to QuWAN Device.
- Select the region and QuWAN device.
- Select QuWAN Device Settings.
- Click Send Join Key.
A confirmation message appears.
- Verify if you have received the join key email.
Note: For details on downloading the QuWAN vRouter image, see the Deployment section of the tutorial.
To deploy QuWAN vRouter, you must create a virtual machine using the QuWAN vRouter shell script and XML files in KVM.
After you deploy the virtual machine, configure the VM settings and assign network adapters to the virtual SD-WAN image.
After sending the join key to the QuWAN device administrator and downloading the image, you must install KVM and its relevant packages.
- Open a terminal.
- Enter $ sudo apt update to download packages from all configured sources.
- Optional: Enter $ sudo apt upgrade -y to install all available upgrades of installed packages.
- Install KVM packages on the system.
| Version | Command |
| Ubuntu 18.04 LTS (Bionic Beaver) | $ sudo apt install qemu qemu-kvm libvirt-bin bridge-utils virt-manager |
| Ubuntu 20.04 LTS (Focal Fossa) | $ sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager |
- Confirm the installation when prompted.
The system installs KVM and its packages.
Linux uses the libvirtd daemon component to perform management tasks for virtualized guests. By default, the libvirtd service is automatically enabled after installing KVM.
To enable the service, perform the following steps:
- Open a terminal.
- Run the following commands:
The system enables and activates the libvirtd service.
- Enter $ service libvirtd status.
The terminal displays the status of the libvirtd service.
Before creating and deploying the virtual machine, ensure that you download the QuWAN vRouter image.
Important: QuWAN vRouter requires Ubuntu 18.04 or later.
- Download the QuWAN vRouter image.
- Go to https://www.qnap.com/download.
- Select QuWAN vRouter Edition as the product type and model.
- Identify the KVM QuWAN vRouter image.
- Under Download Link, click
. The device downloads the VM image.
- Extract the qcow2 and script file from the zipped file.
- Open a terminal.
- Enter the following commands to execute the script file:
Important: Make sure to replace X's with the corresponding filenames of the downloaded KVM files.
- Enter the following command to install the network-manager package:
$ sudo apt-get install network-manager
The script creates eight network interfaces, XML files, and QuWAN vRouter on KVM. After completing this process, the terminal displays the following message:Domain QuWAN_20210803-2.1.2.0005 defined from VM_20210803-2.1.2.0005.xml
After installing the QuWAN vRouter virtual machine on KVM, you must configure the VM settings and assign port groups to the network adapters.
- Open a terminal.
- To view the virtual bridges, enter the following command:
KVM displays the virtual bridges.
- Specify a text name for the interface by entering the following commands:
In the following example, we assign the physical network interfaces for WAN and LAN connections.
Assign physical interface enp1s0f0 to QuWAN vRouter interface Quwan_1 for the WAN connection:
Assign physical interface enp7s0 to QuWAN vRouter interface Quwan_8 for the LAN connection:
Note: The interface name (ifname) value should be as assigned by the local device and should be suitable for use in commands. Enter ifconfig in the terminal to check the interface name value.
The terminal associates the physical interface with the QuWAN vRouter interface.
- Open the KVM console.
- Verify the bridge connection.
- Open a terminal.
- Enter the following command:
The Network Connections window appears.
- Verify if the bridge-slave is connected to a vnet.
- Double-click an interface.
- Select Bridge.
- Check if the bridged connection has been established.
- Click Save.
- Verify if the interface is able to automatically connect to the VM.
- Open a terminal.
- Enter either of the following commands to view the connection settings.
-
$ brctl show
-
$ nmcli connection show
KVM displays the connection settings.
- Adjust the bridge priority to the interface.
- Click Save.
After deploying and configuring QuWAN vRouter on a Linux KVM, you must initialize QuWAN vRouter.
- Open a web browser on your computer.
- Enter local.quwan.
The Welcome to QuWAN page appears.
- Click Start.
The Password Settings page appears.
- Specify a username and password for the QuWAN vRouter account.
- Click Save.
The QuWAN Port 1 Settings page appears.
- Configure the WAN IP settings.
| Setting | User Action |
| Obtain IP address settings automatically via DHCP | Select this option to automatically obtain an IP address. If the network supports DHCP, the device port automatically obtains the IP address and network settings. |
| Static IP address | Select this option to manually specify an IP address. When assigning a static IP address, specify the following information: -
Fixed IP address -
Subnet mask -
Default gateway |
| PPPoE | Select this option to specify a username and password for Point-to-Point Protocol over Ethernet (PPPoE). |
- Click Next.
The Enter Join Key page appears.
- Enter the join key.
- Select the domain type.
- Click Submit.
The device initializes the QuWAN vRouter deployment and displays the information screen after deployment is finished.
QuWAN vRouter is now ready for use. Go to https://quwan.qnap.com to access QuWAN Orchestrator. You can configure and manage multiple QuWAN devices within a single organization.
To learn more about how to use QuWAN Orchestrator, refer to the QuWAN Orchestrator Help.