Skip to main content
Solved

Regarding restoring Linux IP, it becomes different from the original.

  • December 30, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img+2

Hi All,

 

Regarding restoring Linux IP, it becomes different from the original,

I think it's because after the restore, the Mac differently than before,

so the settings are different too. Is there a way to make the IP address the same as before after the restore?

Best answer by ddubuque

There’s a few things that matter here:

  1.  Are you using Nutanix Protection Domains as your backup, or a third party?
  2. Are you performing an in-place restore (overwriting an existing system) or out of place, meaning you still have the original, but powered off.
  3. 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.

1 reply

ddubuque
Forum|alt.badge.img+10
  • Outrider
  • Answer
  • December 30, 2025

There’s a few things that matter here:

  1.  Are you using Nutanix Protection Domains as your backup, or a third party?
  2. Are you performing an in-place restore (overwriting an existing system) or out of place, meaning you still have the original, but powered off.
  3. 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.