Use this when building ESXi labs inside VMs.
Nested ESXi
Nested ESXi runs VMware ESXi as a VM — usually on ESXi or Workstation — for labs and testing. Enable hardware-assisted virtualization for the VM and allow promiscuous mode or MAC learning so nested VMs get network access.
1. Nested ESXi on vSphere: "Expose hardware assisted virtualization".
2. On KVM: host CPU, e1000/vmxnet3 NIC, SATA disk.
3. L0 port group needs promiscuous/forged transmits or MAC learning.
4. Lab only.
5. Check supported NIC drivers.
L0 → ESXi VM → L2 VMs
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 Checks Verify boundary
- ESXi L1 boots and shows hardware virtualization available.
- L2 VMs reach the network.
Step 2 Common mistakes Narrow the fault
- Port group without promiscuous mode/forged transmits or MAC learning.
- Unsupported guest OS type selected (choose *VMware ESXi*).
- Too little memory (ESXi needs at least 8 GB).
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.
- Enable hardware-assisted virtualization on the VM.
- Nested VM networking needs MAC learning/promiscuous.
- Not supported for production.
esxcli system version get— in L1 ESXivhv.enable = "TRUE" in .vmx / Proxmox cpu host— expose VTesxcli network vswitch standard policy security get— promiscuous for L2
ReferenceWhy it matters1 section · depth on demand
Running nested ESXi
- On ESXi: VM option "Expose hardware assisted virtualization to the guest OS", guest OS type "VMware ESXi".
- Port group for nested hosts: allow promiscuous mode, forged transmits and MAC changes (or enable MAC learning on vDS).
- On KVM/Proxmox: CPU
host,vmxnet3NIC or e1000e, and the right ESXi version for the emulated hardware.
VMware Workstation/Fusion and vSphere labs (William Lam's nested appliances) are common.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Nested ESXi runs as a VM for labs (vSphere, vSAN, NSX training):
| L0 platform | Settings |
|---|---|
| vSphere | Guest OS type "VMware ESXi 8", expose HV, vDS with MAC learning (or promiscuous + forged transmits), VMXNET3 |
| Proxmox/KVM | cpu: host, vmxnet3 NIC model, SATA or PVSCSI-compatible disk, UEFI |
| Workstation/Fusion | Built-in ESXi guest type |
William Lam's nested ESXi Content Library/OVA appliances (VMware community) provide pre-built lab images. Nested ESXi is unsupported for production but fully usable for learning.
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 Nested Virtualization → Nested ESXi. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%