LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Interface/device naming convention (https://www.linuxquestions.org/questions/linux-networking-3/interface-device-naming-convention-4175637898/)

oliveoyl 09-06-2018 09:14 AM

Interface/device naming convention
 
Hello,

On the newer distributions the network interface is not named ethX but instead something like:

enp2s0
enp2s0f0
enp12s0f0np0

Can some please explain what this means and how to translate it to physical server ports.

Thank you.

smallpond 09-06-2018 10:14 AM

https://en.wikipedia.org/wiki/Consis..._Device_Naming

BW-userx 09-06-2018 12:24 PM

here are some interesting links on how to change the name to whatever you want it to be.
https://wiki.archlinux.org/index.php...interface_name
and
https://wiki.archlinux.org/index.php..._randomization
so if you want to put it back to ethX whatever you still can.

scasey 09-06-2018 01:44 PM

Quote:

Originally Posted by oliveoyl (Post 5900513)
Can some please explain what this means and how to translate it to physical server ports.

Others have posted about the meaning of the names. I'd think you'd need to see what's in the files to find out which NIC (not port) it relates to...or use the relevant GUI...or something like ifconfig -- see man ifconfig

When I migrated from CentOS 5.11 to CentOS 7.4, I just copied my ethx files from the old server to the new server, so my 7.4 server still uses ethx file names.


All times are GMT -5. The time now is 09:29 PM.