Modify Linux MAC address in VMware virtual machine

  

The MAC address is the physical address of the NIC. It is very easy to modify under Windows. It is complicated in linux mode. Let's take a look at how to modify the Linux MAC address in VMware VM

Method 1: Br>

This method is the most straightforward and effective, modify the MAC value of the relevant rc.local file in the Linux system.

Method 2:

Modify the virtual machine's *.vmx file, this method is the most recommended, because it is similar to the "burn" & rdquo; VMware virtual machine " Physical NIC ROM”. The method is:

There are two cases:

First:

ethernet0.addressType="static"

ethernet0.Address=" 00:50:56:0A:0B:0C"

"static" Description VM's "physical NIC" MAC is statically set, you can change to another one starting with 005056 MAC can be. If you are asked to SSID when you start the VM, select “KeepAlways”.

Second:

ethernet0.addressType="generated"

uuid.location="564ddcf1ffaa75ea-f1b9ee0d689c655c"

uuid.bios= "564ded23138c9691-7c68b2098baabbcc"

ethernet0.generatedAddress="00:0c:29:aa:bb:cc"

"generated"Describe VM's "physical NIC" The MAC is dynamically set by the system. You can change the last six digits of uuid.bios and the last six digits of ethernet0.generatedAddress to the MAC that you want to change to start with 000c29.

Method 3:

Modify the MAC value of the relevant /etc/sysconfig/network-scripts/ifcfg-eth0 file in the Linux system.

vi/etc/sysconfig/network- Scripts/ifcfg-eth0

MACADDR=xx:xx:xx:xx:xx:xx

:wq save exit

reboot

above for VMware The three methods of modifying the Linux MAC address in a virtual machine are very simple and easy.

Copyright © Windows knowledge All Rights Reserved