VMware Tools GuestInfo reports empty NicInfo array
search cancel

VMware Tools GuestInfo reports empty NicInfo array

book

Article ID: 336699

calendar_today

Updated On:

Products

VMware Desktop Hypervisor VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • From the host vSphere API, VM GuestInfo.net is empty NicInfo array while GuestInfo.ipAddress exists
  • From the vCenter Server UI, the VM summary tab does not show a VM IP address


Cause

This issue occurs when there are too many network interface entries found in guest OS by VMware Tools (version 10.2.0 and later).
You can confirm this in the virtual machine tools vmsvc log file:

[ message] [vmsvc] GuestInfoAddNicEntry: NIC limit (64) reached, skipping overflow.

Resolution

To resolve this issue, set which network interfaces to ignore using exclude-nics in the VMware Tools config file: tools.conf

Example configuration:
[guestinfo]
primary-nics=eth0
exclude-nics=docker*,???????????????


Note: The above example configuration excludes interfaces that have the prefix docker in their name or have 15 character long names (This is the typical length for container interface names created by Docker). For specific guest environments, these patterns need to be adjusted to match the appropriate interface names, to exclude only the intended set of interfaces from guestInfo. exclude-nics accepts multiple patterns and an interface gets excluded from guestInfo reporting if the interface name matches with any one of the patterns.


Additional Information