How to enable duplicate MAC addresses on Virtual Server 2005R2

How to enable duplicate MAC addresses on Virtual Server 2005R2

  • Comments 2

Just wanted to pass this one a long, is embarrassingly enough I actually learned about this on one of our public newsgroups.  By default Virtual Server 2005R2 will detect if you have virtual machines on the same box configured with duplicate MAC addresses and stop you from starting them up at the same time.  Now for 90% of cases this is the correct thing to do.  However, if you really, really, really know what you are doing and need to boot virtual machines with the same MAC address you can do the following:

  1. Stop the Virtual Server service (either use the services management console or run "net stop "virtual server"". 
  2. Use notepad to open "C:\Documents and Settings\All Users\Application Data\Microsoft\Virtual Server\options.xml" (where C:\ is one of your system drive is). 
  3. Locate the <virtual_network> </virtual_network> section and add:

    <duplicate_mac>
       <isAllowed type="boolean">true</isAllowed>
    </duplicate_mac>
  4. When you are done save the file and restart the Virtual Server service. 

You can now start virtual machines with duplicate MAC addresses, but once again please be careful when doing this.

Cheers,
Ben

Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • So... this just begs the question, why might one want to run two (or more) VM's with the same MAC address?

  • Well, you can configure more than one virtual network...

    I can imagine the situation where you have some VM in a production, which is connected to "External Network". Now, you want to accomplish some tests. You make a copy of the VM in question and connect it to a closed "internal" virtual network... You will want to keep the MAC address.

Page 1 of 1 (2 items)