Must bindnetaddr be configured for a separated cluster network?

jimmymcheung

New Member
Apr 21, 2023
23
1
3
I was trying out the proxmox functions, and I see that it is possible (and recommended) to have a separated network for cluster communication. Therefore I added link0 and link1 with a separated network (dual stack) and on a dedicated NIC port, and link2 and link3 the addresses with has gateway configured as fallback (which VM traffic will flow through), however, the cluster automatically chose the network address which has gateway configured. I looked up and find this article, that guiding to set up bindnetaddr. In the article it states:
This specifies the network address the corosync executive should bind to.
But I want to use another network (which carries VM traffic) as fallback, so at lease when de dedicated one fails, it has some reachability. Below is a more visual diagram explaining the settings.
Code:
eth2 (vmbr1)                               eth1 (vmbr0)
 |                                          |
 +- link1: 10.0.0.2/22 (v4, for cluster)    +- link2: 10.1.0.2/22 (v4, for VM traffic)
 +- link0: 2001::2/48  (v6)                 +- link3: 2002::2/48  (v6)
 +- gw:   NA                                +- gw:   10.1.0.1
 +- gwv6: NA                                +- gwv6: 2002::1

Currently link2 and link3 is chosen by corosync, no other nodes are added yet. From documentation, it was expected that lower digit of linkx should have higher priority, which is not happening. I’m configuring gateway on vmbr0 because I don’t want VM traffic go through cluster dedicated network.

PS. if I traceroute the router’s address of 10.0.0.2/22 network, it is the next-hop (no hop in between). So this link should not have problem.
 
Last edited:
then the fall back start working....your first link has no connection
 
then the fall back start working....your first link has no connection
it does, I can ping to the router and any other devices on the network, it just due to the firewall that couldn't communicate to outside internet (e.g. 1.1.1.1)
 

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!