Ask Your Question

NIC name eno<number> on centos

asked 2016-02-19 23:10:52 -0500

PZ gravatar image

Hi team,

I am using packstack/RDO to try to configure Openstack to work, looked at many documents and all mentioned to configure NIC eth0, eth1... during networking part, but on the Centos the NIC is liking as enoxxxxxx, can I use this enoxxxxxx directly to do the configure or I have to rename them to ethx, thanks in advance.

Regards, PZ

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-02-22 01:36:11 -0500

Hello PZ.

By now you probably already know that yes, you can (actually, you HAVE TO) use the native interface names you system offers you, to configure your software.

Using the enoXXXX will be as good as using the ethX in the good old time, or even on other systems.

For what it is worth, the new naming, while strange to old timers like me as well, are smarter: they reflect, among other things, the topology of your particular NIC (EN for Ethernet, WL for wireless lan, etc). It seems to be a trend and we will see more and more of it.

There is some interesting material from RedHat here: (

Now, if you really like the old naming, there is a way to go back to it (direct quote from CentOS' site):

  • Add "net.ifnames=0" and "biosdevname=0" as kernel arguments to grub
  • In '/etc/sysconfig/network-scripts/' Change your configured NIC config file to 'ifcfg-ethX'
  • If you have multiple interfaces and want to control naming of each device rather than letting the kernel do in its own way, /etc/udev/rules.d/60-net.rules seems necessary to override /usr/lib/udev/rules.d/60-net.rules.


edit flag offensive delete link more

answered 2016-02-22 03:33:54 -0500

teju gravatar image

Use the NIC names enoxxxxx directly. Do not rename the interface names

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-19 23:10:52 -0500

Seen: 927 times

Last updated: Feb 22 '16