Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Virtual NIC Networking

Direct answer

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.

When to use this

Use it when a VM has no connectivity, the wrong VLAN, or poor network performance.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse it when a VM has no connectivity, the wrong VLAN, or poor network performance.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • 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 trunk on 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)

ModeGuest connectivity
nat (the default network)Behind the host's NAT; the example network uses bridge virbr0 and 192.168.122.0/24 with DHCP
routeRouted through the host without NAT
bridgeAttached to an existing host bridge or Open vSwitch bridge; libvirt adds no NAT, DHCP or firewall rules
private, vepa, passthroughmacvtap direct attachment to a physical interface
hostdevPCI 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 typePerformanceUse
Paravirtual (virtio-net, VMXNET3, Hyper-V synthetic)High: designed for virtualizationDefault for modern guests
Emulated (e1000, e1000e, RTL8139)Lower: emulates real hardwareOlder OSs without paravirtual drivers
SR-IOV virtual functionNear line rate: bypasses the virtual switchHigh-throughput or low-latency workloads

Network considerations

TopicNote
MAC addressesAssigned by the hypervisor (often a vendor prefix such as 52:54:00 for QEMU/KVM, 00:50:56 for VMware)
VLANsUsually set on the virtual switch port group, so the guest sees untagged traffic
SecurityPort security, MAC change and forged transmit policies live on the virtual switch
VisibilitySR-IOV and passthrough traffic bypasses the host's virtual switch and its policies

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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:

TypeNotes
vmxnet3 (VMware)Paravirtual, 10 Gb+, needs VMware Tools
virtio-net (KVM)Paravirtual, best performance on KVM
Hyper-V syntheticParavirtual on Hyper-V
e1000/e1000eEmulated 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Embedded reference data

Quick lookup tables

Virtual NIC · operational reference

Compact state/design/evidence reference for fast lookup.

vNIC factMeaning
Link stateGuest-visible virtual carrier
MACL2 endpoint identity
Port groupVirtual network placement
UplinkExternal forwarding dependency
Confirmation

Confirm action

Continue?