An ESXi host's status in vCenter Server changes to "Inaccessible," "Disconnected," or "Not Responding" after it was placed in or exited maintenance mode. This often occurs when network configurations were changed (either manually, via host profile, or an automated process) during or prior to the maintenance window, resulting in a loss of the host's management network connectivity.
VMware ESXi 8.x
VMware vCenter Server 8.x
The primary cause of an ESXi host becoming inaccessible is the loss of its management network connectivity. This can stem from various physical NIC (vmnic) or network misconfigurations, often introduced during maintenance operations:
Physical Switch Port Misconfiguration :
Incorrect VLAN Tagging: The switch port connected to the ESXi host's management vmnic is configured with the wrong VLAN ID, or the necessary VLANs are not allowed on a trunk port.
Access vs. Trunk Mode: The switch port mode (e.g., access port for a single VLAN vs. trunk port for multiple VLANs) might be incorrect.
Cable Disconnection/Damage: A physical network cable connecting the ESXi host's vmnic to the physical switch is disconnected, damaged, or plugged into the wrong port.
Management vmkernal Adapter VLAN Mismatch: The VLAN ID configured on the ESXi host's management VMkernel adapter (vmk0 or similar) does not match the VLAN on the physical switch port.
Incorrect vmnic Assignment: The vmnic intended for management traffic was accidentally removed from the management vSwitch, or an incorrect vmnic was assigned.
Few Steps that might help us diagnose for resolution as below :
ping the ESXi host's management IP address. If it fails, network connectivity is indeed the issue.vmnic ports on the host and the correct ports on the physical switch.vmnic ports on the ESXi host and the corresponding ports on the physical switch. They should be green/amber and blinking.F2 to customize the system. You will need the root password.Network Adapters and press Enter.vmnic (e.g., vmnic0) is selected and marked as active for the management network vSwitch.VLAN (Optional) and press Enter.Test Management Network and press Enter. This will perform basic ping tests to the default gateway, DNS server, and possibly vCenterFrom Physical Switch CLI (If you suspect switch-side issue):
vmnic(s) are connected to.no shutdown.switchport mode trunk or switchport mode access vlan X).switchport trunk allowed vlan add X or switchport trunk allowed vlan Y,Z).Correct Physical Switch Port Configuration:
bash /etc/init.d/hostd restart /etc/init.d/vpxa restart