On 4/22/25 16:48, Thomas Lamprecht wrote: > Am 22.04.25 um 13:33 schrieb Stefan Hanreich: >> A possible regression I can think of is: If the bridge was set to the >> wrong MTU (e.g. 9000) at some point, but external devices in the same >> LAN are still set to use a lower MTU (e.g. 1500). If users never >> configured the larger MTU anywhere else besides the bridge, then this >> would break. > > Above is basically what I meant.
For that case I think just the notice in the check script is sufficient. IMO this should be rather rare in practice. But, thinking more about potential regressions / issues: I'll double-check this series w.r.t the bridge inheriting MTU from bridge ports just to make sure we won't run into any funky business there. IIRC there is some unintuitive behavior on how the MTU on bridges gets set, when adding ports with mismatched MTU. I'll try to torture test this a bit more this or next week. >>> FWIW, we could also tie this behavior to a machine version to avoid changing >>> the behavior for any existing VM. But I would be fine with applying this >>> only >>> for PVE 9 then and add a notice to the pve8to9 checker script that lists all >>> VMs that will change their MTU including the respective value. >> >> I think it would be a good idea to include this in pve8to9 with warnings >> at least and mention it in the release notes. It might make for some >> noise and unsettle some users though. Since we cannot really tell what >> MTU is set inside the VM, we'd have to show warnings for basically every >> network device on a bridge with MTU != 1500. > > Well, yes, but I used "notice" over "warning" for a reason, as we have > that level in the checker script, and it fits this change well IMO. I agree. Fits better than warning since it will usually work just fine. I'll send a new version with an additional patch for pve8to9 as soon as that's available in pve-manager. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel