What this is for
You can run KVM on a Peplink router that supports Edge Computing virtualisation, allowing a full virtual machine to run directly on the device.
Instead of adding a separate server, you can host a VM on the router itself. The VM runs its own operating system and applications while the Peplink continues handling routing and connectivity.
This is useful for running local applications, monitoring tools, security services, or other workloads without extra hardware.
Peplink positions KVM as an Edge Computing feature to keep applications and data closer to users, reducing latency and traffic to central infrastructure.
What is KVM?
KVM (Kernel-based Virtual Machine) is a virtualisation technology that lets a device run full virtual machines.
A VM behaves more like a separate computer than a Docker container.
Peplink Router
- Routing
- Firewall
- SpeedFusion
- WAN connectivity
- Network management
KVM Virtual Machine
- Full operating system (e.g. Linux)
- Monitoring tools
- Security applications
- Analytics software
- Local services
Each VM gets its own CPU, memory, storage, and network resources from the Peplink device.
Peplink added official KVM support in firmware 8.1.0, enabling Linux-based virtual machines on supported models.
Why use KVM on a Peplink router?
KVM lets you combine networking and computing in one device.
Instead of:
Router + Separate Server
you can use:
Router + Virtual Machine
This reduces hardware at remote sites and enables edge-based applications.
Common use cases include:
- Monitoring systems
- Security tools
- Network automation
- Analytics
- Local Linux servers
- IoT processing
- Communication or video services
- Other full OS applications
Peplink Edge Computing devices often highlight KVM for security, monitoring, automation, and analytics workloads.
KVM vs Docker
Both run applications on Peplink devices, but they differ:
| Docker | KVM |
|---|---|
| Runs containers | Runs full virtual machines |
| Single app/service focus | Full operating system |
| Lightweight | More resource-heavy |
| Fast deployment | More flexible |
| Shares host OS | Separate OS per VM |
Docker is best for lightweight apps.
KVM is better when you need a full OS environment.
Requirements for KVM on a Peplink router
Before starting, ensure you have:
- A Peplink device that supports KVM
- Supported firmware version
- Admin access to Web Admin
- Enough CPU, RAM, and storage
- A compatible OS image (ISO or disk image)
- A management computer
KVM is only available on higher end Edge Computing models.
Avoid allocating too many resources to a VM, as this can impact router performance.
Before you start
Check:
- Your model supports KVM
- Firmware is up to date
- Available CPU, RAM, and storage
- OS image is ready
- Network requirements are defined
- VM won’t impact core routing functions
The router must remain the priority—VMs should only use spare resources.
Basic Steps
1. Prepare KVM storage
Log in to the Peplink Web Admin interface and navigate to:
System > Tools > Storage Manager
Select Configure and allocate the required amount of storage to KVM.
After changing the partition allocation, select Format and confirm the operation.
IFormatting the storage permanently erases the existing MediaFast, ContentHub, Docker and KVM data stored on that partition.
2. Enable KVM
Navigate to:
Advanced > Edge Computing > KVM
Enable KVM and select Save.
3. Upload the operating system ISO
On the KVM page, select:
Click here to open file manager
Upload the ISO file that you want to use for the virtual machine.
Peplink’s example uses an Ubuntu ISO and uploads it directly into the KVM file manager.
4. Install Virtual Machine Manager
Peplink uses Virtual Machine Manager (virt-manager) to create and manage the KVM virtual machine.
For Ubuntu, install it with:
sudo apt install virt-manager
Open Virtual Machine Manager once the installation is complete.
5. Connect Virtual Machine Manager to the Peplink
In Virtual Machine Manager, navigate to:
File > Add Connection
Select Custom URI and use:
qemu+TCP://admin@<Peplink-IP-address>/system
For example:
qemu+TCP://admin@192.168.137.1/system
Select Connect and log in using the Peplink device’s administrator credentials.
6. Create a new virtual machine
In Virtual Machine Manager, select:
File > New Virtual Machine
Choose:
Local install media (ISO image or CDROM)
and select Forward.
7. Select the uploaded ISO
Select Browse and locate the ISO that was uploaded to the Peplink KVM storage.
Select the image and choose Choose Volume.
Then select the operating system and version that matches the ISO.
Peplink’s example uses Ubuntu 22.04 LTS.
8. Assign CPU, memory and storage
Choose how much:
- CPU
- Memory
- Storage
the virtual machine should receive.
The amount of available resources depends on the Peplink model.
Important
Do not over-allocate CPU or memory to KVM, as this can negatively affect the overall performance of the Peplink router.
9. Configure the VM network
Before completing the VM configuration, enable:
Customize configuration before install
For the network interface, configure:
Network source: Bridge device
Device name: br0
Peplink specifically states that the hypervisor network must be configured in bridge mode and point towards br0, which is the Ethernet switch bridge used by the router.
Open the virtual network interface settings and verify:
Device name: br0
Peplink’s example uses:
Device model: e1000e
The exact device model may depend on the guest operating system and environment.
10. Review and start the installation
Review the virtual machine configuration, including:
- CPU
- Memory
- Storage
- Installation ISO
- Network interface
br0bridge configuration
When everything is correct, select:
Begin Installation
11. Install the operating system
The virtual machine will now boot from the selected ISO.
Complete the operating system installation and configure the required login account and password.
Once the installation has finished, the VM can be started, stopped and monitored through Virtual Machine Manager.
12. Confirm the VM is running
Open Virtual Machine Manager and verify that the virtual machine displays a Running status.
Open the VM console and sign in using the account created during the operating system installation.
The KVM virtual machine is now running directly on the Peplink Edge Computing platform.
Example use case
A real deployment used KVM on Peplink SDX Pro routers to run Pexip video conferencing, keeping data local instead of sending it to central infrastructure.
Other examples:
- Security platforms
- Monitoring systems
- Analytics tools
- Automation servers
- IoT processing
Common issues
KVM not visible
Check:
- Model support
- Firmware version
- Storage allocation
- KVM enabled
VM won’t start
Check CPU, RAM, storage, and configuration.
OS won’t boot
Check ISO upload, boot settings, and compatibility.
No IP address
Check bridge, DHCP, VLAN, and VM network settings.
Also check Client List.
Performance issues
Reduce VM resource allocation—KVM shares router hardware.