public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH ifupdown2 0/5] d/patches: improve altname support
Date: Fri, 22 Aug 2025 14:27:47 +0200	[thread overview]
Message-ID: <20250822122754.842281-1-c.heiss@proxmox.com> (raw)

Another round of some fixups and improvements to altname support.

First off, amend the initial support patch to add translation to some
more places, especially around sysfs access - as that always requires
the primary interface name.

Next, replace quite a few sysfs usages with netlink, making it more
robust and adding support for altnames directly, as netlink does it also
transparently under the hood.

Failing to set the MTU with altnames was originally reported on the
community forum [0], which in turn also led me to the ifalias change.

[0] https://forum.proxmox.com/threads/wrong-mtu-after-upgrade-to-9.169887/

Testing
=======

These two changes can be easily tested by adding e.g.

  mtu 9000
  alias foobar

to a stanza for an interface under its altname, afterwards checking with

  `ip link show <name>`

for the MTU and alias.

Diffstat
========

Christoph Heiss (5):
  d/patches: altname support: add translation in some more places
  d/patches: set interface mtu through netlink instead of sysfs
  d/patches: set interface alias through netlink instead of sysfs
  d/patches: ipv6 slaac: properly decode IPv6 devconf attributes
  d/patches: read ipv6 devconf `disable_ipv6` attribute through netlink

 ...-add-transparent-support-interface-a.patch | 246 +++++++++++++-
 ...et-interface-mtu-through-netlink-ins.patch | 318 ++++++++++++++++++
 ...et-interface-alias-through-netlink-i.patch | 130 +++++++
 ...pv6-devconf-disable_ipv6-attribute-t.patch | 102 ++++++
 debian/patches/series                         |   5 +-
 ...ac-support-inet6-auto-and-accept_ra.patch} | 140 ++++++--
 6 files changed, 899 insertions(+), 42 deletions(-)
 create mode 100644 debian/patches/pve/0012-addons-nlcache-set-interface-mtu-through-netlink-ins.patch
 create mode 100644 debian/patches/pve/0013-addons-nlcache-set-interface-alias-through-netlink-i.patch
 create mode 100644 debian/patches/pve/0014-nlmanager-read-ipv6-devconf-disable_ipv6-attribute-t.patch
 rename debian/patches/upstream/{0001-add-ipv6-slaac-support-inet6-auto-accept_ra.patch => 0001-add-ipv6-slaac-support-inet6-auto-and-accept_ra.patch} (82%)

-- 
2.50.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-08-22 12:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22 12:27 Christoph Heiss [this message]
2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 1/5] d/patches: altname support: add translation in some more places Christoph Heiss
2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 2/5] d/patches: set interface mtu through netlink instead of sysfs Christoph Heiss
2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 3/5] d/patches: set interface alias " Christoph Heiss
2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 4/5] d/patches: ipv6 slaac: properly decode IPv6 devconf attributes Christoph Heiss
2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 5/5] d/patches: read ipv6 devconf `disable_ipv6` attribute through netlink Christoph Heiss
2025-08-26 22:33 ` [pve-devel] applied-series: [PATCH ifupdown2 0/5] d/patches: improve altname support 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=20250822122754.842281-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.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