The IP address in console (for browser) is incorrect

WhiteTiger

Member
May 16, 2020
86
2
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
 

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!