Cluster Configuration Single LAN on dedicated NICS - VLAN Help Needed

fabrizio73

Member
Sep 1, 2021
3
0
6
51
Hallo,
i have a cluster with two nodes , they have a public ip address each, and a dedicated NIC for internal communication (no switch a crossover cable with two 10Gbit NICS), i've already used it for creating the cluster and it works, if i move VMS between the nodes, the cluster uses only internal network.
These servers are on hetzner, so i must use routed configuration. I need to create a cluster of VMS in which most of them will communicate only between them, and only a few web servers and a load balancer will need other public addresses. My goal would be to make VMS communicate between themselves, using a single network, in order to move them in a transparent way between nodes, and also using the "cluster internal" network/NICS, to avoid using public bandwidth in order to leave it for external access. I already succeed in creating private network in each node, and VMS inside a single node communicate between them and also I masquerade them with iptables on the host to make them reach internet. But I don't figure how to use SAME LAN in both nodes. I should use VLAN, but i still don't understand how!
Thanks in advance
 

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!