VMFS Recovery™
Recover data from damaged or formatted VMFS disks or VMDK files
Recover data from damaged or formatted VMFS disks or VMDK files
Last updated: May 27, 2026

VMware Networking and ESXi Network Explained: VMware Virtual Machine Networking, Networking with VMware, and Networking VMware Virtual Machines — Complete Guide

Networking in VMware defines how virtual machines communicate with each other, the host, and external networks. In Workstation, this comes down to modes like Bridged, NAT, Host‑Only, and Custom, each mapping VM traffic differently to the host NIC. In ESXi, networking is built on vSwitches, port groups, uplinks, and VMkernel adapters, with support for VLANs, NIC teaming, and distributed switching. Together, these models provide the flexibility to design lab setups or production‑grade architectures with performance, segmentation, and resilience in mind.

VMware in Networking: How Virtual Networking Works

🌉 The Physical‑to‑Virtual Network Bridge

Physical networking connects servers, storage, and clients through switches and routers using copper or fiber links. VMware virtualizes this stack inside the hypervisor, allowing administrators to design complex networks entirely in software. For example, a single ESXi host with four physical NICs can present dozens of isolated virtual networks to hundreds of VMs — each with its own VLAN assignments, traffic shaping rules, and security policies — without requiring changes to the physical switch configuration.

The VMware virtual network stack mirrors physical concepts in software:

  • 🖧 Physical adapters (vmnics) map to physical switch ports.
  • 🔀 Virtual switches (vSwitches) act as Layer 2 switches.
  • 🏷️ Port groups replace VLANs for segmentation.
  • ⚙️ VMkernel adapters handle host‑level traffic such as management, vMotion, and storage.

Understanding this mapping is the foundation of every VMware networking decision, ensuring that virtual machines communicate reliably while maintaining segmentation, performance, and security.

📊 VMware Networking Component Reference Table

ComponentPhysical EquivalentRole in VMware Networking
vmnicPhysical NIC portPhysical uplink from ESXi host to physical switch
vSwitch (vSS)Physical L2 switchSoftware switch forwarding traffic between VMs and uplinks
vDSManaged L2 switch with central configCluster-wide virtual switch configured once in vCenter
Port groupSwitch VLAN / access portConfiguration template applied to a group of virtual ports
VMkernel adapter (vmk)Server management NICESXi host-level interface for management, vMotion, storage, vSAN
Uplink portPhysical switch uplinkConnects vSwitch to vmnic for external traffic
VLAN tagging (802.1Q)Trunk port / VLANLogical traffic separation on shared physical infrastructure
VXLAN (logical switch)Overlay networkLayer 2 tunneling over Layer 3 for multi-datacenter VM mobility

ESXi Networking Architecture: The Full Stack

⚙️ VMkernel: The OS Inside ESXi That Powers All Networking

The VMkernel is the specialized POSIX‑like operating system core of ESXi. It abstracts physical hardware and manages CPU, memory, storage, and networking for all VMs on the host. Every ESXi network operation flows through VMkernel:

  • 🔄 VM‑to‑VM traffic on the same host stays within the vSwitch, never touching physical hardware.
  • 🌐 VM‑to‑external traffic exits through physical uplinks, scheduled by VMkernel’s packet scheduler.
  • 🛠️ Host management traffic uses VMkernel adapters with dedicated IP addresses for vCenter, SSH, and APIs.

VMkernel also powers advanced features like Distributed Resource Scheduler (DRS) and vMotion. Without a VMkernel management adapter, an ESXi host cannot be managed by vCenter at all — making VMkernel the critical control plane for both VM and host networking.

📊 VMkernel Adapter Types and Services

VMkernel AdapterServiceTraffic TypeRequired For
vmk0 (default)ManagementvSphere Client, SSH, APIAll ESXi hosts — created at installation
vMotion VMkernelvMotionLive VM migration datavMotion between hosts
vSAN VMkernelvSANvSAN cluster storage trafficvSAN deployments
iSCSI VMkerneliSCSISoftware iSCSI initiator trafficiSCSI software storage
NFS VMkernelNFSNFS datastore mountsNFS storage datastores
FT Logging VMkernelFault ToleranceVM state replication for FTFault Tolerance (requires 10GbE+)
Replication VMkernelvSphere ReplicationReplication data streamvSphere Replication / SRM

🌐 Physical Adapters (vmnics): The Bridge to the Physical Network

