Can't figure out bonding and VLANs

Undivided0519

New Member
Oct 30, 2024
2
0
1
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???
 

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!