IP Address Change

0xcircuitbreaker

New Member
Aug 27, 2024
1
0
1
Seems that in my most recent move, my subnet has changed on my local network, i finally found time to whip up my server but it seems when I try to connect i cant, local ip on my PC is 192.168.x.x while on the proxmox it is 10.0.x.x

How can I change the ip address safely to access my proxmox console in my new network?

Thanks in advanced
 
Last edited:
Assuming your PC is Windows you can go into the IPv4 Properties and add a second IP address in the proper 10.0.x.x network long enough to change your Proxmox to a 192.168.x.x by editing the /etc/network/interfaces file.
 
Don't forget to also change the /etc/hosts file as well, but yeah, either change your PC to add a second IP, or just log into the console of the server itself and from there use nano /etc/network/interfaces and nano /etc/hosts to change the IP and Gateway to the correct new settings.
You might also need to change the /etc/resolv.conf to let your Proxmox-server reach the internet again for its updates and the like (although this can also be done through the GUI later in Node -> System -> DNS)

EDIT: Bonus tip: If you also want the console (if you attach a monitor to your server) to show the right IP, you also need to change it in /etc/issue
 
Last edited:

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!