Pcornel
Virtualization · Hypervisor Architecture

Virtual NIC

Cheat sheet · https://pcornel.dk/topic.php?topic=3428

Back to the Topic

Answer

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.

Remember

  • Wrong VLAN/port group = connected but no network.
  • Prefer paravirtual vNICs.
  • MAC conflicts break clones.

First checks

  • virsh domiflist <vm> — vNIC, bridge and model
  • Get-VMNetworkAdapter <vm> — Hyper-V vNIC, switch and VLAN
  • ip -br link — guest sees NIC

Commands

ethtool
ip -s link show tap101i0

Verify in this order

guest NIC → vNIC model → virtual switch → uplink

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3428

Confirmation

Confirm action

Continue?