Error: Unable to add network on ESXi host due to missing VMkernel adapters VMware vCenter Server
search cancel

Error: Unable to add network on ESXi host due to missing VMkernel adapters VMware vCenter Server

book

Article ID: 450575

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

When attempting to add an ESXi host to the vCenter Server inventory, the host may appear in a "Disconnected" state. This issue occurs when the primary management VMkernel adapter (vmk0) lacks a valid static IP address, subnet mask, or a correctly configured Fully Qualified Domain Name (FQDN). Without these core network identity parameters, the host cannot establish the necessary management handshake with vCenter Server, and external management machines will be unable to reach the host via ICMP ping. This article provides the diagnostic steps and esxcli commands required to manually restore the management network identity directly from the host console to facilitate successful vCenter integration.

Symptoms:

  • You are unable to add an ESXi host to vCenter Server.
  • The host status shows as "Disconnected" in the vSphere Client.
  • The ESXi host does not respond to ICMP ping requests from the management network.
  • Command-line verification via the Out-of-Band (iLO/iDRAC) console reveals that vmk0 is missing an IP address or FQDN.

Environment

  • VMware vCenter Server 8.0.x
  • VMware ESXi 8.0.x

Cause

The root cause is an incomplete or incorrect network configuration on the ESXi host, specifically involving the management IP assignment and the hostname/FQDN settings on the primary management interface (vmk0).

Resolution

To resolve this issue manually, configure the management network settings directly via the ESXi command line:

  1. Log in to the ESXi host console (Direct Console User Interface or via SSH if reachable).
  2. Set the static Management IP and Subnet Mask for the vmk0 interface: esxcli network ip interface ipv4 set -i vmk0 -I <new-ip-address> -N <subnet-mask> -t static
  3. Configure the Hostname and FQDN: esxcli system hostname set --fqdn=<my-hostname.domain.com>
  4. Verify the DNS configuration: esxcli network ip dns server list
  5. Reconnect the host in vCenter Server:
    • In the vSphere Client, right-click the disconnected host.
    • Select Connect.
    • Provide the required administrative credentials to complete the connection.

Additional Information

ESXi host shows disconnected in vCenter and management network is unpingable after upgrade