Quantcast
Channel: VMware Arena
Viewing all articles
Browse latest Browse all 326

How vCenter Assigns MAC Addresses to VMware Virtual Machines?

$
0
0

I have been asked by many VMware Administrators about how MAC addresses are assigned to Virtual Machine?. We all aware that first 3 octet will be 00:50:56. The first three parts never change. This is the VMware Organizational Unique Identifier (OUI). How does other 3 octets are generated may be biggest question in our mind. Let’s discuss about How MAC addresses are assigned to VMware Virtual Machines by vCenter server. This post only applicable to the VM MAC generation, in which ESXi host is managed by vCenter Server. ESXi host which is not managed by vCenter server will have different mechanism to generate the MAC address for Virtual Machine.

As we aware that, First 3 Octects will be 00:50:56. This is the VMware Organizational Unique Identifier (OUI). How does 4th  octet of VM MAC address are calculated. Let’s begin the Calculation.

4th Octet of MAC = (128+ vCenter Instance ID) Convert it to Hexadecimal

To get the vCenter Server Instance ID -> Login to vSphere Client ->Administration -> vCenter Server Settings -> Runtime Settings. Note down the vCenter Server Unique ID. My vCenter Server Unique ID is 24.

VMware VM MAC Assignment_1

VMware VM MAC Assignment_2

How 4th Octet of the VM MAC Address is Calculated?

The automatically generated MAC address has a fourth octet is equal to 128 + the vCenter instance ID converted to hexadecimal.

4th Octet of MAC = (128+ vCenter Instance ID) Convert it to Hexadecimal

= 128+24 = 152

VMware VM MAC Assignment_4

4th Octet of VM MAC = 98 (Conversion of 152 to Hexadecimal)

I have confirmed the Same from the few of Virtual Machine MAC Address. 4 octet is assigned as “98″.

VMware VM MAC Assignment_5The last two bytes are assigned in mechanism, so that each MAC address is assigned would be unique. I hope this is informative for you. Thanks for Reading!!!. Be Social and share it in social media, if you feel worth sharing it.


Viewing all articles
Browse latest Browse all 326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>