DEV Community

Cover image for How to Change the IP Address of Proxmox
Cheulong Sear
Cheulong Sear

Posted on • Edited on

How to Change the IP Address of Proxmox

If you're running Proxmox VE in a home lab or production environment, sometime its IP address need to change due to a network restructuring, VLAN changes, or simply a migration to a new subnet. I will show you how to do in less than 5 minutes with a few clicks. But be careful or you might break the access or services.

Let start

1. Step access to the Proxmox Host
Loggin to the Proxmox host via SSH or directly from the console if you can't access to it remotely.

2. Edit the Network Configuration File

nano /etc/network/interfaces
Enter fullscreen mode Exit fullscreen mode

Change address and gateway's IP address(if needed) to new address.

network

Step 3: Update the Hosts File
change it to match with the new address in network config file.

nano /etc/hosts
Enter fullscreen mode Exit fullscreen mode

host

Step 4: Reboot

reboot
Enter fullscreen mode Exit fullscreen mode

You will see the new address will appear

address

Just in case you have the problem with DNS after update the IP address here is my current setting

#/etc/resolv.conf
nameserver 127.0.0.53
nameserver 8.8.8.8
Enter fullscreen mode Exit fullscreen mode

Leave a comment if you have any questions.

===========
Please keep in touch
Portfolio
Linkedin
Github
Youtube

Top comments (0)