esxcli network ip neighbor listNeighbor Mac Address Vmknic Expiry State Type
--------------- ----------------- ------ ------------ ----- ----
192.168.#.# 00:50:56:##:##:## vmk2 #### sec Dynamic
A duplicate IP address exists in the environment.
Another node (such as a virtual machine or VMkernel adapter) is configured with the same IP address, causing the ESXi host to learn and cache the "incorrect" MAC address.
Identify the virtual machine using the conflicting MAC address by querying the vCenter Server database (VCDB).
Open an SSH session to the vCenter Server appliance and execute the below command. Be sure to replace 00:50:56:##:##:## with the MAC you're looking for:
/opt/vmware/vpostgres/current/bin/psql -h localhost -U postgres -d VCDB -c "select e.name as vm_name, n.mac_address as mac_address, e.id as vm_id, v.file_name as vm_file, h.dns_name as esxi_name, h.ip_address as esxi_ip from vpx_entity e, vpx_vm v, vpx_host h, vpx_nic n where e.id=(select entity_id from vpx_nic where mac_address='00:50:56:##:##:##') and v.id=e.id and v.id=n.entity_id and v.host_id=h.id;"Correct the IP address configuration on the identified virtual machine or VMkernel adapter to resolve the duplicate IP conflict.
(Optional) Clear the stale ARP entry on the affected ESXi host by running the below command via SSH. Be sure to replace <IP_to_remove> with the IP you wish to remove (do not include the angle brackets < > in your command):
esxcli network ip neighbor remove -v 4 -a <IP_to_remove>