Physical network adapters on ESXi hosts are identified as vmnic0, vmnic1, vmnic2, etc. — numbered in the order the host BIOS enumerates them. A vmnic maps directly to a physical NIC port and connects to a physical switch.

  • 🔗 Uplink assignment → When a vmnic is assigned to a vSwitch as an uplink, all traffic destined for external networks exits through that vmnic.
  • ⚡ NIC teaming → Multiple vmnics assigned to the same vSwitch create redundancy and optional load balancing.
  • 🚫 One‑to‑one mapping → A vmnic can only be assigned to one vSwitch at a time; sharing across vSwitches is not possible.
  • ✅ Best practice → Dedicate separate vmnics to distinct traffic types (management, vMotion, VM production, storage) to prevent workloads from competing for the same physical bandwidth.

This physical‑to‑virtual bridge is the foundation of ESXi networking, ensuring that virtual switches can scale while maintaining performance and isolation across workloads.

VMware Virtual Networking: vSwitch Types Explained

🔧 vSphere Standard Switch (vSS): Per‑Host Configuration

The vSphere Standard Switch (vSS), often simply called a vSwitch, is a software Layer 2 switch configured independently on each ESXi host. One vSwitch (vSwitch0) is created automatically during ESXi installation — it contains the default “VM Network” port group for VM traffic and the “Management Network” port group for the host’s VMkernel management adapter.

  • 📡 MAC learning → A vSS only knows the MAC addresses of VMs and VMkernel adapters directly connected to it. Unlike physical switches, it does not learn external MACs and drops frames with unknown destinations instead of flooding them.
  • ➕ Multiple vSwitches → You can create multiple vSwitches per host, each with its own uplinks, port groups, and policies.
  • ⚙️ Use case → Ideal for smaller environments or hosts managed individually without vCenter.

🌍 vSphere Distributed Switch (vDS): Cluster‑Wide Central Management

The vSphere Distributed Switch (vDS) spans multiple ESXi hosts and is centrally configured in vCenter Server. When a vDS is created, identical hidden proxy switches are deployed to each member host.

  • 🔄 Centralized port groups → Distributed port groups (dvPortgroups) created on the vDS are automatically propagated to all member hosts, eliminating manual per‑host configuration.
  • 🚀 Exclusive features → Private VLANs, per‑VM NIC load balancing, Network I/O Control, LLDP support, SR‑IOV direct NIC access, and VM network state preservation across vMotion.
  • 📋 Licensing → Requires vCenter Server and Enterprise Plus licensing. Standard and Essentials Plus editions only include vSS.
  • ⚙️ Use case → Best for large clusters where consistent networking policies and advanced features are required.

📊 Standard Switch vs. Distributed Switch: Which to Deploy

FeaturevSS (Standard Switch)vDS (Distributed Switch)
Configuration scopePer-host (manual per ESXi)Cluster-wide (single config in vCenter)
License requiredAny vSphere licenseEnterprise Plus
vCenter requiredNoYes
Port groupsPer-host port groupsDistributed port groups (propagated to all hosts)
Private VLANsNoYes
Per-VM NIC teamingNoYes
Network I/O controlNoYes
LLDP supportNoYes
SR-IOVNoYes
vMotion network stateLost (VM reconnects to port group)Preserved (VM stays on same dvPort)
Traffic shapingOutbound onlyInbound + outbound
Maximum hostsPer-host only2,000 hosts per vDS
Management complexitySimpleModerate (requires vCenter expertise)

VMware Networks: Port Groups, VLANs, and Traffic Segmentation

🏷️ Port Groups: Configuration Templates for Network Segmentation

A port group is a configuration template applied to a set of virtual ports on a vSwitch. Every VM connects to the network through a port group - never directly to the vSwitch. Port groups define:

  • 🔖 VLAN ID → for traffic tagging.
  • 🛡️ Security policy → promiscuous mode, MAC address changes, forged transmits.
  • 📊 Traffic shaping → inbound/outbound bandwidth limits.
  • ⚡ NIC teaming & failover order → redundancy and load balancing.

Two types exist on ESXi:

  • VM port groups → for VM traffic.
  • VMkernel port groups → for host services like management, vMotion, and storage.

A single vSwitch can host multiple port groups, enabling multiple isolated network segments on one switch.

🌐 VLANs in VMware Networking: Three Tagging Modes

VMware supports three VLAN tagging approaches on port groups and vSwitches:

EST (External Switch Tagging) → VLAN ID = 0.

  • 🖧 The physical switch handles all VLAN tagging.
  • The VM receives untagged frames.
  • Simplest configuration; ESXi is VLAN‑agnostic.

VST (Virtual Switch Tagging) → VLAN ID = 1–4094.

  • 🔀 The vSwitch tags frames as they leave and strips tags as they arrive.
  • The VM receives untagged frames; VLAN tagging is transparent to the guest OS.
  • Standard in enterprise ESXi deployments.

VGT (Virtual Guest Tagging) → VLAN ID = 4095.

  • 📦 The vSwitch passes 802.1Q frames directly to the VM.
  • The guest OS handles VLAN tagging.
  • Required for VMs running routers, firewalls, or appliances that process multiple VLANs.

