Skip to content
Contents
GuidesOpenWrt

VirtIO or PCIe passthrough for OpenWrt on Proxmox VE?

First, confirm how PVE management remains accessible after OpenWrt shuts down.

First, confirm how PVE management remains accessible after OpenWrt shuts down. VirtIO typically uses a separate bridge for virtual machines, facilitating snapshots and migration. PCIe passthrough allows the virtual machine to directly access a specified device, requiring proper IOMMU grouping and a host network interface that can be relinquished.

Compare two options with the same line

Perform wired bidirectional testing on the same physical interface, firmware, vCPU, and CPU frequency tuning. For VirtIO, record queues and bridge; for direct pass-through, record network driver, hardware queues, and offload capabilities. First test forwarding, then separately test SQM, low latency, and PPS.

Measure VirtIO and passthrough under the same workload

In PVE, configure identical physical lines, virtual CPUs, OpenWrt version, and traffic endpoints for two scenarios. Run one stream and multiple streams separately, and record the CPU usage of both host and guest.

In a managed environment, restart the virtual machine and verify IP addresses and interface order. For environments with direct pass-through, additionally test the host restart and device re-binding. Only proceed to production routing when both business metrics and maintenance procedures are satisfied.

Consider performance, management, and recovery together. After straight-through, if the host loses its required network interface, revert to VirtIO; do not switch on the sole management interface.

Identify the uplink device visible to OpenWrt inside the VM.
Identify the uplink device visible to OpenWrt inside the VM. · OpenWrt 25.12.6 x86/64 (LuCI, QEMU/KVM)
Identify the uplink device visible to OpenWrt inside the VM. · OpenWrt 25.12.6 x86/64 (LuCI, QEMU/KVM) Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments