VM's not reachable when in different nodes

Jlourenco

New Member
Apr 17, 2020
22
0
1
27
Hello,

I have two proxmox servers hosted on hetzner, both in the same cluster and within the same vSwitch.
Using one external IP's for each VM, they can reach the WWW and I can reach them from my home network.
VM's on the same host can reach each other but if I try to ping between two VM's that are on different Hosts it doesn't work.

My current interfaces on both hosts is the following:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp41s0
iface enp41s0 inet static
        address 157.xx.yy.zz/26
        netmask 255.255.255.xxx
        gateway 157.xx.yy.zz
        up route add -net 157.xx.yy.zz netmask 255.255.255.192 gw 157.xx.yy.zz dev enp41s0

iface enp41s0.4000 inet manual
        vlan-raw-device enp41s0
        mtu 1400

auto vmbr4000
iface vmbr4000 inet static
        address 10.10.10.1
        netmask 255.255.255.0
        bridge_ports enp41s0.4000
        bridge_stp off
        bridge_fd 0
        mtu 1400

Anyone has any clue why?

Thanks
 
After a milion hours reading and testing I found out that I needed to add:
bridge_vlan_aware yes
To the vmbr in order for the public ips to work.

Internal ips are still an issue tho, I was not able to create an internal network cross hosts yet.
If anyone knows how I would be thankful for any info :/

Thanks.
 

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!