how to change the interface used for cluster communication

olivier68

New Member
Dec 6, 2024
3
0
1
Hi,

I have the 2 servers which have both a public ip address on the ens0 interface and a private ip vmbr2.
when I joined the 2nd server to the cluster I used the private ip and the cluster works well UDP traffic port 5405 flows between both private IPs.
But in the web interface I cannot manage one server from the other one because I have communication problems.
tcpdump shows that server1 uses its public ip to communicate with server2 port 8006

how can I change this behavior?

Thanks in advance
Olivier
 
in fact corosync.conf is correct. it has the privite IPs. In the GUI both nodes are green and communication on port 5405 uses the right IPs. But if I try to click on any element (for example Summary) from the other node I get a Connection error 595: Network is unreachable. Tcpdump shows that the api calls on port 8006 are done from the public ip from one server to the public ip from the other
 
Check /etc/hosts in both servers and correct the entry for their hosts names using the proper IP for your setup. To apply thee changes, either reboot both hosts or

SQL:
systemctl restart pve-cluster
systemctl restart pveproxy
 

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!