VMware Cloud Community
baber
Expert
Expert

how set ideal mac address on virtual linux machine

Hi

i have a question about mac adress change

i have create a new linux virtual machine| (redhat) now i want to change that mac adress manually  for example i want my mac adress machine change to  : 00:50:56:ac:34:eb   i have changed in ifcfg-eth0 file (/etc/sysconfig/network-script/ifcfg-eth0 ) but when want restart my network service it get fail and can not start

in which files do i have to change my ideal mac adress ?

Best regards

Babak

Please mark helpful or correct if my answer resolved your issue.
0 Kudos
3 Replies
linotelera
Hot Shot
Hot Shot

Hi

In VM settings... Using webclient simply edit settings when VM is powered-off and under network adapter change mac address:

pastedImage_0.png

You can do the same with windows client.

Regards

0 Kudos
baber
Expert
Expert

thanks

but if we don't have vcenter and use simple host without vCenter how can change it manually?

Best regards

Babak

Please mark helpful or correct if my answer resolved your issue.
0 Kudos
linotelera
Hot Shot
Hot Shot

Using vsphere windows client and connecting to the esxi host:

pastedImage_1.png

0 Kudos