Hyper-V: Bug: Connection loss during LiveMigrations (Windows Firewall)

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

Error

We have a problem with Live Migration of VMs with Windows Firewall (InGuest) enabled. After a Live Migration of VMs with Windows Firewall enabled the VM is no longer available for 10 seconds. (ICMP/Ping) Also the VM doesn't answer ping for 10 seconds.

When we deactivate the Windows Firewall on the VM, we have no problems. (maximum ping loss of 1 ping)

Additional information: Hypervisor = Hyper-V 2016, VMs = Windows Server 2012 R2 & Windows Server 2016

Cause

Workaround

Workaround 1 (recommended) - Persistent (InGuest reboot required)

  • Create following Registry-Key to disable Firewall Interface Quarantine on all VMs (InGuest)
Registry Path: HKLM\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy
Registry Key: IntfQuarantineEnabled
Values: 0 (DWORD 32bit Value)


Solution