LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-06-2018, 09:14 AM   #1
oliveoyl
Member
 
Registered: Sep 2016
Posts: 42

Rep: Reputation: Disabled
Question 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.
 
Old 09-06-2018, 10:14 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
https://en.wikipedia.org/wiki/Consis..._Device_Naming
 
Old 09-06-2018, 12:24 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 09-06-2018, 01:44 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by oliveoyl View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
first strata: naming convention jr_bob_dobbs Bedrock Linux 2 04-18-2016 03:59 PM
C - Function naming convention golmschenk Programming 10 02-16-2010 08:14 PM
file naming convention soldan Linux - Newbie 13 05-15-2006 11:11 AM
usb naming convention hoover93 Linux - Hardware 5 10-19-2005 10:18 PM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration