# pvecm create CLUSTERNAME --link0 10.10.10.1,priority=30
10.10.10.0/24 for guests to communicate? If that's the case the simplest way forward is to configure a VXLAN zone[2] under Datacenter > SDN, then add a VNet to it. When you then attach guests to this(select it on the network config of the guest), for guests on the different hosts it'll look like they are directly connected.Thanks, not sure how to add ports to a bridge, I'll read that now.

Add as in "add to cluster"(do you already have a cluster? generally 2-node clusters are not stable, you'd probably want a qdevice or third node[1]) or as in "i want guests to communicate over 10.10.10.0/24 with eachother"?
I assume you want to use 10.10.10.0/24 for guests to communicate?
If not, please clearify what you mean with in the same datacenter? Are they connected with a cable, and if not how can they reach eachother?

through the same Layer 2 network (physical switch/VLAN). Then create a vmbr1 bridge on the second host and attach it to the corresponding physical NIC.
10.10.10.0/24 network. But since you are able to connect them via a second cable you can also do that and skip SDN, it also avoids guest(yes, thats just the vm or containers you host) traffic from impacting the cluster.vmbr1 and enter eno1 (on the other host this name might be different, just check, it's the one not assigned to vmbr0) in the "Bridge Ports" field, you don't need to give the hosts an ip on vmbr1 if you don't want your guest to speak with the hosts. So you just connect the two interfaces, then add the interfaces as bridge port to vmbr1 on both. That's it. Guests that are connected to vmbr1 are now connected to each other, and if they have and ip on the same subnet configured they can reach each other. Note there is no switching or routing involved, these are just two (virtual) bridges connected by a cable, so all guests are on the same L2 domain.

We use essential cookies to make this site work, and optional cookies to enhance your experience.