Container Networking Craziness

Undivided0519

New Member
Oct 30, 2024
3
0
1
I have the networking running on a VM, so know that works, but using the same bridge on containers doesn't work. Not sure what I'm missing.

Host network:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto ens2f0
iface ens2f0 inet manual

auto ens2f1
iface ens2f1 inet manual

auto bond0
iface bond0 inet manual
bond-slaves ens2f0 ens2f1
bond-miimon 100
bond-mode balance-rr

auto vmbr0
iface vmbr0 inet static
address 10.27.6.102/24
gateway 10.27.6.254
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

source /etc/network/interfaces.d/*

Not sure where the file is in the container, but here's the screenshot of the container network config
1730507884092.png

And here's the config for the VM that is working
1730507924168.png
 

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!