Use it when a VM has no connectivity, the wrong VLAN, or poor network performance.
Virtual NIC Networking
A virtual NIC (vNIC) is the VM's network adapter, with its own MAC address; it connects to a virtual switch port or port group that decides the VLAN and uplink.
1. vNIC connected (not disconnected in the VM settings)?
2. Port group / switch and VLAN as intended?
3. Adapter type: paravirtual (VMXNET3, virtio, synthetic) for performance; drivers installed in the guest?
4. MAC address unique? Cloned VMs can duplicate MACs.
5. Guest sees the link and gets an address.
vNIC created with a unique MAC → connected to a port group/VLAN → paravirtual driver in the guest → link up in the guest → address and gateway
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 Verification and output interpretation Verify boundary
Verify the guest sees the adapter/link, the hypervisor reports the correct virtual port/port group, and expected MAC learning appears upstream when traffic is generated. Correlate MAC/IP identities across layers.
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.
- A virtual NIC connects a VM to a virtual switch.
- Each vNIC has its own MAC address.
- Paravirtual vNICs (virtio, VMXNET3) give the best performance.
- Hypervisor console (vCenter, Hyper-V Manager, Proxmox) — VM state, vNIC, port group / virtual switch and VLAN.
Get-VMNetworkAdapter -VMName <vm> | fl/Get-VMNetworkAdapterVlan(Hyper-V) — vNIC, switch and VLAN.qm config <vmid>/bridge vlan show(Proxmox/Linux) — VM NIC and bridge VLANs.show interfaces trunkon the physical switch — host uplink carries the VM VLANs.show mac address-table address <vm-mac>— the VM MAC learned on the host uplink.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
The virtual NIC: a guest's network adapter
A virtual NIC (vNIC) is the network adapter a VM sees. The hypervisor connects it to a virtual switch, bridge or virtual network on the host. libvirt's network XML documentation shows guests referencing a network with <interface type='network'/>, which attaches the guest to that network's bridge, and lists other attachment modes for direct connections and SR-IOV.
Attachment modes in libvirt (from the network XML documentation)
| Mode | Guest connectivity |
|---|---|
nat (the default network) | Behind the host's NAT; the example network uses bridge virbr0 and 192.168.122.0/24 with DHCP |
route | Routed through the host without NAT |
bridge | Attached to an existing host bridge or Open vSwitch bridge; libvirt adds no NAT, DHCP or firewall rules |
private, vepa, passthrough | macvtap direct attachment to a physical interface |
hostdev | PCI passthrough of an SR-IOV virtual function, optionally with a MAC and VLAN |
No <forward> | Isolated: guests reach each other and the host only |
host$ virsh domiflist web01
Interface Type Source Model MAC
-------------------------------------------------------------
vnet3 network default virtio 52:54:00:7a:1b:2c
vnet4 bridge br-dmz virtio 52:54:00:7a:1b:2d
host$ ip -br link show vnet3
vnet3 UNKNOWN fe:54:00:7a:1b:2c
host$ bridge link show | grep vnet
5: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> master virbr0 state forwarding
On the host, each vNIC appears as a tap interface (vnet3) attached to a bridge.
Adapter models
| Model type | Performance | Use |
|---|---|---|
| Paravirtual (virtio-net, VMXNET3, Hyper-V synthetic) | High: designed for virtualization | Default for modern guests |
| Emulated (e1000, e1000e, RTL8139) | Lower: emulates real hardware | Older OSs without paravirtual drivers |
| SR-IOV virtual function | Near line rate: bypasses the virtual switch | High-throughput or low-latency workloads |
Network considerations
| Topic | Note |
|---|---|
| MAC addresses | Assigned by the hypervisor (often a vendor prefix such as 52:54:00 for QEMU/KVM, 00:50:56 for VMware) |
| VLANs | Usually set on the virtual switch port group, so the guest sees untagged traffic |
| Security | Port security, MAC change and forged transmit policies live on the virtual switch |
| Visibility | SR-IOV and passthrough traffic bypasses the host's virtual switch and its policies |
Documented example, not captured output.
Quick reference
A virtual NIC is the network card a VM sees. The hypervisor can present either an emulated model of a real card, which every operating system understands but which is slow, or a paravirtual card designed for virtualisation, which is much faster but needs a driver in the guest. For very high packet rates, hardware can be passed directly into the VM, trading flexibility and visibility for speed.
A virtual NIC connects a VM to a virtual switch. Adapter types:
| Type | Notes |
|---|---|
| vmxnet3 (VMware) | Paravirtual, 10 Gb+, needs VMware Tools |
| virtio-net (KVM) | Paravirtual, best performance on KVM |
| Hyper-V synthetic | Paravirtual on Hyper-V |
| e1000/e1000e | Emulated Intel, compatibility for old guests |
For high packet rates use SR-IOV (VF passed directly to the VM) or DPDK in the guest; these bypass the vSwitch, which also bypasses its security and visibility features.
Architecture/protocol mechanics and state model
A vNIC is the guest-facing endpoint of a virtual switching attachment. Its MAC/link state and emulated/paravirtualized device type are distinct from the port group, VLAN and physical uplink that carry its frames.
Limits and common misconceptions
A vNIC link-up indication is not physical-link evidence and does not show the port group/VLAN or upstream path is correct.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Keep stable MAC/addressing requirements, adapter type, VLAN/port-group assignment and security features such as spoofing/forged-transmit controls explicit, especially across cloning or migration.
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 Virtualization & Overlays → Server Virtualization → Virtual NIC. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Virtual NIC · operational reference
Compact state/design/evidence reference for fast lookup.
| vNIC fact | Meaning |
|---|---|
| Link state | Guest-visible virtual carrier |
| MAC | L2 endpoint identity |
| Port group | Virtual network placement |
| Uplink | External forwarding dependency |