[SOLVED] Linux Bridge not working

vanlueckn

New Member
Sep 23, 2021
7
1
3
28
Kevelaer
Hello all,

I have a proxmox 7.1-12 instance and I use an IPv4 bridge there called vmbr1. Unfortunately I can't ping the VM and the host via vmbr1, there seems to be no traffic at all.

Host Config:

Code:
auto lo
iface lo inet loopback

auto enp9s0
iface enp9s0 inet static
        address 85.10.202.202/27
        gateway 85.10.202.193
        pointopoint 85.10.202.193

iface enp9s0 inet6 static
        address 2a01:4f8:a0:44ed::2/128
        gateway fe80::1
        up sysctl -p

auto vmbr0
iface vmbr0 inet6 static
        address 2a01:4f8:a0:44ed::3/64
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        up ip -6 route add 2a01:4f8:a0:44ed::/64 dev vmbr0

auto vmbr1
iface vmbr1 inet static
        address 10.187.0.254/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up iptables -t nat -A POSTROUTING -s '10.187.0.0/24' -o enp9s0 -j MASQUERADE
        post-down iptables -t nat -F

VM Config:

Code:
auto lo
iface lo inet loopback
    dns-nameservers 2a01:4f8:221:2d08::213 2a0b:f4c0:4d:53::1
    dns-search stoffi.xyz

auto eth0
iface eth0 inet6 static
    address 2a01:4f8:a0:44ed::10/64
    gateway 2a01:4f8:a0:44ed::3

auto ens19
iface ens19 inet static
  address 10.187.0.1/24
  gateway 10.187.0.254

Both the vm and the host seam to be not connected via 10.187.0.0/24 / vmbr1. The bridge vmbr0 ist working fine.
 
how is connection to a bridge thats not bridged to anything supposed to work? lol
 

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!