Can't figure out bonding and VLANs

Undivided0519

New Member
Oct 30, 2024
15
1
3
Here's my config, and forgive me, I'm an "old" vSphere admin:
Code:
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 bond0.30
iface bond0.30 inet manual

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 vmbr30
iface vmbr30 inet manual
        bridge-ports bond0.30
        bridge-stp off
        bridge-fd 0

source /etc/network/interfaces.d/*

So what I would like to do is use both ens2f0 and ens2f1 in a bond (no LAG/LACP) and be able to spin up several VLAN interfaces off of that, to which I can then create various VM bridges so the VMs can run on the different VLANs. I have one VM that needs to be trunked all available VLANs, but that's something I will tackle later.
Right now, I can't get a VM to work in this configuration. If I change to the following config, things work, but I loose the use of both 10G adapters in a RR fashion.
Code:
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 bond0.30
iface bond0.30 inet manual

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 vmbr30
iface vmbr30 inet manual
        bridge-ports vlan30
        bridge-stp off
        bridge-fd 0

auto vlan30
iface vlan30 inet manual
        vlan-raw-device ens2f0

What am I missing with this???
 
Right now, I can't get a VM to work in this configuration.
What does this mean exactly? The VM has no connection to the outside? Did you configure the VLAN tag in the VM as well or only in the interfaces file?
 
No DHCP or outside connectivity. I think I may have traced it down to one of the two SFP+ ports on the Intel x520 DA2 card. This card worked beautifully under ESXi, both ports, but for whatever reason under Debian/Proxmox, I'm having all kinds of stability issues. And I do mean this card, I'm converting an ESXi host to Proxmox.
I do have a Broadcom 10G SDP+ card I will try.