pve 9 Bond LACP duplicate MAC

aztecom

New Member
Dec 20, 2023
1
0
1
I have a Dell server with 2 Broadcom NIC's. I have nic1 port1 and nic2 port1 on bond0 and nic1 port2 and nic2 port2 on bond1. These bonds are connected to a Cisco c9300x. The issue is that i'm only getting 1 good link from each bond. Checking both bonds in the /proc/net/bonding/bond I see that the port mac addresses are duplicated. I confirmed on the switch side with `show lacp neighbors` that indeed both bonds have ports that share the same mac address. I'll share the specifics when I get access to the server again in a day but the ports for bond0 show mac of ...:40 and ...:41 and bond1 has :41 and :40. Ports 1 on both bonds work.

The solution i figure is to manually set a different randomized mac for one of the bonds but everytime i `ifreload -a` or `ip link set bond up` the hwaddress i set in interfaces doesn't take effect. the ports of bond0 stick to :40 and :41.