Is it possible to specify mac address in a Google compute engine instance; I am moving a legacy java software which has a licence bound to the Mac of eth0. OS is now centos7. I tried with ifconfig but lost connectivity
Is it possible to specify mac address in a Google compute engine instance; I am moving a legacy java software which has a licence bound to the Mac of eth0. OS is now centos7. I tried with ifconfig but lost connectivity
Google support: [...] I can confirm it's not currently possible to change the MAC address of the main interface. We have feature requests to make MAC address configurable and also to simply show MAC address in the API.[...]
I don't have specific experience with GCE, but knowing Virtualization I would doubt this is possible. MAC Addresses are hardware addresses of NICs and on VMs are specified in the VM config outside of the OS. When you changed the ifcfg file to have a different MAC address, it tried to bind that config to a device with that address but of course couldn't find one matching so it failed.