Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-11-2017, 05:18 AM   #1
LQ Newbie
Registered: Dec 2017
Posts: 1

Rep: Reputation: Disabled
How to configure customized network interface names

Hello, I am user of RHEL 7.4. I want to make special names for some of my network interfaces like: mgmt, scan etc. How can I do so? I've tried to do:
1. In /etc/default/grub:
GRUB_CMDLINE_LINUX=" crashkernel=auto net.ifnames=0 biosdevname=0 rhgb quiet"
2. Regenerated grub:
grub2-mkconfig -o /boot/grub2/grub.cfg
3.Changed names in /etc/sysconfig/network-scripts/ifcfg-eno1 and filenames.
4. Restarted Network

When I did so my interface name changes from enp0s3 to eth0. How can I
configure RHEL to have my personal interface names?
Old 12-13-2017, 03:35 AM   #2
Stéphane Ascoët
Registered: Feb 2004
Location: Orleans, 120 km south of Paris
Distribution: Mandrake, Freeduc (the one I'm making), Slackware, MacOS X
Posts: 218

Rep: Reputation: 45
I'm not sure it's the same under RHEL, but under Debian it's:
# vim /etc/systemd/network/

Name=the name you want


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
how to enable predictable network interface names on Slackware 14.1 VanOord_NL Linux - Networking 10 06-01-2016 05:44 AM
network interface names having strange names because of udev rules pascaltaf Linux - Kernel 5 01-08-2015 10:07 AM
Network interface names: p6p1 havard Linux - Networking 3 09-16-2011 10:53 AM
configure the network interface under the Owner (not ROOT) wadhah102 Linux - Networking 6 04-25-2011 05:01 AM
network interface keeps switching names on start-up slack_dude Slackware 2 02-15-2007 08:57 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:53 PM.

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