惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
DataBreaches.Net
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
F
Full Disclosure
V2EX - 技术
V2EX - 技术
N
News and Events Feed by Topic
Help Net Security
Help Net Security
L
LangChain Blog
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
B
Blog RSS Feed
N
Netflix TechBlog - Medium
N
News | PayPal Newsroom
TaoSecurity Blog
TaoSecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
B
Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
AI
AI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
G
GRAHAM CLULEY
Vercel News
Vercel News
罗磊的独立博客
MyScale Blog
MyScale Blog
Last Week in AI
Last Week in AI
博客园 - 司徒正美
C
CERT Recently Published Vulnerability Notes
GbyAI
GbyAI
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
A
About on SuperTechFans
P
Privacy International News Feed

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
Where pve-network-interface-pinning store it's configuration?
invalid@exam · 2025-08-15 · via Proxmox Support Forum

Hi...

I am using pve-network-interface-pinning to pin enp1s0, for instance, to eth0, eth1... and so on.
I have 9 nic each server.
But I need to change the hardware and after that, all nic turns back to previously name, like enp1s0, when I use ip a command.
If I try to change it back up eth0, I got this error:

Code:

pve-network-interface-pinning generate --interface  enp7s0  --target-name eth1
This will generate name pinning configuration for the interface 'enp7s0' - continue (y/N)?
y
could not resolve 52:54:00:9d:5d:1e to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:4b:ae:f5 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:94:3a:9f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:29:26:c5 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:ee:b3:68 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:af:22:2f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:f3:81:08 to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:4b:c1:2b to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
could not resolve 52:54:00:31:c5:1f to an existing interface at /usr/share/perl5/PVE/CLI/pve_network_interface_pinning.pm line 343, <STDIN> line 1.
target-name already exists as link or pin!

So I need to understand where pve-network-interface-pinning store it's configuration.
Is there anyway to recreate the network interface pinning?

Thanks

They are stored in /usr/local/lib/systemd/network as link files with name 50-pve-<pnined_name>.link

They are stored in /usr/local/lib/systemd/network as link files with name 50-pve-<pnined_name>.link

Ah! I see...

Code:

pve01:/usr/local/lib/systemd/network# cat 50-pve-eth0.link
[Match]
MACAddress=52:54:00:4b:c1:2b
Type=ether

[Link]
Name=eth0

Thank you

Sorry!
It was right there in my face! Shame on me...

This will generate name pinning configuration for the interface 'enp1s0' - continue (y/N)?
y
Name for link 'enp1s0' (enx525400d99ca2) will change to 'eth0'
Generating link files
Successfully generated .link files in '/usr/local/lib/systemd/network/'
Updating /etc/pve/nodes/proxmox03/host.fw.new
Updating /etc/network/interfaces.new
Updating /etc/pve/sdn/controllers.cfg
Updating /etc/pve/sdn/fabrics.cfg
Successfully updated Proxmox VE configuration files.

Please reboot to apply the changes to your configuration

Sorry, but *why* is this configuration information being stored outside of /etc ?

Sorry, but *why* is this configuration information being stored outside of /etc ?

Any Proxmox dev have any answer to my question?

Iirc, one reason was to prevent clashes with potentially pre-existing configuration files in /etc. We could maybe implement specifiying the base path for the generated files to circumvent that and enable generation of the link files in /etc?

Iirc, one reason was to prevent clashes with potentially pre-existing configuration files in /etc. We could maybe implement specifiying the base path for the generated files to circumvent that and enable generation of the link files in /etc?

No real opinion for me, as long as all config files are under /etc somewhere for grepability, backupability, etc. And this file is generated by the installer so there shouldn't be any preexisting files?

AFAIK

is a good place for .link files - /etc/ really is the first place i would look for them.
(We've had it there since 7.x and still in 9.2; we pin manually with more insightful names than the pinning tool nowadays generates).

But the path the pinning tool currently uses is also expected according to the docs: https://manpages.debian.org/unstable/manpages-de/systemd.link.5.de.html

Die .link-Dateien werden aus den Dateien gelesen, die sich im Systemnetzwerkverzeichnis /usr/lib/systemd/network und /usr/local/lib/systemd/network [1], dem flüchtigen Laufzeitnetzwerkverzeichnis /run/systemd/network und dem lokalen Administrationsnetzwerkverzeichnis /etc/systemd/network befinden.

I came here to ask the question about whether there is a good reason that I shouldn't move my .link files to /etc/systemd/network (which is where the man pages seem to suggest they should be anyway) so I was pleased to find this thread at the top of the forum when I arrived.

I can now revert to only having to backup /etc (previously /usr/local/lib/systemd/network was the only dir outside of /etc that I needed to backup) so that's wonderful.

+1 to the suggestion of making this the default location or giving the user the option.

Last edited:

Oh my, thanks for pointing it out!
I did not notice this functionality when plying around with it when PVE9.0 was fresh! (Or it wasn't there when I checked it out). Deleted my above post.

I came here to ask the question about whether there is a good reason that I shouldn't move my .link files to /etc/systemd/network (which is where the man pages seem to suggest they should be anyway) so I was pleased to find this thread at the top of the forum when I arrived.

I can now revert to only having to backup /etc (previously /usr/local/lib/systemd/network was the only dir outside of /etc that I needed to backup) so that's wonderful.

+1 to the suggestion of making this the default location or giving the user the option.

And I came here after I installed PBS on top of an existing old-many-times-upgraded Debian install. The network interface wasn't initialised as it should. It turned out to be a different issue, but when I compared it to my new PBS install, I noticed that the ethernet device names were different. Grepping for "nic0" in /etc didn't find anything and I was very confused -- having seen the option to pin the network interface name during the install, which I accepted because I liked to keep my machines as default as possible to maximise their upgradability.

I should probably do a new install of Proxmox VE 9.2 into a VM and compare it to the default configuration on my many-times-upgraded PVE servers.