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
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
Create a new one and then attach it.
Regards,
Fil
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
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
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
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