Can Proxmox server IP be changed?

TGW

New Member
May 2, 2018
28
0
1
60
After a successful installation of Proxmox and having visited the GUI, can a server IP (via the interfaces file) be changed to something else, and will this IP change be forwarded automatically to Proxmox? Or would there be editing in Proxmox configuration somewhere?

Thanks in advance!
 
Yes, You can change the IP address of your Proxmox host. You will need to make sure that the /etc/hosts file is updated to be correct, also you will need to modify your /etc/pve/corosync.conf (possibly) to reflect this change as well.

The /etc/pve directory is managed via the corosync process. It is important that in order to change any file within this directory that you need to run as root from the command line:
# pvecm expect 1 (this allows you to edit the file).

Also note that if you do update the corosync file with any IP changes, that you need to *update* the config_version number under totem section otherwise you will have issues.

Once you make the changes go ahead and restart the host. You will need to run this same process on the other hosts as well.
 
  • Like
Reactions: TGW

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!