GRE tunnel configuration problem. with 3 servers

daruom13

Member
Aug 1, 2020
31
2
13
37
Hello,

I have a Proxmox cluster with 3 servers.
I want to setup a GRE tunnel between the servers, but I have a little problem.

When I configure 2 servers, it works correctly:
server 1.PNGserver 2.PNG

However, I don't know how to do it for 3 servers. I tried this:

server 1 with 3 nodes.PNGserver 2 with 3 nodes.PNGserver 3 with 3 nodes.PNG

But it doesn't work.

Thank you in advance.
 
It works only with 1 gre port per bridge.
Hello,

Not sure of that.
I managed to get it to work this way:

server1 :
server1.PNG

server2 :
server2.PNG

server 3 :
server3.PNG
The problem is that the tunnels go through server 1. If it fails, it will break the link between server 2 and server 3.
If I add a tunnel between server 2 and server 3, it no longer works.
 
you need some spanning tree here to avoid loop.

BTW,I'm currently working on a new sdn feature for proxmox, where you can use vxlan tunnel for this

https://forum.proxmox.com/threads/proxmox-6-2-sdn-beta-test.69655/

(and you can add any number of hosts)

It's currenly beta (and it's using linux bridge not ovs), but it should be soon ready.
 
you need some spanning tree here to avoid loop.

BTW,I'm currently working on a new sdn feature for proxmox, where you can use vxlan tunnel for this

https://forum.proxmox.com/threads/proxmox-6-2-sdn-beta-test.69655/

(and you can add any number of hosts)

It's currenly beta (and it's using linux bridge not ovs), but it should be soon ready.

Hello,

Thank you for your response.
The new feature you are working on sounds very interesting. I will follow this closely.

But, being in the process of learning about proxmox, I want to stick to proven functionality.

I have tried to configure spanning tree, but it does not work. I don't know if I did it right.

Server 1 :
server1 stp.PNG

Server 2 :
server2 stp.PNG

Server 3 :
server3 stp.PNG
 
Hello,

Thank you for your response.
The new feature you are working on sounds very interesting. I will follow this closely.

But, being in the process of learning about proxmox, I want to stick to proven functionality.

I have tried to configure spanning tree, but it does not work. I don't know if I did it right.

Server 1 :
View attachment 19847

Server 2 :
View attachment 19848

Server 3 :
View attachment 19849


Hi did you get anywhere with this? I'm trying to do the same thing in Proxmox with ovswitch to create failsafe communications between VMs on different pve hosts ( https://forum.proxmox.com/threads/openvswitch-bridge-for-cluster-vms-across-private-network.76866/ )

I'm new to this but I've seen in the Proxmox documentation that to enable RSTP using:

up ovs-vsctl set bridge ${IFACE} rstp_enable=true

But here:

https://serverfault.com/questions/8...h-without-loops-and-forwards-with-openvswitch

it was done like this:

up ovs-vsctl set bridge ${IFACE} stp_enable=true
 
Last edited:
Hi did you get anywhere with this? I'm trying to do the same thing in Proxmox with ovswitch to create failsafe communications between VMs on different pve hosts ( https://forum.proxmox.com/threads/openvswitch-bridge-for-cluster-vms-across-private-network.76866/ )

I'm new to this but I've seen in the Proxmox documentation that to enable RSTP using:

up ovs-vsctl set bridge ${IFACE} rstp_enable=true

But here:

https://serverfault.com/questions/8...h-without-loops-and-forwards-with-openvswitch

it was done like this:

up ovs-vsctl set bridge ${IFACE} stp_enable=true


Hello, no solution on my side for the GRE tunnel still.
I tried rstp and stp, but same result (No more connection for vm which is not on the same host as the firewall)

Cepandnat, the VxLAN solution offered in your son seems relevant to me.
I'll probably test that this weekend.

Cordially.
 
Hello, no solution on my side for the GRE tunnel still.
I tried rstp and stp, but same result (No more connection for vm which is not on the same host as the firewall)

Cepandnat, the VxLAN solution offered in your son seems relevant to me.
I'll probably test that this weekend.

Cordially.



OK

Yes I decided to go with VxLAN and it seems to work alot better than OVS/GRE with my implementation described here:

https://forum.proxmox.com/threads/o...vms-across-private-network.76866/#post-342238
 

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!