Changed PCIe Cards, new network names..

xantonin

New Member
Jun 9, 2023
7
0
1
Hi all, I realized this might be more a Debian issue but reading everything in the Proxmox wiki and on Debian makes it sound like the device names SHOULD be constant, but I've had to physically log in to my server twice to change the network config.

I have two interfaces. At first it was something like enp5s0 and enp8s0, then I added an HBA card and they changed to something else.
A few days later I added another PCIe card and now they're enp11s0 and enp15s0. I thought the whole point of the new naming scheme was consistency in referencing interfaces?

The motherboard is an ASRock EP2C602.

Thanks!
 
Hm, even my HBA card has a new PCI address. I had to change the passthru from 04:00 device to 07:00. Is this just abnormal motherboard behavior on my side?
 
The point is to be predictable, not static. It ins't assigned randomly like eth0, eth1 and so on but named on the bus that is used. If your PCIe enumeration changes, because you add remove PCIe devices, the Interface name will change to.
If you want fixed interface names you could create rules so that interface names are bound to MAC adresses or hardware/vendor IDs.
See:
https://wiki.debian.org/NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES
 
  • Like
Reactions: xantonin
Ah okay, thank you! I'll check that out. I was thinking it meant static. Given this is my lab machine, I think i will do rules to help with consistency since i plan to continue changing PCIe devices a bit more.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!