This article provides methods for listing the Address Resolution Protocol (ARP) and Neighbor Discovery (ND) cache maintained for VMkernel network interfaces on ESX/ESXi. Use of this information is outside the scope of this article, but may be useful when troubleshooting
ARP and ND Protocol are used in IPv4 and IPv6 respectively at the network layer for discovering other devices on the same link. A cache of neighboring devices' IP and MAC addresses is maintained by the ESX/ESXi host's VMkernel networking stack. The cache is used for mapping logical IP addresses to link-layer MAC addresses for outbound traffic on VMkernel network interfaces.
Note: This information is only for ESX/ESXi 4.1 and higher. For previous versions of ESX/ESXi, consider capturing network traffic on the VMkernel interface and reviewing it to see whether ARP traffic is being issued and responded to. For more information, see Capturing a network trace in ESXi 4.x using Tech Support Mode (1031186).
To review the ARP and ND cache for the VMkernel network interfaces on an ESX or ESXi host, use the local or remote esxcli command. This command is available at the local console of the ESX/ESXi host, and usable remotely from the vSphere Command Line Interface (vCLI) or from the vSphere Management Assistant (vMA) appliance. For installation and/or usage instruction, see the relevant documentation.
esxcli
command is available.esxcli [--server hostname --username root --password rootpassword] network neighbor list
esxcli [--server hostname --username root --password rootpassword] network ip neighbor list
esxcli
command.Neighbor Mac Address vmknic Expiry(sec)
-------- ----------- ------ -----------
10.5.6.7 xx:xx:xx:xx:xx:xw vmk0 1200
10.5.6.8 xx:xx:xx:xx:xx:xx vmk0 1197
10.5.6.9 xx:xx:xx:xx:xx:xy vmk0 277
10.200.1.10 xx:xx:xx:xx:xx:xz vmk1 979
The VMware ESX Service Console maintains a separate MAC address cache. For more information, see Troubleshooting network connection issues using Address Resolution Protocol (ARP) (1008184).