大网数据广告活动
Hyper-V与虚拟化

Windows Hyper-V server has a default limit of 256 dynamic MAC addresses

· 52CE 我爱测

Provides a solution to an issue that occurs when you start a guest virtual machine.

This article provides a solution to an issue that occurs when you start a guest virtual machine.

Original KB number:   2804678

Symptoms

Consider the following scenario:

You have a Windows Server 2012 computer that is configured with the Hyper-V role. The Hyper-V server is configured to provide Dynamic MAC addresses to the guest machines.

When you start a guest virtual machine, you may encounter the following error message:

The application encountered an error while attempting to change the state of '<Virtual machine name>'

Synthetic Ethernet Port (Instance ID CCE417C5-BDD9-4216-85CA-248620EE75C6): Failed to power on with Error 'Attempt to access invalid address'.

On a Windows Server 2008 or Windows Server 2008 R2 Hyper-V host, an Event ID 12565 from source "Microsoft-Windows-Hyper-V-Worker" is logged, as described in the Event ID 12565 — NIC Configuration.

Cause

This problem occurs because the default number of dynamic MAC addresses for virtual machines (256) has been exceeded.

Hyper-V generates the MAC address as described below (mapping MAC address to aa-bb-cc-dd-ee-ff):

  • The first three octets (aa-bb-cc) are Microsoft's IEEE organizationally Unique Identifier, 00:15:5D (which is common on all Hyper-V hosts.
  • The next two octets (dd-ee) are derived from the last two octets of the server's IP address.
  • The last octet (ff) is automatically generated from the range 0x0-0xFF.

Because the last octet is an 8-bit value, there is a default limit of 256 possible MAC addresses.

Resolution

Apply one of the following solutions:

  • Turn off the virtual machine, allocate a static MAC Address that does not belong to Hyper-V's dynamic MAC address range, then restart the virtual machine.

  • Increase the range of MAC addresses by using one of the following methods, by modifying the fifth and/or the sixth octet of the default dynamic MAC address range:

If the host is Windows Server 2008, you can modify the dynamic MAC address range via the following registry values:

  • HKLM\Software\Microsoft\Windows NT\CurrentVersion\Virtualization\MinimumMacAddress
  • HKLM\Software\Microsoft\Windows NT\CurrentVersion\Virtualization\MaximumMacAddress

Note: Knowledge of the hexadecimal numbering system is helpful to modify the octets. Each octet's range is 00 - FF.

More information

Refer to the following blog posts for additional reading on this subject:

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。