Lab: ESXi Network Diagnostics & Path Failover
Objectives
- Lab: ESXi Network Diagnostics & Path Failover
Prerequisites
VCF lab environment deployed and operational
Lab Environment
Standard VCF lab environment for vSphere Foundation 9.0 Support (Support Specialist)
Tasks
Task 1 Lab: ESXi Network Diagnostics & Path Failover
SSH to ESXi host with ISCSI storage attached
List active paths: esxcli storage nmp path list | grep active
Disable one physical path (simulate cable fault): esxcli storage nmp path set -p vmnic2:0:0:0 -e false
Verify failover: esxcli storage nmp path list (path should transition to dead)
Test ISCSI LUN still accessible: iscsiadm -m session (should show target reachable via alternate path)
Re-enable path: esxcli storage nmp path set -p vmnic2:0:0:0 -e true
Run vmkping test: vmkping -I "Management Network" gateway_ip -c 4 (verify <2ms)
Validation Gate
Check: Diagnose a VM connectivity issue using: esxcli NIC stats, vmkping with jumbo frames, pktcap-uw for packet capture, and VDS port group VLAN verification
Expected: Root cause identified: VLAN mismatch, MTU issue, NIC speed negotiation, cable failure, or physical switch misconfiguration. Resolution applied and connectivity restored.
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
Network troubleshooting methodology demonstrates operational maturity. VCDX designs should include diagnostic procedures for common network failure scenarios.
Requirements
- Diagnose network connectivity issues systematically
- Verify VLAN, MTU, NIC teaming, and physical connectivity
- Test failover behavior after changes
Constraints
- pktcap-uw captures can impact host performance at high rates
- Some diagnostics require ESXi SSH access (may be disabled in lockdown mode)
Assumptions
- SSH access is enabled for troubleshooting
- Physical switch configuration is accessible for cross-reference
Risks
- Silent packet drops from VLAN mismatch — no error messages
- Performance degradation from NIC speed mismatch going unnoticed