public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH ifupdown2 0/5] d/patches: improve altname support
@ 2025-08-22 12:27 Christoph Heiss
  2025-08-22 12:27 ` [pve-devel] [PATCH ifupdown2 1/5] d/patches: altname support: add translation in some more places Christoph Heiss
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Christoph Heiss @ 2025-08-22 12:27 UTC (permalink / raw)
  To: pve-devel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-26 22:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-22 12:27 [pve-devel] [PATCH ifupdown2 0/5] d/patches: improve altname support Christoph Heiss
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

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