Setting vmbr0 makes me lose ssh access and makes my VPNs stop working.

Moofies

New Member
Oct 25, 2024
3
0
1
My current /etc/network/interfaces file is:
auto lo
iface lo inet loopback

auto enp5s0
iface enp5s0 inet static
address 192.168.86.204
netmask 255.255.255.0
gateway 192.168.86.1

auto wlp4s0
iface wlp4s0 inet manual
source /etc/network/interfaces.d/*

but I want to setup a container for a minecraft server, so I decided to set up vmbr0.

To do this I changed my /etc/network/interfaces file to:

auto lo
iface lo inet loopback

auto enp5s0
iface enp5s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.86.204
netmask 255.255.255.0
gateway 192.168.86.1
bridge_ports enp5s0
bridge_stp off
bridge_fd 0
bridge_maxwait 0


but after doing this and sudo systemctl restart networking, I lose ssh access and my openVPN connection to my server stops working.

Is there something I am doing wrong?
 
Hi,

Did you try same your config but without `bridge_maxwait`? i.e.:
Code:
auto lo
iface lo inet loopback

auto enp5s0
iface enp5s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.86.204/20
gateway 192.168.86.1
bridge-ports enp5s0
bridge-stp off
bridge-fd 0
 
try adding the MAC of your enp5s0 to the bridge, like
auto vmbr0
iface vmbr0 inet static
address 192.168.86.204/20
gateway 192.168.86.1
bridge-ports enp5s0
bridge-stp off
bridge-fd 0
hwaddress 0c:c4:7a:2a:44:bf <--- your MAC
 
  • Like
Reactions: Moayad
Thanks for your help guys, I'm still not really sure what was wrong, i just completely reinstalled the whole thing and then used the config from earlier. It worked though, TYSM!
 

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!