Tuesday, September 17, 2019

False duplicate IP address detected on Microsoft Windows Servers and later virtual machines on ESX/ESXi when using Cisco devices on the environment

False duplicate IP address detected on Microsoft Windows Vista and later virtual machines on ESX/ESXi when using Cisco devices on the environment


Symptoms
When you assign an IP address on Windows Vista and later versions, you see a duplicate IP address conflict.
When you restart Windows Vista and later versions, you receive a 169.254.x.x IP.
When you set up the same virtual machine on a vSwitch with no uplink port on the vSwitch, the IP address is assigned successfully.
When you assign the same IP address to a Windows 2003 virtual machine on the same vSwitch, the IP address is assigned successfully.

Cause
This issue occurs when the Cisco switch has gratuitous ARPs enabled or the ArpProxySvc replied to all ARP requests incorrectly.

Resolution
Note: Investigate the network configuration at the physical layer for the root cause. For more information from Cisco

To work around this issue, turn off gratuitous ARP in the guest operating system.

Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.

To turn off gratuitous ARP in the guest operating system:

Shut down the guest operating system and power off the virtual machine.
Change the virtual machine to a network vSwitch with no uplink. You can create one for this procedure.
Power on the virtual machine and log in.
Open the Registry editor.

In Windows XP to Windows Server 2003 - Click Start > Run, type regedit, and click OK.

In Windows 7 and Current - Click Start, type regedit, and click OK.
Locate this registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Click Edit > New, and click DWORD Value.
Type ArpRetryCount.
Right-click the ArpRetryCount registry entry and click Modify.
In the Value box, type 0 and click OK.

Exit the Registry Editor.
1. Shut down the guest operating system and power off the virtual machine.
2. Change the virtual machine back to a network vSwitch with the uplink.
3. Power on the virtual machine.
4. Alternatively, you can disable gratuitous ARP on the physical switch.

For example:

To disable gratuitous ARP in Cisco IOS, run this command:

# no ip gratuitous-arps

Windows Administrator Level 1 Interview Question & Answers

 Windows Administrator Level 1 Interview Question & Answers What is an active directory?  An Active Directory (AD) is a directory ...