Virtualization · Virtual Networking
Virtual NIC
Cheat sheet · https://pcornel.dk/topic.php?topic=3520
Answer
A Virtual NIC (vNIC) is the network interface presented by a hypervisor to a VM and attached to a virtual network endpoint such as a switch, bridge or port group.
Remember
- vNIC present in VM configuration does not mean the guest driver has initialized it.
- Guest link-up generally proves a local virtual attachment, not external reachability.
- A vNIC may use an emulated or paravirtualized device model with different driver/performance characteristics.
- Map the guest interface/MAC to the exact virtual port before troubleshooting downstream.
First checks
virsh domiflist <vm>— vNIC model, MAC, bridgeGet-VMNetworkAdapter <vm> | fl SwitchName,MacAddress,Status— Hyper-V vNICethtool -i eth0— guest driver
Verify in this order
guest driver → vNIC → switch port
Where it usually breaks
First mismatch in guest NIC → virtual switch/bridge → VLAN/port group/security policy → physical uplink → routed path → peer/workload; preserve identity/native error/pre-state before mutation.
Virtual Networking → Virtual NIC reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configured | vNIC exists in VM config | Not runtime proof |
| Attached | Mapped to virtual network | Not guest proof |
| Guest link | Driver/interface up | Not external proof |
| Traffic | Frames/packets pass | Functional evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3520