Unable to determine the IP address for virtual machines post upgrading VMware tools
search cancel

Unable to determine the IP address for virtual machines post upgrading VMware tools

book

Article ID: 428617

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Post performing a VMware Tools upgrade, the virtual machine fails to obtain an IP address, resulting in missing network connectivity within both the guest operating system and the VM summary page.

  • VMware logs indicate that the virtual machine fails to acquire an IP address following the VMware Tools upgrade:

In(05) vcpu-11 - Tools_SetVersionAndType: Done updating the Tools Version in the disk
In(05) mks - SOCKET 54941 (261) AsyncTCPSocketSetOption: Option layer/level [6], option/name [1]: successfully set OS option for TCP socket.
Wa(03) mks - SOCKET 54942 (261) unable to determine remote IP address

 

Environment

VMware ESXi 8.x

Cause

  • This issue occurs when multiple network interfaces have IP addresses assigned to the virtual machine.
  • This can be verified by checking the virtual machine’s registry at the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

Resolution

  • Manually assign an IP address to the virtual machine to restore network connectivity.

  • Coordinate with the internal team to identify why multiple network interfaces were configured on the virtual machine and remove any unused adapters to prevent this issue from recurring in the future.

Note: As a best practice, ensure that any unused or legacy network adapters are removed to avoid similar issues during virtual machine migrations between platforms.