A few months ago I changed my whole network over from 192.168.1.0/24 to 10.20.30/23. In Proxmox, I changed the hosts IP from the GUI (192.168.1.7 -> 10.20.30.7) and everything worked fine.
Well, today I took the host down (For the first time since changing the network configuration) to add some more RAM to it and when I boot back up it tells me to visit 192.168.1.7:8006 and I can't connect to it.
Being a spaz who sucks at Googling, I couldn't find posts like https://forum.proxmox.com/threads/wrong-welcome-message-after-changing-ip.41290/ immediately, that told me to edit /etc/hosts specifically. Instead I ran a find /etc/ -xdev -type f -print0 | xargs -0 grep -H "192.168.1.7" and manually changed anything I found to 10.20.30.7. This included /etc/hosts, but it also included one or two other locations and I'm not sure if that broke something. Then I rebooted, and this changed the banner at the start, but everything was still broken.
One that I haven't changed yet (it's read only... and chmod as root won't let me change it?) is /etc/pve/corosync.conf which still lists 192.168.1.7
As for the symptoms, I can't connect to anything from within the host. I hooked up a keyboard to it and while logging in, I can't ping the gateway or anything else. checked and double-checked the physical connections and they're all solid.
Any insight into how I could fix this would be much appreciated!
Well, today I took the host down (For the first time since changing the network configuration) to add some more RAM to it and when I boot back up it tells me to visit 192.168.1.7:8006 and I can't connect to it.
Being a spaz who sucks at Googling, I couldn't find posts like https://forum.proxmox.com/threads/wrong-welcome-message-after-changing-ip.41290/ immediately, that told me to edit /etc/hosts specifically. Instead I ran a find /etc/ -xdev -type f -print0 | xargs -0 grep -H "192.168.1.7" and manually changed anything I found to 10.20.30.7. This included /etc/hosts, but it also included one or two other locations and I'm not sure if that broke something. Then I rebooted, and this changed the banner at the start, but everything was still broken.
One that I haven't changed yet (it's read only... and chmod as root won't let me change it?) is /etc/pve/corosync.conf which still lists 192.168.1.7
As for the symptoms, I can't connect to anything from within the host. I hooked up a keyboard to it and while logging in, I can't ping the gateway or anything else. checked and double-checked the physical connections and they're all solid.
Any insight into how I could fix this would be much appreciated!