[SOLVED] Proxmox VM "LAN" Between nodes

flixhost

Member
Jan 8, 2020
19
0
6
26
Frankfurt am Main
flix-host.de
Hello dear Community,

I was wondering how do I set up it the Best Way.
I have a simple 2 node test Lab.

The Problem:

I'm running on my first node a pf sense firewall which connects to WAN over vmbr0 and inject its "LAN" to vmbr100
So Basically every VM in vmbr100 is in the "LAN" Now I want to have this LAN on my other node pve2 to put a VM Also in the LAN to be able to communicate with the other VMs and out of pve1 to the WAN.

The Question I have is how do I accomplish that when I can only use that:

I have only Following Connections available:
WAN Switch has 2 Ports which are in multi cast and that's the up links ...
Then I have between pve1 <-> pve2 a copper cable.
That's it.

Kind regards and greetings from Frankfurt.

My Configs

pve1

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto eno2
iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
        address  111.222.111.222
        netmask  255.0.0.0
        gateway 111.222.111.222
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr100
iface vmbr100 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#PfSense

auto vmbr1
iface vmbr1 inet static
        address  192.168.1.1
        netmask  20
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0
#ClusterNet


pve2

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto eno1
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address  111.222.111.222
        netmask  255.0.0.0
        gateway 111.222.111.222
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0

auto vmbr100
iface vmbr100 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#Pfsense

auto vmbr1
iface vmbr1 inet static
        address  192.168.2.1
        netmask  20
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
#ClusterNet
 
Hello,

It worked!

Here is what I configured!

Pve1

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

#auto eno2.100
#iface eno2.100 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    address  xxx.xxx.xxx
    netmask  255.255.255.240
    gateway  xxx.xxx.xxx
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0

auto vmbr100
iface vmbr100 inet manual
    bridge-ports eno2.100
    bridge-stp off
    bridge-fd 0
#PfSense

auto vmbr1
iface vmbr1 inet static
    address  192.168.1.1
    netmask  20
    bridge-ports eno2
    bridge-stp off
    bridge-fd 0
#ClusterNet

Pve2

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto eno1
iface eno1 inet manual

#auto eno1.100
#iface eno1.100 inet manual

auto vmbr0
iface vmbr0 inet static
    address  xxx.xxx.xxx
    netmask  255.255.255.240
    gateway  xxx.xxx.xxx
    bridge-ports enp2s0
    bridge-stp off
    bridge-fd 0

auto vmbr100
iface vmbr100 inet manual
    bridge-ports eno1.100
    bridge-stp off
    bridge-fd 0
#Pfsense

auto vmbr1
iface vmbr1 inet static
    address  192.168.2.1
    netmask  20
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0
#ClusterNet
 

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!