Renaming (USB) ethernet interfaces

Jun 17, 2023
6
0
1
I've got the need to add one more ethernet interface to the mini-pc type machines (i.e. plugging in PCIe cards is not an option) in my home lab. If I plug in a USB adapter it works fine, but gets a name that contains the hardware address (MAC) of the device:

Code:
14: enx7cc2c64a44f5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 7c:c2:c6:4a:44:f5 brd ff:ff:ff:ff:ff:ff

My main problem with that is, that I get different interface names that way for each machine in the cluster. On my other Debian machines I sometimes
rename interfaces, by using a 10-en0.link type file in /etc/systemd/network which works without trouble. But what is the "correct" way to do it in Proxmox (that does not mess up clustering or the web administration frontend or any other aspect of the system)?

Thanks in advance,
Ralph
 

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!