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:
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
I've had the same issue to resolve. I have changed the files whI changed from one subnet to a different one 192.168.'A'.1 to 192.168.'B'.1. Accessing the GUI was working and the VMs all have IPs on the B subnet.

The Issue im having is that the different VMs won't talk to each other or allow files to be shared. I have checked the /etc/,,, in this post and everything I have updated everything there.

Any ideas of which other config files need to be edited?

RDP tries to connect, but it will not accept the username and password for the VM. It also won't allow file sharing within the Node between VMs. If connecting from outside the node everything works as it should. I configured a couple of other Proxmox servers to double check and by default everything I'm trying to do works.

The two servers I changed subnets on both have the exact same issues. Unfortunately, I installed Proxmox on the same hard drive as the VMs are stored on so it's complicated to start fresh with Proxmox. I'd prefer to fix the configs and then move Proxmox onto a different SSD drive after migrating all the VMs (15+) onto a different drive.

Second issue I created while trying to resolve the main issue is that I can only connect to the GUI from a computer on that subnet. I have a few other proxmox servers and I'm not having either of these issues with any of them.
 
BTW, turning off firewalls in the GUI made no difference. Ping tests work but not connections using VM credentials.

If there was an etc file that had a list of VM IPs and credentials, that would be where ID think the problem was.

Excuse the NOOB questions... My computer science background is not very current and this problem is well outside of my education and experience.