There’s a few things that matter here:
- Are you using Nutanix Protection Domains as your backup, or a third party?
- Are you performing an in-place restore (overwriting an existing system) or out of place, meaning you still have the original, but powered off.
- Are you using a static IP or DHCP?
This is important for the following reasons.
An in place restore using protection domains will overwrite the existing system and should restore the same network card with the same MAC address. However, if you are using DHCP, there’s always a chance that a new IP is being issued. If you are using a third-party backup product, you will need to reference their restoration guides for best practice and maybe even reach out to support to understand why a new IP is being issued.
If you’re not performing an in-place restore, then a new MAC address will be issued to the restored network card on the associated VM. If you’re using DHCP, it’s always going to issue a new IP address. In this instance, you will want to either modify and DHCP reservation with the updated MAC address to make sure that you’re pulling the same IP. DHCP doesn’t like issuing the same IP to different MAC addresses.
Generally speaking, if the system is sensitive to IP address changes, you should reserve IP’s by either DHCP reservation or statically assigning that IP to avoid issuance of a new IP. Even then, most Linux distributions will require you to go into the interface conf and define the new MAC, assuming the backup product doesn’t modify the conf file for you. Nutanix Protection Domains will, as will the majority of major backup vendors. Again, it will depend on the products capabilities and their guidance on this use case.