VMware Cloud Community
rmo2372
Contributor
Contributor
Jump to solution

regenerated a new mac id

does anyone know how to force vswif0 to regenerate a new MAC address? I have tried to first run, esxcfg-vswif -d vswif0. Then esxcfg-vswif -a vswif0 -p Service\ Console -i xxx.xxx.xxx.xxx -n 255.255.255.0 -b xxx.xxx.xxx.255. This regenterates the same mac as the previous one. Thanks

0 Kudos
1 Solution

Accepted Solutions
cluangar
Contributor
Contributor
Jump to solution

Delete line /system/uuid = "xxxxxxxxxxxxxxxxxxxxxxxxxx" in /etc/vmware/esx.conf

Delete line MACADDR=xx:xx:xx:xx:xx:xx in all ifcfg-vswifX

Reboot ESX Server

View solution in original post

0 Kudos
5 Replies
philvirt
Hot Shot
Hot Shot
Jump to solution

Create a new one and then attach it.

Regards,

Fil

Thanks, phIL
0 Kudos
cluangar
Contributor
Contributor
Jump to solution

Delete line /system/uuid = "xxxxxxxxxxxxxxxxxxxxxxxxxx" in /etc/vmware/esx.conf

Delete line MACADDR=xx:xx:xx:xx:xx:xx in all ifcfg-vswifX

Reboot ESX Server

0 Kudos
rmo2372
Contributor
Contributor
Jump to solution

I have no idea what I am supposed to create and attach. See below post from clungar. This worked if thats what you meant. thank you for getting back though. I appreciate it

0 Kudos
rmo2372
Contributor
Contributor
Jump to solution

cluangar.

You nailed it. I dont know how you found that but thanks. This is a HUGE

help.

On Mon, Apr 7, 2008 at 1:40 AM, cluangar <communities-emailer@vmware.com

0 Kudos
cluangar
Contributor
Contributor
Jump to solution

OK. I will explain you.

1. Start your esx server

2. Login to root account.

3. cd /etc/vmware

4. nano esx.conf

5. find "/system/uuid"

6. Delete this line (ESX Server will generate MAC ID from System UUID number)

7. Save esx.conf

8. cd /etc/sysconfig/network-scripts

9. nano ifcfg-vsiwf0

10. Find "MACADDR"

11. Delete this line

12. Save cfg-vswif0

13. If you have other esxcfg-vswif, Replace Step 9 to all esxcfg-vswif.

14. Reboot your ESX.

Goodluck to new MAC ID

0 Kudos