Hi Christian

I'm not 100% sure - but you might need to change the policy on the vSwitch in 
VMWare and set it to allow 'MAC Address Changes' see - 
https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-942BD3AA-731B-4A05-8196-66F2B4BF1ACB.html

Hope this solves your problem

BR

Gary


Gary Dixon
Senior Technical Consultant
T:  +44 161 537 4990
E:  v...@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.
-----Original Message-----
From: Christian Reichert <christian.reich...@scsynergy.com>
Sent: 20 September 2022 15:07
To: 'users@cloudstack.apache.org' <users@cloudstack.apache.org>
Subject: AW: Change MAC Address of a NIC

Hi,

the json looks fine, the mac is the correct one.
I think it is a vmware problem we will dig into this now.

Thanks,

Christian

-----Ursprüngliche Nachricht-----
Von: Udo Müller [mailto:i...@cs-ol.de]
Gesendet: Dienstag, 20. September 2022 12:18
An: users@cloudstack.apache.org
Betreff: Re: Change MAC Address of a NIC

No idea tbh.

We are using CS with KVM only and there it works like a charm.

Do younhave the possibility to debug the communcation received by the agent?

It receives a json from the manager with all the information how to create the 
machine. The mac should be included.

Gruß Udo

> Am 20.09.2022 um 11:52 schrieb Christian Reichert 
> <christian.reich...@scsynergy.com>:
>
> Hi Udo,
>
> thanks for the feedback, I changed the MAC in the nics mysql tabell and the 
> MAC is set correct in vmware.
> When I boot the VM, it is reachable but after a shutdown and start it is not 
> reachable any more. Then I edit the nic in vmware (just a save) and start the 
> VM it is reachable again.
> Any idea?
>
> Regards,
>
> Christian
>
>
> -----Ursprüngliche Nachricht-----
> Von: Udo Müller [mailto:i...@cs-ol.de]
> Gesendet: Montag, 19. September 2022 20:04
> An: users@cloudstack.apache.org
> Betreff: Re: Change MAC Address of a NIC
>
> Hi,
>
> We use the mysql cli for that. Find out the id of the vm and run an update 
> command on table nics.
> Stop and start the vm afterwards since the new mac address is not changed on 
> the fly.
>
> Regards Udo
>
>> Am 19.09.2022 um 20:26 schrieb Christian Reichert 
>> <christian.reich...@scsynergy.com>:
>>
>> 
>> Hello,
>>
>> I need to change the MAC Address of a NIC, what is the best way to do it?
>> I found no option on the UI.
>>
>> Thanks and Regards,
>>
>> Christian


Reply via email to