Network interface naming

eoinkim

Member
May 26, 2020
84
10
8
38
Hi all,

I'd like to get some opinions about network interface naming on Proxmox node. Although I do my best to get the same hardware, there might be some situations that I cannot, which will result in different interface names on different nodes. Since I have to make a multi-node cluster with cluster-wide private networks, I believe this is quite important.

I know that this can be amended from a GRUB configuration so that the interface name can be shown as eth0, eth1 and so on. I am wondering if this is actually the best way to do or are there better ways to do this? Thanks.

Eoin
 
It is better to use systemd .link configuration for such things:

See https://www.freedesktop.org/software/systemd/man/systemd.link.html
Hi Dietmar,

Thanks for that, I'll have a look. By chance, is there a way for doing this during the installation? As a side note, I have set up a zfs over iscsi using FreeNAS (getting help from https://github.com/TheGrandWazoo/freenas-proxmox). It was okay until I changed interface name by grub. SSH key keeps getting compromised and the system cannot find LUN. Apologies for brief explanation but that's why I am asking this question - is it possible to set the name during the installation?

Thanks again.

Eoin
 

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!