[SOLVED] where can i found the new name of my network cards ?

math_7090

New Member
Oct 25, 2021
9
0
1
24
I have changed something in my proxmox setup
So my network card's name (enp1s0) change, where can i found the new name ??
 
New PCI devices or changed the order? ;)

Run ip a and you should see a list of available network cards.
 
  • Like
Reactions: MistaClean
FWIW, ip a wasn't descriptive for me, but I did find it through ls -l /sys/class/net and then lspci:

Code:
# ls -l /sys/class/net
total 0
-rw-r--r-- 1 root root 4096 Jun 13 08:15 bonding_masters
lrwxrwxrwx 1 root root    0 Jun 13 08:15 enp0s31f6 -> ../../devices/pci0000:00/0000:00:1f.6/net/enp0s31f6
lrwxrwxrwx 1 root root    0 Jun 13 08:15 enp111s0 -> ../../devices/pci0000:00/0000:00:1c.1/0000:6f:00.0/net/enp111s0
lrwxrwxrwx 1 root root    0 Jun 13 08:15 enp1s0f0np0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/net/enp1s0f0np0
lrwxrwxrwx 1 root root    0 Jun 13 08:15 enp1s0f1np1 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.1/net/enp1s0f1np1
lrwxrwxrwx 1 root root    0 Jun 13 08:15 enx8aea6955254f -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1:1.0/net/enx8aea6955254f
lrwxrwxrwx 1 root root    0 Jun 13 08:15 lo -> ../../devices/virtual/net/lo

Code:
# lspci | grep -i ethernet
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (17) I219-V (rev 11)
01:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
01:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
6f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Killer E3000 2.5GbE Controller (rev 06)

Here, enp111s0 is using PCI 6f:00.0, so that translates to my Killer E3000 2.5GbE adapter.
 
  • Like
Reactions: Impact