Bonded NICs + Separate VLANs on Same Interfaces — Works Live, Breaks on Reboot

das-prox

New Member
Sep 19, 2025
2
0
1
Proxmox Version: 9.0.10

I want to bond the two ports ens1f0np0 and ens1f0np0 together and use in in a bridge. That is working with this configuration:
I want to use ens1f0np0 and ens1f1np1 separately for iSCSI traffic on VLAN 149, while also using them in a bond for management traffic on VLAN 151

Code:
auto lo
iface lo inet loopback

iface ens1f0np0 inet manual

auto bon0
iface bond0 inet manual
        bond-slaves ens1f0np0 ens1f1np1
        bond-miimon 100
        bond-mode balance-alb

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
        mtu 1500

auto vmbr0.151
iface vmbr0.151 inet static
        address 10.1.188.133/26
        gateway 10.1.188.189
#Management

iface ens15f0 inet manual

iface ens15f1 inet manual

iface ens15f2 inet manual

iface ens15f3 inet manual

iface enxfa4b7ffcbc02 inet manual

iface ens1f1np1 inet manual


source /etc/network/interfaces.d/*

Now i would like to use the NIC ens1f0np0 and ens1f0np1 separatly in another VLAN. I tried this configuration but then the hosts lost all network connection and nothing seems to work. MTU Size is right VLAN Tags are right. Any Ideas?

Code:
auto lo
iface lo inet loopback

auto ens1f0np0
iface ens1f0np0 inet manual
        mtu 9000

iface ens15f0 inet manual

iface ens15f1 inet manual

iface ens15f2 inet manual

iface ens15f3 inet manual

iface enxfa4b7ffcbc02 inet manual

auto ens1f1np1
iface ens1f1np1 inet manual
        mtu 9000

auto ens1f0np0.149
iface ens1f0np0.149 inet static
       address 10.1.188.13/25
       mtu 9000
#iscsi01

auto ens1f1np1.149
iface ens1f1np1.149 inet static
       address 10.1.188.33/25
       mtu 9000
#iscsi02

iface bond0 inet manual
        bond-slaves ens1f0np0 ens1f1np1
        bond-miimon 100
        bond-mode balance-alb

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

auto vmbr0.151
iface vmbr0.151 inet static
        address 10.1.188.133/26
        gateway 10.1.188.189
#Management

auto bon0
iface bon0 inet manual

source /etc/network/interfaces.d/*

Everything works perfectly when configured live, but after reboot, the host loses all network connectivity. I suspect a conflict between bonding and separate VLAN usage on the same NICs.