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
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
PS. if I
bindnetaddr
. In the article it states: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.This specifies the network address the corosync executive should bind to.
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: