Two ways to modify the vmx configuration file

  
                

VMware servers can create, edit, and run virtual machines. In addition to having the ability to run virtual machines created by other VMware products, it can also run virtual machines created by Microsoft's Virtual PC products. Recently installed a new Windows7 operating system, in order to not want to put all kinds of compiler tools everywhere, so I installed a VMware, installed a win2003 with multiple virtual machines to run a variety of compiler environments, but because It is a copy of the same virtual file copy, so that the MAC address of the network card in the VM is the same, always conflict, just look for it, manually change the MAC address, everything is normal.

I. Two ways to modify the vmx configuration file

1. Open the vmx configuration file with a text tool (such as Notepad or vi), and then modify 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" ;

Note:

where 00:0c:29: Cannot 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 delete the following three lines:

ethernet[n].generatedAddress

ethernet[ ,null,null,3],n].addressType

ethernet[n].generatedAddressOffset

Add a line to the configuration file:

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

where [n] is your NIC serial number;

XX modification range is: 00-3F;

The modification range of YY and ZZ is: 00-FF ;

“00:50:56” These are not modifiable;

Second, it is to change the mac address in the operating system of the virtual machine

First of all, in our normal application, there are many aspects related to the MAC address, for example, a certain software is bound to the MAC address, and just happens. Your network card has been changed. Without the allowed MAC address, the software will not run. At this point you can modify the MAC address of the network card to match the needs of the software so that the software can be reused.

Furthermore, in a local area network, managers often bind network ports to client MAC addresses for ease of management. If your network card is broken, you must apply to the administrator to change the MAC address of the binding before you buy a new network card, so that you can continue to use it, which is more troublesome. If you are too lazy to re-register, at this time, we only need to change the MAC address slightly in the operating system, you can skip the re-application step, which reduces a lot of trouble.

In addition, when a hacker uses hacker software to attack your machine, your firewall gets its IP address, and you can get his MAC address by using the "Nbtstat-A ip address" command. But you often don't get his real MAC address, because the hacker just needs to change his MAC address, the MAC you find is not his.

Copyright © Windows knowledge All Rights Reserved