Networking in VMware: Traffic Types and Separation Best Practices

🔑 The Four Primary ESXi Traffic Types

Production VMware environments separate network traffic into at least four categories, each mapped to its own port group, VMkernel adapter, and ideally dedicated vmnics for performance and security:

🛠️ Management Traffic

  • Handles vSphere Client access, SSH, and API calls to the ESXi host.
  • Uses vmk0 by default.
  • Best practice: always isolate on a dedicated VLAN — exposing management traffic on VM production networks creates a major security risk.

💻 VM Production Traffic

  • Guest OS and application traffic for workloads running inside VMs.
  • Often segmented into multiple VLANs by application tier (web, app, database) using separate port groups.
  • Ensures workload isolation and predictable performance.

🚚 vMotion Traffic

  • Transfers live VM migration data between hosts.
  • Generates large, sustained bursts during migration.
  • Isolate on a dedicated VMkernel adapter and VLAN.
  • Requires minimum 1 GbE; 10 GbE strongly recommended for production clusters.

📦 Storage Traffic

  • Covers iSCSI, NFS, and FCoE datastore access.
  • Generates sustained sequential I/O that competes with VM traffic if not isolated.
  • Assign dedicated VMkernel adapters with jumbo frames (MTU 9000) for NFS and iSCSI.
  • Configure multipathing for redundancy and throughput.

📊 NIC Teaming and Load Balancing Policies

PolicyMethodBest For
Route based on originating port IDDefault — VM always exits same vmnicSimple environments; no physical switch config required
Route based on IP hashPer-flow load balancing based on src+dst IPActive-active link aggregation (requires physical switch LACP/802.3ad)
Route based on source MAC hashPer-VM load balancingMulti-vmnic setups without physical switch config
Use explicit failover orderActive/standby NIC failoverStrict redundancy with designated standby
Route based on physical NIC loadDynamic load balancing based on utilizationvDS only; Enterprise Plus; highest utilization efficiency

VMware Virtual Machine Network Settings: Configuring VM Network Adapters

📊 Virtual NIC Adapter Types: Choosing the Right Driver

AdapterDriverPerformanceCompatibilityUse Case
VMXNET3Paravirtualized (VMware-native)HighestRequires VMware ToolsProduction VMs (Windows 2008+, Linux kernel 2.6.32+)
E1000EIntel 82574L emulatedGoodBroad OS supportNewer guest OS without VMware Tools
E1000Intel 82545EM emulatedModerateMaximum OS compatibilityLegacy OS, DOS, older Windows
VMXNET2Paravirtualized (older)GoodOlder VMsLegacy — upgrade to VMXNET3
SR-IOV PassthroughDirect PCIe VF assignmentNear-nativevDS only; specific driverNetwork-intensive workloads, latency-sensitive apps

⚙️ VMware Virtual Machine Network Settings: Configuration in vSphere Client

To configure or change VM network settings in the vSphere Client:

  1. Power state → Power off the VM, or use hot‑add for supported adapter changes (Linux guests with VMXNET3 support hot‑add; Windows guests require a reboot after adapter type changes).
  2. 🖱️ Edit settings → Right‑click the VM → Edit SettingsVirtual Hardware tab.
  3. 🔌 Network Adapter configuration
  • Adapter type: Select VMXNET3 for production VMs.
  • Network: Choose the target port group from the dropdown — this connects the adapter to the chosen vSwitch/port group/VLAN.
  • Status: Check “Connect at power on” for standard operation.
  • MAC address: Set to Automatic (VMware‑assigned) or specify a static MAC if required for licensing or ACLs.
  1. 4. 💾 Save changes → Click OK and power on the VM.

Key VMX parameters (editable directly in the VMX file when the VM is powered off):

ethernet0.virtualDev = "vmxnet3"
ethernet0.connectionType = "bridged"   (for Workstation)
ethernet0.networkName = "VM Network"   (for ESXi ? matches port group name)
ethernet0.addressType = "generated"
ethernet0.startConnected = "TRUE"

✅ Verifying VM Network Connectivity After Configuration

After changing VM network settings, verify connectivity inside the guest OS:

Windows

  • Run ipconfig /all → confirm adapter shows correct IP.
  • Run ping [gateway IP] → verify Layer 3 reachability.

🐧 Linux

  • Run ip addr show → confirm adapter and IP.
  • Run ip route → verify default route.
  • Run ping -c 4 [gateway IP] → verify Layer 3 reachability.

⚠️ Common post‑configuration failures:

  • Wrong port group selected → check vSphere Networking tab for VM connection status.
  • VLAN mismatch between port group and physical switch trunk.
  • Static MAC address conflict with another VM on the same segment.
  • Missing VMware Tools → VMXNET3 driver fails to load in the guest.

