Virtual NIC
Cheat sheet · https://pcornel.dk/topic.php?topic=3428
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 modelGet-VMNetworkAdapter <vm>— Hyper-V vNIC, switch and VLANip -br link— guest sees NIC
Commands
ethtoolip -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