Am i going insane

foosec

New Member
Oct 29, 2020
6
1
3
26
Last year around august, i setup 3 proxmoxes, adding one today so i installed 7, and wanted to basically paste my bond config:

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual


iface ens3f0 inet manual
iface ens3f1 inet manual

auto bond0
iface bond0 inet manual
        slaves ens3f0 ens3f1
        bond-miimon 100
        bond-mode 1
        bond-xmit-hash-policy layer2+3

auto vmbr0.141
iface vmbr0.141 inet static
        address 10.14.1.30
        netmask 255.255.255.0
        gateway 10.14.1.1

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes

Which works on 3 servers currently, to no avail, eventually i got to proxmox docs and noticed
the vmbr0.141 changes to vmbr0v141 and there is now an additional bond interface for the vlan, aswell as additional lines in vmbr0v141 to set the bridge port to bond0.141

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto bond0
iface bond0 inet manual
      bond-slaves eno1 eno2
      bond-miimon 100
      bond-mode 802.3ad
      bond-xmit-hash-policy layer2+3

iface bond0.5 inet manual

auto vmbr0v5
iface vmbr0v5 inet static
        address  10.10.10.2/24
        gateway  10.10.10.1
        bridge-ports bond0.5
        bridge-stp off
        bridge-fd 0

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
(aswell as slaves becoming bond-slaves)

so i google when this changed, no info, i check my printed instructions from a while ago and what do you know, v is there and even the seperate bond interface is there,
so i reason maybe i printed these at a later date, wayback machine says the same thing (besides the slaves, that aparently changed).
And yet, my old config is currently running without any issues on 3 proxmox 6 servers.

Am i crazy, or has this changed? Or is this some serious mandella effect right now
 
I think that you are mixing configuration naming. The second config has a vmbr0 without the bridge-vlan-aware yes parameter, which is present in the first configuration shown. That parameter allows using VLANs in VM's configuration and does not create a bridge for each VLAN.

Forum member spirit did a detailed explanation in a post long ago regarding the vlan-aware parameter in Proxmox.
 
  • Like
Reactions: spirit
I think that you are mixing configuration naming. The second config has a vmbr0 without the bridge-vlan-aware yes parameter, which is present in the first configuration shown. That parameter allows using VLANs in VM's configuration and does not create a bridge for each VLAN.

Forum member spirit did a detailed explanation in a post long ago regarding the vlan-aware parameter in Proxmox.
Thanks for the answer, i get what you are saying, but the second config is posted in current proxmox documentation, and indeed does not have vlan-aware. So does that then not work for VLAN assignment on VMs?

And why would the top config, which currently works without issue on my proxmox 6 cluster, not work with proxmox 7?
 
you can do vlan , without vlanaware option.

with vlan-aware , the tag is done on the bridge port directly
without vlanaware, the tag is done on the physical interface. (as the bridge don't see any vlan)

but , you can't send multiple vlans inside the guest (trunk), without vlan-aware.


BTW, proxmox don't change vlan-aware/non-vlanware configuration in /etc/network/interfaces in any script, so the change should have be done manually.
(only some syntax cleanup like "slave" -> "bond-slaves" is done when you edit the config through the gui)
 

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!