public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	"t.lamprecht@proxmox.com" <t.lamprecht@proxmox.com>,
	"aderumier@odiso.com" <aderumier@odiso.com>
Subject: Re: [pve-devel] [PATCH ifupdown2] patch: fix bond mac address at boot.
Date: Thu, 19 Oct 2023 09:39:17 +0000	[thread overview]
Message-ID: <cb6593ad45eca12b5992b5cace07f5591112540e.camel@groupe-cyllene.com> (raw)
In-Reply-To: <9b1d6cf3-3adc-4ada-a107-0c7923fdefda@proxmox.com>

-------- Message initial --------
De: Thomas Lamprecht <t.lamprecht@proxmox.com>
À: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Alexandre Derumier <aderumier@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:



mmmm, that's strange.
Does it occur only once ? (when ifupdown2 is upgraded && reload it
done?)

Do you known which bond mode is used here ?



BTW, I had send another patch fixing it at systemd level directly (and
fixing another bug)
https://lists.proxmox.com/pipermail/pve-devel/2023-September/059129.html




>>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..

That's strange, because with or without this patch,  both links have
the same mac anyway.  (same random mac generated   vs same mac
inherited from first real interface).

For me, it's look like more a config problem at the physical switch
where no port group/port channel/... 


I don't see any error like this on my network with lacp bond.

(and the current patch is really fixing bugs on reload, where physical
switch can block ports in protection if the mac is switching)













  reply	other threads:[~2023-10-19  9:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01  9:12 Alexandre Derumier
2023-09-13 18:10 ` DERUMIER, Alexandre
2023-09-15 14:21 ` [pve-devel] applied: " Thomas Lamprecht
2023-10-19  8:53 ` [pve-devel] " Thomas Lamprecht
2023-10-19  9:39   ` DERUMIER, Alexandre [this message]
2023-11-15  6:12   ` DERUMIER, Alexandre
2023-11-15 10:37     ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb6593ad45eca12b5992b5cace07f5591112540e.camel@groupe-cyllene.com \
    --to=alexandre.derumier@groupe-cyllene.com \
    --cc=aderumier@odiso.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal