What is the correct method for changing the network MAC address within a proxmox VM?
For example, if I have a VM with vmid=905, I normally edit the /etc/pve/qemu-server/905.conf configuration
file.. and change the MAC for the appropriate network interface (e.g.
net0: e1000=0E:03:77:CA:07:24,bridge=vmbr0
would become
net0: e1000=0E:03:77:CA:07:25,bridge=vmbr0
)
I've noticed that restarting the VM..does 'not' cause the new MAC to take effect.
Rather, I have to change the 'hostname' within the VM..(and restart the VM) to make it pickup
the new MAC address.
Thus, do I always need to restart a VM..to get it to apply the new MAC address?
Thanks,
Brett
For example, if I have a VM with vmid=905, I normally edit the /etc/pve/qemu-server/905.conf configuration
file.. and change the MAC for the appropriate network interface (e.g.
net0: e1000=0E:03:77:CA:07:24,bridge=vmbr0
would become
net0: e1000=0E:03:77:CA:07:25,bridge=vmbr0
)
I've noticed that restarting the VM..does 'not' cause the new MAC to take effect.
Rather, I have to change the 'hostname' within the VM..(and restart the VM) to make it pickup
the new MAC address.
Thus, do I always need to restart a VM..to get it to apply the new MAC address?
Thanks,
Brett