VMware Cloud Community
jj1980
Contributor
Contributor
Jump to solution

Change MAC Address

Hi to eveeryone! This is my first post!!!.

I've read a lot information about change mac address in vmware 3.5 esx, but nobodys show me, if its definitley possible change a mac address from a virtual machine out of the vmware range..00:50:56:00:00:00 to 00:50:56:3F:FF:FF

Is it possible¿?.

Thank you....

0 Kudos
1 Solution

Accepted Solutions
TomHowarth
Leadership
Leadership
Jump to solution

No you cannot change the MAC address to another range from external to the guest, ie via the VMX file. but you may be able to spoof the address from withing the Guest by editing the properties of the NIC

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410

View solution in original post

0 Kudos
6 Replies
juavalga
Enthusiast
Enthusiast
Jump to solution

It's not possible

+" You can set the addresses by adding the following line to a virtual machine's configuration file:

+

ethernet<number>.address = 00:50:56:XX:YY:ZZ to ethernet<number>.address = 00:50:56:3F:FF:FF "

0 Kudos
Lightbulb
Virtuoso
Virtuoso
Jump to solution

According to this doc the answer is no you have to use the OUI 00:50:56:


http://www.vmware.com/support/esx21/doc/esx21admin_MACaddress.html


*"
VMware

ESX Server virtual machines do not support arbitrary MAC addresses,

hence the above format must be used. So long as you choose XX:YY:ZZ

uniquely among your hard-coded addresses, conflicts between the

automatically assigned MAC addresses and the manually assigned ones

should never occur. "*

0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

Moved to VIrtual Machine and Guest OS forum.

Yes, a VM itself can change its MAC address. For Windows you would use macof to do it or something similar. However, ensure the vSwitch/portgroup MAC Address protection setting is not set to True for the portgroup the VM is attached, that will cause the VM to not change its MAC.


Best regards, Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, DABCC Analyst[/url]
Now Available on Rough-Cuts: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing ESX and the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
AndreTheGiant
Immortal
Immortal
Jump to solution

In Linux you can change MAC Address inside the VM with ifconfig command.

The problem is the same in physical environment, so you can use info like this:

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
TomHowarth
Leadership
Leadership
Jump to solution

No you cannot change the MAC address to another range from external to the guest, ie via the VMX file. but you may be able to spoof the address from withing the Guest by editing the properties of the NIC

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
0 Kudos
stickboy2642
Contributor
Contributor
Jump to solution

You can change the mac address of a vmware interface in the Windows guest OS by adjusting it in the network properties.

Navigate to your Network Connections folder.

Right Click on the network connection where you want to change the MAC address and click "Properties".

When the properties window opens, click on the "Configure" button. This will bring up another window.

In the new window, click on the "Advanced" tab. One of the advanced properties that you can change is "Network Address". Highlight the "Network Address" entry and on the right hand side you should see a value entry. By default, "Not Present" is selected.

Check "value" and then enter in the mac address with no spaces, hyphens or other non-alphanumeric characters.

Hit the "OK" button and then close all of your windows. Typing ipconfig /all will show you the mac address for your interfaces. The one you changed should now reflect the value you have entered.

0 Kudos