Bridge Pirimary Interface Question

loopback57

New Member
Sep 19, 2024
1
0
1
Working NUC Proxmox cluster on NUC's. Added a second interface to the bridge by using the USB 3.0 port on the NUC. Interface does work, tested with Iperf3 multiple times. Issue is that I if both the embedded ethernet and the USB Nic are plugged, when the Proxmoxe node comes up after a shutdown and start, the embedded 1Gb NIC has all the active connections according to "bridge fdb show". If I unplug the embedded ethernet port and shutdown and restart, the USB Nic shows all the connections properly and the Iperf3 test shows the correct thoughput.

Question is how to wnsure that the USB Nic comes up as primary if both interfaces are plugged in? I know that "bond" has a option to specify the primary interface but I was trying to avoid adding complexity to my config.

root@nucproxmox-two:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1 inet manual

iface enx00e04c6801f9 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.145.11/24
gateway 192.168.145.1
bridge-ports enx00e04c6801f9 eno1
bridge-stp off
bridge-fd 0
bridge_maxwait 0

source /etc/network/interfaces.d/*