Modify the VMware virtual machine network card MAC address

Recently encountered a problem: after a copy of the original virtual machine, start the virtual machine will complain: that the MAC address is not unique. After entering the virtual machine can not normally access.

Solution:

Modify the MAC address , there are two methods:

First, modify the configuration file vmx

  Two ways to modify the configuration file vmx

  1. Open the vmx configuration file with a text tool (such as Notepad or vi), and then change it a few lines:

  ethernet0.generatedAddress = "00:0c:29:1c:35:cc"

  uuid.bios = "56 4d e0 c4 a2 41 24 1b-5b 6e 4b a0 0b 1c:35:cc"

  Comment:

  Where 00: 0c: 29: can not be modified

  1c: 35: cc can be modified

  2, one is:

  First, open the vmx configuration file with a text tool (such as Notepad or vi), and then delete the following three lines:

  ethernet[n].generatedAddress

  ethernet[n].addressType

  ethernet[n].generatedAddressOffset

  Then add a line in the configuration file:

  ethernet[n].address = 00:50:56:XX:YY:ZZ

  Where [n] for your network card serial number;

  XX modified range: 00-3F;

  Changeable YY and ZZ is: 00-FF;

  "00:50:56" these can not be changed;

 Second, in the virtual machine 's operating system to change the mac address in

  First of all, we in the usual applications, there are many aspects related to the MAC address, for example, is a software and MAC address binding, and just change your card, and did not allow the MAC address, the software will not run. At this point you can modify the network card MAC address, so that it is consistent with the needs of the software, so you can re-use the software.

  Furthermore, in the local area network , managers often in order to facilitate the management of the MAC address of the network interface with the client bindings. If your card is broken, after you buy a new network card MAC address changes must apply bound to managers can continue to use, so much trouble. If you do not bother to register again, this time, we just change a little bit MAC address in the operating system, you can skip this step to re-apply, reducing a lot of trouble.

  In addition, hackers use software hacker attack on your machine, your firewall to get to his IP address , you can get his MAC address "Nbtstat-A ip address" command, but you often can not get him the real MAC address, reason is that as long as the hacker to change what he's MAC address, you found the MAC is not his.

Reproduced in: https: //www.cnblogs.com/henryhappier/archive/2010/04/20/1715840.html

Guess you like

Origin blog.csdn.net/weixin_34102807/article/details/93537518