Please note that any MAC addresses or UUIDs for any devices listed below are randomly generated and so not known to be associated with any actual devices:
Finding the MAC address of the device with duplicate IP:
- On the ESXi host reporting the duplicate IP address, examine vmkernel.log to find the MAC address of the device running the duplicate IP. Note that the duplicate IP may be on a different device than another ESXi host or may be on the same ESXi host reporting the conflict.
- Alternatively, on that same affected ESXi host, examine the hostd.log to find the MAC address of the device running the duplicate IP. In the following example, the hostd.log is showing the duplicate IP message highlighted in green, and the MAC address of the other device with the IP is highlighted in yellow:
2024-01-07T00:21:06.712Z info hostd[2111961] [Originator@6876 sub=Hostsvc.VmkVprobSource] VmkVprobSource::Post event: (vim.event.EventEx) {
--> key = 218,
--> chainId = -1,
--> createdTime = "1970-01-01T00:00:00Z",
--> userName = "",
--> host = (vim.event.HostEventArgument) {
--> name = "MyVM",
--> host = 'vim.HostSystem:ha-host'
--> },
--> eventTypeId = "esx.problem.net.vmknic.ip.duplicate",
--> arguments = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = "10.121.##.###"
--> },
--> (vmodl.KeyAnyValue) {
--> key = "2",
--> value = "vmk2"
--> },
--> (vmodl.KeyAnyValue) {
--> key = "3",
--> value = "b4:f7:c8:56:##:##"
--> }
--> ],
--> objectId = "ha-host",
--> objectType = "vim.HostSystem",
--> }
Rule out the device with the MAC address being on the same ESXi host:
- Use ESXi host commands to ensure the IP is not duplicated on the same host that is giving the error. Run the following commands on the affected ESXi host console command line:
- To see if vmks on the host are using that address:
# esxcfg-vmknic -l |grep "b4:f7:c8:56:##:##"
- To see if vmnics on the host are using that address:
# /usr/lib/vmware/vm-support/bin/nicinfo.sh |grep "b4:f7:c8:56:##:##"
- We can also run the following especially to see virtual switch and VM MAC addresses:
# python /usr/lib/vmware/vm-support/bin/dump-cswitch-info.py |grep "b4:f7:c8:56:##:##"
Once the MAC address has been discovered, and you have found the device with that it either exists on the current ESXi host, or on another device, one or the other devices using that IP address must be changed.
To change the IP address of a VMware product or device, please search VMware Documentation or Broadcom Knowledge Base for the correct method.
For any non-vSphere device, please consult the device vendor for direction as to how to change the IP.