S
S
sp0ke2014-02-08 02:06:26
linux
sp0ke, 2014-02-08 02:06:26

How to implement Linux mac address substitution under VMware?

Internet at my poppy address.
It is necessary to change the poppy address on the virtual machine
sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
I change it like this, everything changes, but the Internet does not work. As I understand it, because vmweir creates its own connection and shows the poppy address to ubuntu, on which I changed it. Is there a way out?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-02-08
@sp0ke

and in the properties of the virtual machine - is it not fate to change the network adapter?

O
oia, 2014-02-08
@oia

OR
kb.vmware.com/selfservice/microsites/search.do?lan...
To change the MAC address, you must:
Shut down the virtual machine
Open the virtual machine's vmx file (usually called VMName.vmx)
Remove the following lines (if present) :
ethernetN.generatedAddress
ethernetN.addressType
ethernetN.generatedAddressOffset
where N is the network adapter number (usually 0).
Add the following lines:
ethernetN.address = "00:50:56:XX:YY:ZZ"
ethernetN.addressType = "static"
The first three hexadecimal numbers are best left unchanged (or change if you understand what you are doing). But change XX:YY:ZZ to random values. For example, 11:22:33

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question