[pve-devel] [PATCH ifupdown2] patch: fix bond mac address at boot.

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Wed Nov 15 07:12:38 CET 2023


Hi,

Something definitively wrong with this patch
https://forum.proxmox.com/threads/same-mac-on-all-lacp-bonds-bridges-after-upgrade-proxmox-8.136359/

This forum user is getting mac of his fiber transceiver at
boot...(that's superstange as they shouldn't have a mac address)


I think that it's because it's still doing crap with mac address and
some race can occur.


This patch
https://lists.proxmox.com/pipermail/pve-devel/2023-September/059129.html

should fix it, disabling systemd mac random renaming. (like on
rhel8,fedora et other distro)


and revert the last ifupdown2 patch.


-------- Message initial --------
De: Thomas Lamprecht <t.lamprecht at proxmox.com>
À: Proxmox VE development discussion <pve-devel at lists.proxmox.com>,
Alexandre Derumier <aderumier at odiso.com>
Objet: Re: [pve-devel] [PATCH ifupdown2] patch: fix bond mac address at
boot.
Date: 19/10/2023 10:53:22

Am 01/09/2023 um 11:12 schrieb Alexandre Derumier:
> since systemd v241, like for bridge, the bond mac is setup
> randomly at boot, instead inherit from first slave.
> 
> Then, on next ifreload, ifupdown2 was already fixing it,
> but with an down/up of the bond (with potentials impact on the
> network).
> 


Hmm, we now got a few reports in the forum that get quite a few
"Received packet on bond0 with own address as source" warnings
after upgrading to ifupdown2 to the version that just ships this
patch here:


https://antiphishing.cetsi.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-
90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTThIwPzZaoDCvq1Kc_09FxyZzKHGZEQ
ETBzOHeMNLlvdN&f=R0pWUVNEaUFuMTBCTlptbqfFzF4TB2H57gw42PegMEHMfdECltiGwe
4Ql2leQkqk&u=https%3A//forum.proxmox.com/threads/kernel-vmbr0-received-
packet-on-bond0-with-own-address-as-source-address.133152/%23post-
597121&k=8YLU
https://antiphishing.cetsi.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-
90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTThIwPzZaoDCvq1Kc_09FxyZzKHGZEQ
ETBzOHeMNLlvdN&f=R0pWUVNEaUFuMTBCTlptbqfFzF4TB2H57gw42PegMEHMfdECltiGwe
4Ql2leQkqk&u=https%3A//forum.proxmox.com/threads/vmbr0-received-packet-
on-bond0-with-own-address-as-source-address.135044/%23post-
597283&k=8YLU

Seem like the switches send the ECTP loopback packages sometimes
back over the other link due both having the same MAC address,
Wolfgang thinks that shouldn't matter though..

They mention that a downgrade helps so even if this is a switch
(configuration) issue on their side it might not be ideal to regress
here – do you have any idea what's going on?




More information about the pve-devel mailing list