The IP address in console (for browser) is incorrect

WhiteTiger

Member
May 16, 2020
86
3
13
Italy
I installed Proxmox using DHCP
At the end the message appeared inviting me to use this address for the web console
https://192.168.43.233:8006

I turned off the server to insert a second network card

From the Web Console I assigned the address 192.168.201.22/24 to this second NIC
On the first NIC I changed the address to 192.168.43.22/24

After restarting the server, the message regarding the old address always appears: https://192.168.43.233:8006
To connect I must use the IP address of the second card.
The first NIC is unreachable with both the old and the new address.
From my PC I can PING on the new address (192.168.43.22), not on the second of course.
 
You have to use a static IP and the entry in /etc/hosts has to match the IP.
 
The ip is once written at install time to /etc/issue

Set a static ip and update /etc/issue with it

You could also create a simple shell script that writes the dhcp ip to it