From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Stefan Hanreich <s.hanreich@proxmox.com>
Subject: Re: [PATCH docs/manager/network/proxmox{-ve-rs,-perl-rs} v2 0/5] Add MTU setting to WireGuard interfaces
Date: Fri, 20 Nov 2026 08:42:43 +0100 [thread overview]
Message-ID: <179515721880.2281522.4954112049046065274.b4-ty@b4> (raw)
In-Reply-To: <20261117184346.760458-1-s.hanreich@proxmox.com>
On Tue, 17 Nov 2026 19:43:39 +0100, Stefan Hanreich wrote:
> This patch series adds support for configuring the MTU for WireGuard interfaces.
> Since changing the default value in the API would be breaking, make it a soft
> default by pre-filling the MTU value in the UI with 1420, which should work for
> most use-cases, as it is the maximum MTU possible if using Ethernet with IPv6.
>
> Changes from v1:
> * rebase on top of current master
> * fix documentation key
> * change API type from number to integer
>
> [...]
Applied, thanks!
Tested on a three-node cluster: the MTU is applied, and the UI fills in
1420 for new interfaces.
What I changed in your patches: the Rust side now enforces the same MTU
limits as the Perl side, and the docs explain the WireGuard overhead and
that interfaces without an MTU, including all existing ones, get the
ifupdown2 default, usually 1500, and not the 1420 of WireGuard.
What I added on top: I raised the minimum MTU from 576 to 1280. Below
that, the kernel turns off IPv6 on the interface, which makes ifreload
fail if it has an IPv6 address and drops the IPv6 routes to the peers.
This rules out IPv4-only tunnels below 1280, which I don't think fabrics
need; shout if you see that differently.
Still open: the interface panel silently keeps the last valid MTU or
listen port if you enter an invalid one, instead of refusing to save.
[proxmox-perl-rs]
[2/5] fabrics: wireguard: render mtu to interface config
commit: 66c8b3b2b894f45c5a710b1b264af653d0bf9f1b
[proxmox-ve-rs]
[1/5] wireguard: add mtu option to wireguard interface properties
commit: f8f76c236768094475f7cd2434d431f0c86ed12b
[pve-docs]
[5/5] sdn: fabrics: wireguard: document mtu option
commit: 1f39d9d56c73b2f791114a4441140cb1000653b3
[pve-manager]
[4/5] fabrics: wireguard: add mtu to interface properties
commit: b739cd12383ad5be4822c0af2b600a8c9890c8f3
[pve-network]
[3/5] fabrics: wireguard: add mtu to interface properties
commit: 018781b60dd78c0bec0a639b6b9937fc7171573c
prev parent reply other threads:[~2026-11-20 7:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 18:43 [PATCH docs/manager/network/proxmox{-ve-rs,-perl-rs} v2 0/5] Add MTU setting to WireGuard interfaces Stefan Hanreich
2026-11-17 18:43 ` [PATCH proxmox-ve-rs v2 1/5] wireguard: add mtu option to wireguard interface properties Stefan Hanreich
2026-11-17 18:43 ` [PATCH proxmox-perl-rs v2 2/5] fabrics: wireguard: render mtu to interface config Stefan Hanreich
2026-11-17 18:43 ` [PATCH pve-network v2 3/5] fabrics: wireguard: add mtu to interface properties Stefan Hanreich
2026-11-17 18:43 ` [PATCH pve-manager v2 4/5] " Stefan Hanreich
2026-11-17 18:43 ` [PATCH pve-docs v2 5/5] sdn: fabrics: wireguard: document mtu option Stefan Hanreich
2026-11-20 7:42 ` Thomas Lamprecht [this message]
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=179515721880.2281522.4954112049046065274.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=s.hanreich@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.