VMware Cloud Community
pearlyshells
Contributor
Contributor

Change Virtual MAC address of VM

How can I change the Virtual MAC address of a VM. I know I can use the "manual" setting and put a mac address into the box but I need to know "what address is legal to use"

Reply
0 Kudos
3 Replies
Troy_Clavell
Immortal
Immortal

If I windows guest I would just change it in the OS

http://kb.vmware.com/kb/1008473

otherwise follow

http://kb.vmware.com/kb/507

pearlyshells
Contributor
Contributor

Thanks Troy,

Will give it a go

Reply
0 Kudos
nanair01
Enthusiast
Enthusiast

VMware uses a different OUI for manually generated addresses: <span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">00:<span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">50:<span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">56. The MAC address range is You can set the addresses by adding the following line to a virtual machine's configuration file:

<span class="currency_converter_text">ethernetN.address = <span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">00<span class="currency_converter_text">:<span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">50<span class="currency_converter_text">:<span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">56<span class="currency_converter_text">:XX:YY:ZZ





Here, N refers to the number of the Ethernet adapter, XX is a valid hex number between 00 and 3F, and YY and ZZ are valid hex numbers between 00 and FF. The value for XX must not be greater than 3F
in order to avoid conflict with MAC addresses that are generated by the
VMware Workstation and VMware GSX Server products. Thus the maximum
value for a manually generated MAC address is:




<span class="currency_converter_text"><span class="currency_converter_text">ethernetN.address = <span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">00<span class="currency_converter_text">:<span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">50<span class="currency_converter_text">:<span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">56<span class="currency_converter_text">:<span class="currency_converter_text"><span class="currency_converter_link"><span class="currency_converter_link"><span class="currency_converter_link">3<span class="currency_converter_text">F:FF:FF

You must also set the option in a virtual machine's configuration file:

<span class="currency_converter_text">ethernetN.addressType="static"

If you find this post helpful/rectify your problem do not forget to award points</span>

If you find this post helpful/rectify your problem do not forget to award points
Reply
0 Kudos