S
S
Serg2020-01-09 17:52:01
Mikrotik
Serg, 2020-01-09 17:52:01

Proxmox cluster on the same subnet (/29) of the provider. How to create L2 single local network between nodes?

Current situation:
Proxmox is configured on the rented server.
vmbr0 - bridge to real eno0 interface with white IP
vmbr1 - bridge with local network 192.168.13.1/24
A separate container with cloud hosting router from mikrotik with two
ether0 interfaces is configured - white address
ether1 - 192.168.13.100/24
​​CHR is used as a gateway for default for all other containers.
Some containers have white IP addresses, some are in the local vmbr1 bridge on the 192.168.13.0/24 network.
The task was to add a second proxmox to distribute the load and combine them into a cluster. The provider provided a second server in the same subnet and the nodes successfully connected to external IP addresses. As a result, containers with white IPs successfully migrate and work.
On the second node, I added a similar
vmbr1 bridge from the addresses 192.168.13.2/24
Unfortunately, the provider does not have a virtual switch service, it is impossible to combine both servers with a physical link.
Problems:
1. The LAN of one node does not see machines in the same network of another node. How to combine them?
2. Mikrotik CHR is the default gateway for local containers, and is also connected via openvpn to the office network. How to make it available from both nodes (in fact, this is the previous question)?
Thoughts...
1. Make a cloud mega reliable virtual switch (another CHR from mikrotik) somewhere in the cloud and connect both promox nodes to it to create a common L2 network 192.168.13.0/24. As an option EOIP tunnel. In theory, it’s not bad, but it’s somehow clumsy and how will traffic go between nodes in LAN? Who should be the gateway in this case? Local CHR or new remote?
2. Create a clone of CHR on the second node and set up VRRP interfaces for the external VPN and gateway on it. Make an EOIP tunnel for the local network. But all the same, the question arises how can I interrogate them, at what addresses? Really to hang up to everyone on white IP?
3. I would like to somehow build a common grid inside the cluster without using external equipment. Can this be done somehow with the help of OVN using proxmox?
Colleagues, please tell me how to build a single local grid without an external switch inside the proxmox cluster as simply as possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wexter, 2020-01-09
@Wexter

Unfortunately, the provider does not have a virtual switch service, it is impossible to combine both servers with a physical link.
cho absolutely to the provider vpadlu a patch to throw between servers?
well, allocate a couple of white addresses to two chr (chr per server) and raise mpls through gre between them and drive in vpls L2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question