Multiple VMs Lose Network Connectivity Post-vMotion with Error: failed to activate 'Ethernet0' or failed to connect to DV Port
search cancel

Multiple VMs Lose Network Connectivity Post-vMotion with Error: failed to activate 'Ethernet0' or failed to connect to DV Port

book

Article ID: 435308

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vSphere ESXi 8.0

Issue/Introduction

  • Virtual Machines (VMs) randomly lose network connectivity or enter a hung state immediately after a successful live migration (vMotion) to another ESXi host.

  • vCenter Server synchronization failures or transient network state mismatches may be observed in the vSphere Client for the affected VM cluster.

  • The guest operating system appears to be running normally via the vSphere Web Client console, but the VM is completely unreachable over the network.

  • A packet capture on the physical or virtual switch port shows zero network traffic originating from the affected VM.

  • The vmware.log file for the impacted VM contains one or both of the following error patterns during or immediately after the migration (note that the DV Port number will vary based on your environment, such as DV Port 325):

Pattern 1:

In(05) vcpu-0 - VMXNET3 user: failed to activate 'Ethernet#', status: 0xbad0014
In(05) vcpu-0 - VMXNET3 user: Activate request failed for device #.

Pattern 2:

In(05) vcpu-0 - VMXNET3 user: failed to connect 'Ethernet#' to DV Port '###'.
In(05) vcpu-0 - Msg_Post: Warning 
In(05) vcpu-0 - [msg.device.startdisconnected] Virtual device 'Ethernet#' will start 

Environment

VMware ESXi 8.x

Cause

The error code status: 0xbad0014 indicates an "Out of Memory" condition during the vNIC initialization and virtual switch/distributed switch (VDS) port attachment process.

This issue occurs when the target ESXi host's system memory is highly fragmented. Although there may be enough total free memory available on the host, the ESXi kernel cannot find or allocate the contiguous large memory blocks required by the VMXNET3 driver to successfully activate the device and complete its connection to the assigned Distributed Virtual Port after a vMotion. This driver initialization failure can cascade into tracking and state sync issues at the management layer.

Resolution

This issue is resolved in ESXi 8.0 Update 3 P06 (Build 24859861) and newer versions.

To download the latest patch:

  1. Navigate to the Broadcom Support Portal.

  2. For guidance on locating and downloading software updates, see Downloading Broadcom products and software.

Workaround

If you cannot immediately patch the ESXi host, use the following workaround to restore connectivity:

  • Power cycle the affected VM: Perform a guest OS restart or a hard reset of the virtual machine. This clears the host-side memory allocation for the VM, resets the VMXNET3 driver configurations, and forces a fresh memory allocation request on the host.

Additional Information