How dynamic media access control addresses are assigned to virtual network adaptors in Virtual Server 2005 (888030)



The information in this article applies to:

  • Microsoft Virtual Server 2005

INTRODUCTION

This article describes how dynamic media access control (MAC) addresses are assigned to virtual network adaptors in Microsoft Virtual Server 2005.

MORE INFORMATION

The MAC addresses that are assigned to virtual machines in Virtual Server 2005 are allocated according to the following algorithm:
  1. The first three bytes of the MAC address are the Microsoft Virtual Machine Organizational Unique Identifier (OUI). The first three bytes appear as 00:03:FF.
  2. The fourth byte is the fourth byte of the MAC address of the host adaptor. The fourth byte is in an XOR (exclusive OR) relationship with a monotonically increasing counter that is maintained by the Virtual Machine Network Services driver.
  3. The fifth and sixth bytes are the fifth and sixth bytes of the MAC address of the host adaptor. If there are multiple host adaptors, the first 256 addresses are allocated from the first host adaptor, and the next 256 addresses are allocated from the second host adaptor. When all host adaptors have been used, the algorithm re-uses the first network adaptor.
Note The Microsoft Loopback and Bridge adaptors are not considered for the purposes of the MAC address allocation mechanism. Typically, these adaptors have the same MAC address on every computer. If there are no eligible host adaptors, the last three bytes of the MAC address are chosen at random by using a crypto random number generator.

Important This information applies to the current version of Virtual Server 2005. Microsoft reserves the right to change the algorithm in future software updates and in other product releases.

Modification Type:MajorLast Reviewed:11/29/2004
Keywords:kbinfo kbhowto KB888030 kbAudITPRO