Use this when a VM has no network, slow network, or when choosing a vNIC type and port group or bridge.
Virtual NIC · Hypervisor Architecture
A virtual NIC is the VM's network adapter, connected to a virtual switch or bridge on the host. Prefer paravirtual types (VMXNET3, virtio-net, Hyper-V synthetic) over emulated e1000 for throughput and lower CPU cost.
1. A vNIC connects the VM to a virtual switch or bridge.
2. Use virtio/vmxnet3/synthetic models.
3. Check MAC, VLAN and switch connection.
4. Guest IP from guest agent.
5. Counters for drops.
guest NIC → vNIC model → virtual switch → uplink
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Duplicate MAC addresses from cloned VMs with static MACs.
- vNIC disconnected in VM settings.
- Wrong port group/bridge or VLAN tag.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Wrong VLAN/port group = connected but no network.
- Prefer paravirtual vNICs.
- MAC conflicts break clones.
virsh domiflist <vm>— vNIC, bridge and modelGet-VMNetworkAdapter <vm>— Hyper-V vNIC, switch and VLANip -br link— guest sees NIC
ReferenceHow it works1 section · depth on demand
Commands
virsh domiflist vm01
qm config 101 | grep net
Get-VMNetworkAdapter -VMName vm01 | Select Name,SwitchName,MacAddress,Status
Get-NetworkAdapter -VM vm01 | Select Name,Type,NetworkName,MacAddress
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Choose the model
| Model | Performance | Use |
|---|---|---|
| VirtIO (virtio-net) | Paravirtualised, highest throughput, lowest CPU | Default for Linux and Windows with VirtIO drivers |
| Intel E1000 / E1000E | Emulated, compatible | Installers or OSes without VirtIO drivers |
| VMXNET3 | Emulated VMware NIC | Imported VMware guests during migration |
| SR-IOV VF / passthrough | Near line rate | NFV, very high packet rates; no live migration |
Proxmox VE network device options
qm set 101 --net0 virtio=BC:24:11:5A:10:01,bridge=vmbr0,tag=20,firewall=1,queues=4,mtu=1500
The Proxmox VM chapter documents Multiqueue for VirtIO NICs, including the guest-side ethtool setup and Windows RSS.
| Option | Effect |
|---|---|
bridge / tag | Host bridge and VLAN tag (VLAN-aware bridge) |
firewall=1 | Inserts the Proxmox firewall bridge for this NIC |
queues=N | Multiqueue — up to the number of vCPUs |
rate= | Bandwidth limit in MB/s |
link_down=1 | Simulate cable unplugged |
Multiqueue inside the guest
$ ethtool -l eth0
Combined: 1 (current)
$ sudo ethtool -L eth0 combined 4
Without this, extra queues exist but a single vCPU still processes all packets. On Windows, enable RSS in the VirtIO NIC properties.
Host-side view
Each NIC appears as a tap device (tap101i0 on Proxmox, vnetN on libvirt) attached to a bridge. ip -s link show tap101i0 shows per-VM packet counters and drops on the host side — compare with the guest's interface counters to locate loss.
MAC addresses
Keep MACs unique per layer-2 domain. Proxmox and libvirt generate them; copying a VM configuration file by hand copies the MAC too and produces flapping MAC tables on the physical switch.
*The VirtIO NIC configuration and queue settings above are illustrative examples, not captured from a lab or production host.*
How it works
A virtual NIC is a software network adapter presented to the VM, connected to a port on a virtual switch. Paravirtual types (vmxnet3, virtio-net, Hyper-V synthetic) give the best performance; emulated types (e1000) are for compatibility.
vNIC types
| Platform | Recommended | Legacy/emulated |
|---|---|---|
| vSphere | VMXNET3 | E1000/E1000E |
| KVM/Proxmox | virtio-net | e1000, rtl8139 |
| Hyper-V | Network Adapter (synthetic) | Legacy Network Adapter (Gen 1 only) |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Architecture → Virtual NIC. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%