Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Virtualization / Proxmox / How to Change the Proxmox Node IP Address or Hostname

January 19, 2026

How to Change the Proxmox Node IP Address or Hostname

Let’s look at how to change the primary IP address (managed address) and/or hostname of the Proxmox VE server. This may be necessary when changing IP addressing schemes in your network, adding or removing network adapters, or migrating infrastructure.

Contents:
  • Changing the Primary Proxmox IP Address
  • How to Rename a Proxmox Node

Changing the Primary Proxmox IP Address

Suppose you have a standalone Proxmox host configured with a static IP address during initial setup.

If the Proxmox node management web interface is available, you can change the IP address directly from the web UI. Go to System -> Network and find the Linux Bridge interface. Open the vmbr interface settings, set a new IP address, subnet mask, and gateway.

Change Proxmox IP via web UI

Then, go to System -> Hosts and replace the old IP address with a new one.

Update Proxmox IP in hosts file

Then, go back to System -> Network and click the Apply Configuration button to apply the changes and restart the network interface (the connection to the host by the old IP address will be lost).

Proxmox - Apply Configuration

In a few seconds, you will be able to connect to the WEB UI using the new IP address.

You can also change the Proxmox host’s IP address from the server console. Update the following configuration files with the new IP address and network settings:

# nano /etc/network/interfaces

edit IP in /etc/network/interfaces

and

# nano /etc/hosts

change ip in /etc/hosts

If Proxmox should receive an IP address from DHCP, edit the /etc/network/interfaces file and configure only the following options for the vmbr0 interface:

auto vmbr0
iface vmbr0 inet dhcp

Restart the networking to apply the new network settings:

# systemctl restart networking

How to Rename a Proxmox Node

Let’s look at how to change the Proxmox hostname. Changing a Proxmox hostname is a slightly more complicated procedure than changing an IP address.

First, set the new hostname in the config files:

# nano /etc/hosts

/etc/hosts - chnage proxmox host name

and

# nano /etc/hostname

/etc/hostname - set new

If you have set up SMTP notifications in Proxmox, you should also update the hostname in the /etc/postfix/main.cf file.

If virtual machines and/or LXC containers have already been created on the Proxmox host, you must relocate the contents of directories whose paths reference the previous hostname:

  • /var/lib/rrdcached/db/pve2-storage/[OLDHOSTNAME]
  • /var/lib/rrdcached/db/pve2-node/[OLDHOSTNAME]
  • /etc/pve/nodes/[OLDHOSTNAME]

For convenience, set the old and new hostnames as variables, then copy the data using the following bash script:

OLD_HOSTNAME="pve1"
NEW_HOSTNAME="prox01"
mkdir /var/lib/rrdcached/db/pve2-node/$NEW_HOSTNAME
cp -p /var/lib/rrdcached/db/pve2-node/$OLD_HOSTNAME /var/lib/rrdcached/db/pve2-node/$NEW_HOSTNAME
mkdir /var/lib/rrdcached/db/pve2-storage/$NEW_HOSTNAME
cp -p /var/lib/rrdcached/db/pve2-storage/$OLD_HOSTNAME/* /var/lib/rrdcached/db/pve2-storage/$NEW_HOSTNAME
mkdir -p /etc/pve/nodes/$NEW_HOSTNAME/qemu-server
mv /etc/pve/nodes/$OLD_HOSTNAME/qemu-server/* /etc/pve/nodes/$NEW_HOSTNAME/qemu-server
# Remove the original directories with the old hostname:
rm -Rf /etc/pve/nodes/$OLD_HOSTNAME
rm -Rf /var/lib/rrdcached/db/pve2-node/$OLD_HOSTNAME
rm -Rf /var/lib/rrdcached/db/pve2-storage/$OLD_HOSTNAME

Bash script that moves existing directories to a new location with a new hostname.

Restart the Proxmox host:

# systemctl reboot

Log in to the host’s web UI and check the Proxmox host’s functionality.

In my case, one of the mounted storage devices in a local directory disappeared after rebooting the host. An error occurred when trying to run a VM with disks on this storage:

TASK ERROR: storage 'datastore02' is not available on node 'prox01'

local storage is not available after renaming Proxmox

The issue in this case was that the specified storage was still bound to the old hostname in the nodes option. To fix it, specify a new hostname in this file:

# nano /etc/pve/storage.cfg

Update hostnames in /etc/pve/storage.cfg

After that, the storage appeared in the Proxmox web interface, and I could start the VM.

local storage appeared

If the Proxmox host is part of a cluster (pve-cluster), it is often simpler to first remove the host from the cluster, rename it, and then rejoin the host to the cluster rather than attempting an in-place rename. This will be easier than editing the corosync config files.

0 comment
0
Facebook Twitter Google + Pinterest
ProxmoxQuestions and Answers
previous post
How to Remove Old (Unused) PowerShell Modules
next post
Fix: Can’t Open a Downloaded Word/Excel File

Related Reading

How to Migrate (Import) VMs from VMware ESXi...

July 24, 2024

Proxmox: Share a Host Directory with VMs via...

August 21, 2025

Create a Windows Server VM on Proxmox (Step-by-Step)

July 15, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • How to Remove Old (Unused) PowerShell Modules

    January 12, 2026
  • How to Move (Migrate) Existing Windows Shares to a New File Server

    December 24, 2025
  • Using KDC (Kerberos) Proxy in AD for Remote Access

    December 23, 2025
  • Windows: Create (Install) a Service Manually

    December 16, 2025
  • Windows: Auto Switch to Strongest Wi-Fi Network

    December 10, 2025
  • How to Enable or Disable VBScript in Windows after Deprecation

    December 10, 2025
  • Start Menu Not Working (Unresponsive) on Windows Server RDS

    November 27, 2025
  • AppLocker: Configure Application Restriction Policies in Windows

    November 19, 2025
  • Enable/Disable Random Hardware (MAC) Address for Wi-Fi on Windows

    November 14, 2025
  • Automate Software and Settings Deployment with WinGet Configure (DSC)

    November 13, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Proxmox: Share a Host Directory with VMs via VirtioFS
  • Configure Autostart and Boot Order for VMs on Proxmox
  • Force Stop an Unresponsive VM on Proxmox
  • Create a Windows Server VM on Proxmox (Step-by-Step)
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top