LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2016, 10:05 PM   #1
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Rep: Reputation: 15
Rhel7 NIC naming conventions.


Wondering if I can get some input how everyone is dealing with these new network naming conventions in RHEL 7:

https://access.redhat.com/documentat...ce_Naming.html

When I have a NIC like eno16777736 is very ugly. Something like enp5s0 looks better but it's still uglier. Ubuntu kept them consistent at least in the various server versions it had which is good. When I login to meetings and have to specify which NIC fails I have to read this long thing out 'e-n-o-1-6-7-7-7-7-3-6' sounds alot worse then 'e-t-h-0'. Makes for longer problem resolution in the least. So reading that page above from RedHat, it could be any of the 5 different naming conventions, which in itself is very unpredictable. How do you guy's handle it? I rename it to the old way and use UDEV which seems alot better since a MAC won't change. And once set, I never have to touch it again. Earlier I could rely that eth0 pointed to some NIC and it looked the same on both VM's and Physicals making it easy for automation etc now it could be any of the 5 naming conventions.

Why not simply attach the same eth0 to the same physical interface on each reboot based on the hardware profile instead of incorporating a hard to remember random string in the name itself? ( It's kind of like saying that putting triangles instead of wheels on cars makes more sense because we can get up to 33% rubber contact with the road instead of 2% - 5% of a round tire's circumference and the more rubber contacts the road, the better the breaking distance. True, but we won't get anywhere because we ignore the usability that was aimed for with that. )

So I'm wondering how the rest of the community handles this? Do you rename it or do you leave it and just work with it as-is?

Cheers,
DH
 
Old 03-21-2016, 10:15 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
I use Centos7 and Fedora, and I tend to just use whatever name the kernel assigns to the interface. Most of my systems, even servers, use NetworkManager so all I need to do is be able to identify the interface from a dropdown list. Editing scripts makes new names kind of a pain, but I haven't manually edited any network scripts in quite some time.
 
Old 03-21-2016, 11:50 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
only new to rhel7
fedora , opensuse and other OS's have been using the newer systemD things
 
Old 03-22-2016, 05:53 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I believe you can change naming convention but it is suggested to leave it as the BSD style.
 
  


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
The Naming Conventions nodisk Linux - Newbie 6 12-15-2005 05:15 AM
Java Naming Conventions logosys Programming 0 11-10-2005 08:21 PM
variable naming conventions patpawlowski Programming 6 02-25-2004 01:49 PM
Naming conventions ??? bigjohn Linux - Newbie 1 12-07-2003 10:25 AM
File Naming Conventions mooreted Linux - Software 4 08-23-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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