VMware Communities
drmccoll
Contributor
Contributor

Can you make VM use MAC address from eth1 rather than VMware adapter?

If I have software tied to the mac address of an ethernet card, how do I get it to run in a Windows VM? I can get the VM to use its own VMware adapter to bridge to eth1, but then the Windows VM sees the virtual mac address, not the real one.

Reply
0 Kudos
8 Replies
AWo
Immortal
Immortal

Change the vNIC type from bridged to NAT (VMnet8). The host will act like a proxy then and the guest doesn't appear on the network with its own address anymore.


If you found this information useful, please consider awarding points for "Correct" or "Helpful" replies. Thanks!!


AWo

VCP / vEXPERT 2009

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
RDPetruska
Leadership
Leadership

No, you cannot. You cannot have 2 computers with the same MAC address on the same network. You can spoof the MAC address in the guest, but to VMware, the MAC address must fall within VMware's legitimate range.

Reply
0 Kudos
jokke
Expert
Expert

Spoof the host mac to a bogus one to prevent 2 of the same then.

Reply
0 Kudos
continuum
Immortal
Immortal

what about a virtual nic inside the VM - like those you get with "virtnet" - you can assign any MAC to them - and they do not interact in any way with the local net

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
damoiselle_111
Enthusiast
Enthusiast

You can set virtual mac to any value using:

ethernet0.address = "00:11:22:33:44:55"

ethernet0.addressType = "static"

ethernet0.checkMacAddress = "FALSE"

It's valid to set virtual MAC to bridged host MAC, but the IP address should be different (aka, can't dhcp both).

Reply
0 Kudos
RDPetruska
Leadership
Leadership

You can set virtual mac to any value using:

ethernet0.address = "00:11:22:33:44:55"

ethernet0.addressType = "static"

ethernet0.checkMacAddress = "FALSE"

It's valid to set virtual MAC to bridged host MAC, but the IP address should be different (aka, can't dhcp both).

Incorrect. The ONLY valid VMware static MAC range is 00:50:56:00:00:00 through 00:50:56:3F:FF:FF.

Robert

Reply
0 Kudos
damoiselle_111
Enthusiast
Enthusiast

It work happly here since Workstation 6.5.1.

v6.5.1 need the checkMacAddress = "FALSE" to disable MAC range validation.

v6.5.2 work out of box.

For NAT packet forwarding, you need the "Allow Any OUI" checked.

Reply
0 Kudos
jokke
Expert
Expert

So there is registry based and vmx based entries that does the same thing..

Reply
0 Kudos