ESXi Network Configuration: vSwitch Creation and Management

🖥️ Creating a Standard vSwitch via ESXi Host Client

  1. 1. 🔑 Log in → ESXi Host Client → Networking → Virtual Switches → Add Standard Virtual Switch.
  2. 2. 📝 Configure basics → Set vSwitch name (e.g., vSwitch1), MTU (1500 for standard; 9000 for jumbo frames on storage networks), and assign uplinks (vmnics).
  3. 3. 🏷️ Add a port group → Networking → Port Groups → Add Port Group.
  • Name → e.g., Production
  • VLAN ID → 0 for untagged, 1–4094 for tagged, 4095 for VGT passthrough
  • Select the target vSwitch
  1. 4. 🔌 Connect VMs → Edit Settings → Network Adapter → select the new port group name.

💻 Creating a vSwitch via ESXi SSH (ESXCLI)

Use ESXCLI for CLI‑based vSwitch management:

  • Create a 24‑port standard vSwitch:
esxcli network vswitch standard add -P 24 -v vSwitch1
  • Add a vmnic uplink:
esxcli network vswitch standard uplink add -v vSwitch1 -u vmnic1
  • Add a port group with VLAN 100::
esxcli network vswitch standard portgroup add -v vSwitch1 -p "Production"
esxcli network vswitch standard portgroup set -p "Production" --vlan-id 100

VMware Networking and Data Recovery: What Happens When Network Misconfiguration Meets Storage

⚠️ How ESXi Network Misconfiguration Damages VMFS Datastores

In VMware environments, storage traffic flows through the same virtual network stack as management and VM traffic. Misconfigured iSCSI or NFS VMkernel adapters — wrong MTU, missing multipath, absent storage VLAN, or uplink failover leaving storage traffic without an active path — can take VMFS datastores offline. ESXi responds with “All Paths Down” (APD) or “Permanent Device Loss” (PDL) events. VMs on those datastores halt with disk I/O errors, and VMDKs may be left mid‑write when the storage path drops. These network‑caused storage outages are among the most common sources of VMFS datastore corruption and VMDK damage in production clusters.

🛡️ Storage Network Best Practices That Prevent VMFS Damage

  • Dedicated VMkernel adapters → Assign separate adapters for iSCSI and NFS traffic, isolated on VLANs distinct from management and VM traffic.
  • Enable jumbo frames (MTU 9000) → Configure end‑to‑end support (VMkernel, physical switch, storage array). MTU mismatches silently fragment packets, degrading iSCSI performance and risking in‑flight write corruption.
  • Multipathing → Configure at least two storage paths to eliminate single‑NIC failures as VMFS outage triggers.
  • APD timeout tuning → Set appropriately for your storage environment. Too short → false PDL declarations; too long → delayed VM restart after genuine failures.

🛠️ Recovering VMFS Datastores After Network‑Caused Storage Failures with DiskInternals VMFS Recovery™

When a network misconfiguration causes a VMFS datastore to go offline and metadata is corrupted mid‑I/O, standard ESXi tools cannot repair the datastoreesxcfg-advcfg and esxcli storage only operate on mounted volumes.

DiskInternals VMFS Recovery™ is purpose‑built to recover data from corrupted or inaccessible VMFS datastores, deleted or damaged VMDK files, and failed VMware environments across ESXi, vSphere, and Workstation.

Key capabilities for network‑caused storage failures:

  • 📂 Mount VMDK files without a running ESXi host (critical when the ESXi network stack itself is broken).
  • 🔄 Reconstruct VMFS volumes with damaged or partially overwritten metadata.
  • 📝 Recover VMX configuration files and VMDK flat files from corrupted datastores.
  • 🌐 Connect directly to ESXi hosts via IP and credentials for remote datastore scanning once connectivity is restored.

Recovery workflow:

  1. 1. Restore network connectivity to the storage layer.
  2. 2. Launch DiskInternals VMFS Recovery™ and connect to the affected VMFS volume.
  3. 3. Run a full scan to rebuild metadata and locate VMX/VMDK files. Repair the VMware virtual machine.
  4. 4. Preview file integrity in read‑only mode.
  5. 5. Extract recovered files to a safe destination.

Ready to get your data back?

To start recovering your data, documents, databases, images, videos, and other files, press the FREE DOWNLOAD button below to get the latest version of DiskInternals VMFS Recovery® and begin the step-by-step recovery process. You can preview all recovered files absolutely for FREE. To check the current prices, please press the Get Prices button. If you need any assistance, please feel free to contact Technical Support. The team is here to help recover deleted VMware virtual machine!

Related articles

FREE DOWNLOADVer 4.26, WinBUY NOWFrom $699

Please rate this article.