LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2013, 09:32 AM   #1
saeed144
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora, Red Hat, BSD
Posts: 9

Rep: Reputation: 0
network interface name (eth0, p2p1, ra0, ...)


Where does the network interface names come from?

Each network interface has a name,
where does these names come from?
are they in their network driver or is it assigned by the kernel?

or kernel just assign the number but the format comes from the driver? (my own guess)
 
Old 04-09-2013, 07:36 AM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
The new naming convention for network interfaces is derived from:

Lan-On-Motherboard interfaces: em<port number> (ethernet-on-motherboard <1,2 ..>)

PCI add-in interfaces: p<slot number>p<port number>_<virtual function instance>

Dell has a whitepapaer on it here: http://linux.dell.com/files/whitepap...inux-v0.92.pdf
 
1 members found this post helpful.
Old 04-09-2013, 09:06 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,344

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
Your link http://linux.dell.com/files/whitepap...inux-v0.92.pdf appears as literally
Code:
http://linux.dell.com/files/whitepap...inux-v0.92.pdf
so gives a 404. Can you supply the full link?
 
Old 04-10-2013, 12:13 AM   #4
saeed144
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora, Red Hat, BSD
Posts: 9

Original Poster
Rep: Reputation: 0
white papers of linux.dell.com regarding the matter

It's easy to figure out,
Go here and you can find, also another white paper that is related to this topic
http://linux.dell.com/files/whitepapers/

consistent_network_device_naming_in_linux.pdf

Last edited by saeed144; 04-10-2013 at 01:22 AM.
 
  


Reply

Tags
network interface, programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora - system-config-firewall - p2p1 trusted interface - how to configure ? dlugasx Linux - Server 0 09-05-2012 05:01 AM
network interface eth0 does not exist jrodia Gentoo 7 10-14-2009 01:08 AM
eth0 to ra0 Linkhiei Linux - Networking 1 03-21-2006 04:01 PM
mandriva 2006 - wireless interface ra0 becomes unresponsive via_strass Linux - Wireless Networking 0 02-25-2006 02:46 PM
Network interface: kernel keeps calling it 'eth0' monkeyman2000 Debian 12 10-20-2004 06:10 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:14 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