Network interface naming

  • Thread starter Thread starter Deleted member 93625
  • Start date Start date
D

Deleted member 93625

Guest
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