Article Title: how to modify the MAC address of the vmwarevm Nic. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
There are two ways to modify the MAC address:
1. Modify the vmx configuration file
Two methods to modify the vmx configuration file
1. Use a text tool (such as NotePad or vi) to open the vmx configuration file and modify the following 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, use a text tool (such as NotePad or vi) to open the vmx configuration file, and then delete the following three lines:
Ethernet [n]. generatedAddress
Ethernet [n]. addressType
Ethernet [n]. generatedAddressOffset
Add a line in the configuration file:
Ethernet [n]. address = 00: 50: 56: XX: YY: ZZ
[N] indicates your Nic serial number;
XX modification range: 00-3F;
The modification range of YY and ZZ is: 00-FF;
"00:50:56" cannot be modified;
2. Change the mac address in the virtual machine operating system
First of all, in our common applications, there are many aspects related to the MAC address. For example, a software is bound to the MAC address, and your Nic is changed, if no MAC address is allowed, the software cannot run. In this case, you can modify the MAC address of the network card so that it matches the needs of the software, so that you can use the software again.
In addition, in the LAN, the Administrator often binds the network port to the MAC address of the client for convenient management. If your network card breaks down, you must apply to the Administrator to change the bound MAC address after buying a new network card. If you are too reluctant to re-register, you only need to slightly change the MAC address in the operating system, you can skip the re-apply STEP, reducing a lot of trouble.
In addition, when a hacker uses hacking software to attack your machine, your firewall will obtain its IP address, you can use the "Nbtstat-a ip Address" command to obtain his MAC address, but you often cannot get his real MAC address, because hackers only need to change his MAC address, the MAC you found is not his.
[1] [2] Next page