Proxmox Hetzner VLAN

SionSavior

New Member
Aug 31, 2018
2
0
1
41
Hello Proxmox Community,

I have been struggling with a problem for quite some time (14 days)...
I want to connect a server with Proxmox to a second server with Proxmox. (cluster)

However, since routing is not my strong point, I am learning everything from the ground up.
Yes, I know I'm a newbie, but I hope you can help me anyway.
So both my servers are at Hetzner's. Both servers are also connected to a VLAN (VSwitch from Hetzner).

By and large, that works, too:
Here my /etc/network/interfaces
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
#iface lo inet6 loopback

iface enp3s0 inet manual
iface enp3s0.4001 inet manual

#Auto enp3s0
#iface enp3s0 inet static
# up route add -net 85.xxx.xxx.64 netmask 255.255.255.224 gw 85.xxx.xxx.65 dev enp3s0

#auto enp3s0.4001
#iface enp3s0.4001 inet manual
#   address 192.168.xxx.2
#   netmask 255.255.255.0
#   vlan-raw-device enp3s0
#   mtu 1400


auto vmbr0
iface vmbr0 inet static
  address 85.xxx.xxx.67
  netmask 255.255.255.224
  gateway 85.xxx.xxx.65
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0
#Internet

auto vmbr1
iface vmbr1 inet static
        address 192.168.xxx.2
        netmask 255.255.255.0
        bridge_ports enp3s0.4001
        bridge_stp off
        bridge_fd 0
#vlan
on the 2 servers is of course the same config only with adapted IPs.

The servers can connect to ssh from the console and they see themselves too.
Code:
ping 192.168.xxx.1 -Check funkt
ping 192.168.xxx.2 -Check funkt
ping srv1.domain.de -Check funkt
ping srv2.domain.de -Check funkt
So as I've already indicated, I want to build a cluster.
On srv1 I create a cluster.
Of course, this also works error-free
I go to the second server with Putty and try to join.
Now I'm getting a mistake:
Code:
500 500 Can't connect to 192.168.100.1:8006
If I do it through the WebInterface it works or should i say .. it works not.
It establishes a connection to the 2 server (however, over the public IP) it breaks off with an error message.
(unfortunately I don't have that in my head now).

I also tried to edit the corosync files manually and change the IPs to the internal ones. But that wasn't really promising either.

My 2 problem is that I was thinking... good as long as no cluster is running etc. I could use pve-zsync.

So I installed the system and wanted to connect from srv1 to srv2 and move a VM over with pve "Create....."
It also establishes a connection, asks for the password and goes on to the next step.
Now there are 3 columns Time Transfer etc. and below the cursor... nothing happens. It looks like everything is in PAUSE mode.
Do you know what that is?
Connection is established via the internal IP going through the VLAN. e.g. 192.168.xxx.1

If you need more information... just ask.

Sorry for my bad English i am not a nativ English speaker
 

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!