• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

vFrank

Essense of virtualization

  • LinkedIn
  • RSS
  • Twitter

MAC address conflicts

November 18, 2010 by FrankBrix 6 Comments

During a VMware Install, Configure Manage class I had two students each with seperate vCenters complaining about their virtual machines were receiving the same IP address from the DHCP server. At first I thought there was some weird problem with my DHCP server but that was not the case. We checked the VMware generated MAC addresses for the problem VM’s and guess what… they had the same MAC addresses. That pretty much told us why they were having IP conflicts.

At that time I was not aware how vCenter generates is MAC addresses but after asking google and kb.vmware.com I figured it out.

Every vCenter has a Unique ID. (administration – vCenter server settings – Runtime settings) The value can be between 0 and 63. The value is generated during the installation of vCenter. I checked both vCenters and they had the same unique ID 2.

vCenter then uses the following formula for MAC address generation: 00:50:56: (80+UniqueID) :00:00 This means it is only the last four digits

vCenter changes.

I got more curious about this and tried logging directly in to an ESXi host and creating two virtual machines. They got the following MAC addresses

VM0 00:0C:29:5C:16:BE

VM1 00:0C:29:73:B2:6F

During my research I disovered VMware have three OUI for MAC addresses

00:50:56 (Used for vCenter)

00:0C:29 (Used when creating VM directly on an ESXi host)

00:05:69 (Maybe used on ESX?)

When going through the VMware knowledge base there was a document stating that you should use 00:50:56 for static MAC address. Use the range 00:50:56:(00-3F) for your static mac addresses

Filed Under: Uncategorized

Reader Interactions

Comments

  1. Scott Vessey says

    November 19, 2010 at 11:12

    Hi Frank,

    It is safe to use static MAC addresses through vCenter that start with 00:50:56 – the fourth byte of a static MAC address must be in the 00-3F range.

    Try it for yourself in the Edit Settings dialog box for a VM in the vSphere Client ๐Ÿ˜‰

    Scott.

  2. FrankBrix says

    November 30, 2010 at 10:53

    Thanks Scott for the info! ๐Ÿ™‚

  3. Gert Ejner Nielsen says

    December 5, 2010 at 19:03

    Hey Frank
    I was a student during your class. Something doesn’t fit:
    I have created a VM in my test lab. It was given the MAC Address: 00:00:56:b7:00:00. vCenter have the Unique ID 55. According to you the fourth byte should be 80+55 =135 (DEC) or 87(HEX) but it is b7 (HEX). If 80+55 are read as HEX it doesn’t help. It gives 213 (DEC) or D5(HEX)

    Congratulations with your exam. In the next week it is my turn with VCP ๐Ÿ™‚
    Gert

  4. Gert Ejner Nielsen says

    December 5, 2010 at 19:41

    Hey again

    It does fit if I read 80 as HEX and 55 as DEC :-). I didn’t take that possibility in consideration.

    Gert

  5. FrankBrix says

    December 6, 2010 at 15:03

    Good luck with the VCP let me know how it goes ๐Ÿ™‚

Trackbacks

  1. Technology Short Take #7 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers says:
    November 29, 2010 at 13:01

    […] Brix aka “vFrank” posted more information on MAC address generation and address conflicts, including a list of the different VMware OUIs for MAC […]

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Blogroll

  • Hazenet
  • Michael Ryom
  • Perfect Cloud
  • vTerkel

Copyright © 2023 ยท News Pro on Genesis Framework ยท WordPress ยท Log in