Pcornel
Virtualization · Virtual Networking

Virtual NIC

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

Back to the Topic

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, bridge
  • Get-VMNetworkAdapter <vm> | fl SwitchName,MacAddress,Status — Hyper-V vNIC
  • ethtool -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

BoundaryMeaningEvidence limit
ConfiguredvNIC exists in VM configNot runtime proof
AttachedMapped to virtual networkNot guest proof
Guest linkDriver/interface upNot external proof
TrafficFrames/packets passFunctional evidence

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

Confirmation

Confirm action

Continue?