ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

What to do when you have Duplicate MAC address within VMware vSphere Environment?

By Vladan SEGET | Last Updated: February 28, 2018

Shares

Sometimes you have an environment, which shows up with duplicate MAC addresses. You can see the alarms within in your vCenter server web client, and even worse, you won't be able to power On a virtual machine (VM) which is in MAC address conflict with another VM. In this post, we will look at possible reasons and solutions What to do when you have Duplicate MAC address within VMware vSphere Environment.

Reasons, why there are multiple MAC addresses on the same network, are quite numerous. It can be two vCenter server instances with identical IDs overlapping MAC addresses for VMs network adapters.

Or it can be simple, let's say a replication software which replicates VMs to another site managed by a single vCenter server. We'll have a look at both.

Basically, to have identical MAC address on two different VMs is problematic because:

Quote:

A virtual machine powers on and functions properly, but shares a MAC address with another virtual machine. This situation might cause packet loss and other problems.

Yes, there can be a packet loss or performance degradation of the network.

How to find vCenter Server ID?

Simple. Connect to your vCenter server via vSphere Web client and go to

In vSphere Client, click Administration > vCenter Server Settings > Runtime Settings > Type a new unique ID and click OK.

Each vCenter Server system has a vCenter Server instance ID. This ID is a number between 0 and 63 that is randomly generated at installation time but can be reconfigured after installation. This is where you need to change it. Depending on the ID number, vCenter server generates MAC address from a pool, so if you have two vCenter server instances with the same ID, make sure to change the ID number after installation.

You might be in a situation, where you have a VM copied from another vSphere installation and where the vCenter server had the same ID as the ID of your vCenter server. Not likely, but can happen. In this case, it's fairly simple to edit the MAC address of the VM while the VM is powered OFF.

Edit the VM's virtual hardware. Select and expand Network Adapter > Change the MAC address assignment to Manual > Change the MAC address.

You might also re-create the adapter of that powered Off VM, by deleting the old and adding a new one. In this case, however, you might lose the networking settings so the solution would be to:

  1. Power On the VM without connecting the virtual network
  2. Within the Guest OS, verify the network settings and save for later (netsh -c interface dump > PATH_AND_FILENAME.txt)
  3. Delete the vNIC
  4. Add new vNIC and connect to the network
  5. Power On the VM and within the guest OS import the config (netsh -f PATH_AND_FILENAME.txt)

If you have vSphere Replication (VR) in place or you are using another replication software for DR purposes, you might be in a situation where you have MAC address conflicts within your vCenter server. In this case, those  VMs won't go online while you're up and running on the main site. I mean, within a normal situation, when everything is OK the replicas will stay Offline.

You can safely turn off the vCenter server alarm:

  1. Log in to vCenter Server using the vSphere Client, go to the Hosts and Clusters view > vCenter Server instance.
  2. Select the Management tab > Alarm Definitions.
  3. Search for VM MAC in the search window.
  4. Edit the VM MAC Conflict alarm.
  5. Deselect Enable this alarm.

You can also have a situation when your backup software restores a VM to a new location, with the same MAC address (if that VM had static MAC configured). By default, VMware vSphere has dynamic MAC enabled when creating new VMs and it only makes sense.

Well, this is about it. I'm sure that most VMware admins know their ways, but new people learning VMware virtualization technology might find it useful.

More from ESX Virtualization

  • VMware Mirage Architecture Preparation Steps
  • VMware vSphere Client Download Page
  • ESXi Free vs Paid – What are the differences?
  • Top 3 VM Replication Software for VMware vSphere Environments
  • V2V Migration with VMware – 5 Top Tips

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Server Virtualization, Tips Tagged With: Duplicate MAC address within VMware vSphere

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Joshua says

    February 28, 2018 at 5:36 pm

    Also, Veeam SureBackup often triggers this alarm as the VM has a duplicate MAC but is on the isolated network for testing and not able to talk to production networks.

  2. Kevin says

    September 6, 2018 at 11:51 pm

    I am not sure you are completely spot on with this post. MAC addresses are set on the host, not in the vCenter. Case in point, you do not need vCenter to have vm’s deployed on an ESX host. Additionally, the most common cause for duplicate MAC addresses I have come across is due to IT Admins cloning their ESXi deployment. The MAC address pool is created on each ESXi host during installation of the OS. The pool is seeded by the MAC address on the physical network port, and then as MAC addresses are needed they are put through an algorithm. As part of the hypervisor installation, the MAC address used to generate the initial pool is burned into the install. If you then take the that original installation and clone it for other ESXi hosts, the clone has the seed MAC from the original server on all the clone hosts, and therefore the MAC address pools on multiple ESX hosts are exact duplicates. I have not seen vCenter fixing this issue either, nor have I seen a way to fix the seed MAC address without re-installing the OS on each host and not using a clone.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in