Move from Ubuntu 14.04 to a clean install of 18.04 whilst keeping same IP Addresses (v4 & v6)

November 16, 2019 499 views
Ubuntu 18.04

Hi,

I’m wanting to upgrade from an old 14.04 “box” to a new 18.04 one, but I’d like to keep the same IP adresses. I’ve taken a look at this, but I’m not sure where installing the new o/s version comes in, when I’d simply be restoring a snapshot of the previous “machine”.

Any hints as to where my thinking is wrong?

Thanks in advance.

1 Answer

Unfortunately you will not be able to keep the same machine address per-say. Depending on how you set up your infrastructure initially, hopefully you setup a Floating IP and pointed it to your initial Droplet. If you did, you can re-assign that to the new droplet be it a freshly created one or created from a snapshot. The machine(s) themselves will not keep the same IP.

https://www.digitalocean.com/docs/networking/floating-ips/

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!