Added NIC Card

jgprouty

New Member
Jun 1, 2022
2
0
1
I added a 4 port Gig card to my server
May 25 23:29:10 denpve02 kernel: igb 0000:da:00.0 ens2f0: renamed from eth0
May 25 23:29:10 denpve02 kernel: igb 0000:da:00.1 ens2f1: renamed from eth1
May 25 23:29:10 denpve02 kernel: igb 0000:db:00.1 rename6: renamed from eth4
May 25 23:29:10 denpve02 kernel: igb 0000:db:00.0 rename5: renamed from eth3
May 25 23:29:10 denpve02 kernel: ixgbe 0000:18:00.0 eno1: renamed from eth2
May 25 23:29:10 denpve02 kernel: ixgbe 0000:3b:00.0 eno3: renamed from eth1
May 25 23:29:10 denpve02 kernel: ixgbe 0000:18:00.1 eno2: renamed from eth0
May 25 23:29:10 denpve02 kernel: ixgbe 0000:3b:00.1 eno4: renamed from eth3

I see that ETH3 and Eth4 are renamed to renamed5 and renamed6 how do I change the names and get them to be enabled? ens2f0 and ens2f1 work fine
 
One way to deal with this (suggested in another thread on the Proxmox forums), is:
Create the file: /etc/systemd/network/10-naming-fix.link and put this content:
Code:
[Match]
OriginalName=*

[Link]
NamePolicy=keep kernel database onboard path slot
MACAddressPolicy=persistent

This rule could be useful to you (or not), depending on the case. It depends on the combination of hardware you have.

Regards!