Can't reach node on same cluster SDN simple

vesuvienne

Member
Jun 7, 2024
82
3
8
Hi team!
I have 2 node on same cluster but VM(one on each node) can't reach each other
in /etc/network/interfaces i have the default proxmox vmbr0
so i've created:
SDN->Zones
1718789979881.png
then SDN->Vnets
1718790002731.png
On both VM->Hardware->Network device->test
but VM can't ping each other
i tried to add the route in /etc/network/interfaces of my two node:
node1 - up ip route add10.10.10.0/24 via IP-Node1
node2 - up ip route add10.10.10.0/24 via IP-Node2

How to connect VMBR from different node(in same cluster)?
Do i need to configure that in my router ?
 
The simple zone is local to each node. From the documentation:
This is the simplest plugin. It will create an isolated VNet bridge. Thisbridge is not linked to a physical interface, and VM traffic is only local oneach the node.It can be used in NAT or routed setups.

You will have to rethink your setup. Either place the guests directly on a vmbr, use a VLAN zone or a VXLAN. Which one depends on your needs, e.g. how you want to isolate the guests.

Adding routes like you tried will most likely not work.
 
  • Like
Reactions: vesuvienne
thx! so i did a vlan but i'm a bit lost while i try to give internet connection to my vlan
i try to do the same config as below, but with SDN
Vlan can't specify ip address only Taging

i have this config on one of my Node
/etc/network/interfaces who create a bridge then Linux VLAN -> i want the same but with SDN
Code:
auto vmbr0 (default proxmox config)

auto vmbr1
iface vmbr1 inet manual
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094

post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.100.0/24' -o vmbr0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1

auto vmbr1.10
iface vmbr1.10 inet static
    address 192.168.100.1
    netmask 255.255.255.0
 
Last edited:

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!