Virtuelle Server nehmen nach Stromausfall nicht mehr die richtige IP

Falls ein Server im ipconfig /all eine APIPA Adresse sowie die eigentliche Adresse mit (dupliziert) anzeigt, dann kann folgendes die Lösung sein:

To turn off gratuitous ARP in the guest operating system:
  1. Power on the virtual machine and log in.
  2. Click Start, type regedit, and click OK.
  3. Locate this registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  1. Click Edit > New, and click DWORD Value.
  2. Type ArpRetryCount.
  3. Right-click the ArpRetryCount registry entry and click Modify.
  4. In the Value box, type 0 and click OK.
  5. Exit the Registry Editor.
  6. Shut down the guest operating system and power off the virtual machine.
  7. Change the virtual machine back to a network vSwitch with the uplink.
  8. Power on the virtual machine.
Oder:
Powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -Name "ArpRetryCount" -Value 0 -PropertyType DWORD -Force

CMD
reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v ArpRetryCount /t REG_DWORD /d 0 /f

Erstellungsdatum: 05.01.2026 09:55      Letzte Aktualisierung: 05.01.2026 09:55