Creating bridge through Proxmox Network Gui breaks network startup

izrodix

Member
Jul 23, 2013
3
0
21
Hello Proxmox Team,

Imagine you have the following situation:

/eth0--->switch1\
Proxmox Box / \__SwitchX^ ring topology between switches
/eth1--->switch2 /

in my example i'm using ethX interfaces but is the same if you have bonding setup.

This is working configuration if we manual edit /etc/network/interfaces.
When making this configuration of the interfaces to be given their sequence (I mean Bridge Ports).

auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 17.16.10.11
netmask 255.255.240.0
gateway 17.16.10.1
bridge_ports eth0
bridge_ports eth1
bridge_stp on
bridge_fd 0

auto vmbr0.7
iface vmbr0.7 inet manual
vlan-raw-device vmbr0

auto vmbr1
iface vmbr1 inet manual
bridge_ports vmbr0.7
bridge_stp off
bridge_fd 0
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

When we creating bridge from the Proxmox Gui he rearranges interfaces in a way that breaks the sequence of startup configuration and vlan interfaces are not created respectively and bridges which bridge ports are those vlans.

auto vmbr0.7
iface vmbr0.7 inet manual
vlan-raw-device vmbr0

auto vmbr0.8
iface vmbr0.8 inet manual
vlan-raw-device vmbr0

auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 17.16.10.11
netmask 255.255.240.0
gateway 17.16.10.1
bridge_ports eth0
bridge_ports eth1
bridge_stp on
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports vmbr0.7
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
bridge_ports vmbr0.8
bridge_stp off
bridge_fd 0

Where the vmbr2 is the new one bridge which i'm creating through the GUI.
Configuration breaks because vlan vmbr0.8 depends of bridge vmbr0 which has not yet been created and launched.

Proxmox Team Please fix this !!!!
 
I know this but we have two paths for vlans!

qm start vmid ... ? more then one physical interfaces on bridge 'vmbr0' - this error is when i'm using this method
net0: virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr0,tag=161
 
We have two phy links to two different switches which are connected to others switches in ring topology.
Bond with failover ports is not an option.
 

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!