Network Interface naming convention in Red Hat 7

Опубликовано: 06 Март 2026
на канале: Business Server Solutions
3,096
27

Red Hat Enterprise Linux 7: Network interface names:

1) fixed names (which is default naming behaviour) based on:
firmware
device topology
device type

ethernet interfaces begin with: en
wlan interfaces begin with: wl
wwan interfaces begin with: ww (Wireless Wide Area Network use mobile telecommunication cellular network technologies)

Next Character represents the type of adapter:
o - on-board
s - hotplug slot
p - PCI geographic location
x - used to incorporate MAC address (not used by default)

Finally a number N represents an index, ID or port.

examples:
eno1 - first embedded (on-board) network interface
enp2s0 - example of PCI card ethernet network interface
ens9 - example of virtual network adapter (vmware/KVM)
enp0s18f2u2 - USB ethernet adapter
wlp3s0 - example of PCI card wifi network interface
wlp0s18f2u4 - USB wifi adapter

if the fixed name cannot be determined, the old traditional names such as eth0, eth1 ... ethN are used. Traditional naming convention (eth0, eth1 ...) is for example used for KVM virtio virtual adapter.

2) BIOS names
biosdevname package must be installed and biosdevname must be enabled.
Depends on support for biosdevname in the system BIOS. If BIOS does not support biosdevname
biosdevname network interface names will not be used.

yum install biosdevname
biosdevname=1 (to enable biosdevname naming convention)

em1, em2 ... emN - on-board network cards (embedded)
pYpX (p1p1, p1p2, p2p1, p2p2, etc.) PCI network cards where:
Y - the PCI slot number
X - the number for the port on that specific card

Few examples:
em1 - first on-board embedded network interface
p1p1 - PCI network card interface example

biosdevname command

biosdevname takes a kernel device name as an argument, and returns the BIOS-given name it "should" be.

biosdevname -i eno1 (Treat args as ethernet devs)
em1

biosdevname -d (Enable debugging)
BIOS device: em1
Kernel name: eno1
Permanent MAC: 52:54:00:F9:A3:CC
Assigned MAC : 52:54:00:F9:A3:CC
ifIndex: 2
Driver: tg3
Driver version: 3.137
Firmware version: 5761e-v3.71
Bus Info: 0000:09:00.0
PCI name : 0000:09:00.0
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 1
SMBIOS Label: Broadcom 5761E Gigabit Ethernet Controller
sysfs Index: 1
sysfs Label: Broadcom 5761E Gigabit Ethernet Controller
Embedded Index: 1

Related Video Tutorials:
RHCSA Fast Track course:
Reset forgotten root password in Redhat 7:
   • Reset forgotten root password in Redhat 7  

Network Interface naming convention in Red Hat 7:
   • Network Interface naming convention in Red...  

Setting up network without NetworkManager in Redhat 7:
   • Setting up network without NetworkManager ...  

Setting up network using NetworkManager and network scripts in Redhat 7:
   • Setting up network using NetworkManager an...  

Setting up network using a NetworkManager text user interface (nmtui) in Red Hat 7 - EASY!!!
   • Setting up network using a NetworkManager ...  

Setting up network in Red Hat 7 in less than a minute - QUICK & EASY!!!
   • Setting up network in Red Hat 7 in less th...  

Setting up network using a NetworkManager command line interface (nmcli) in Red Hat 7
   • Setting up network using a NetworkManager ...  

nmcli cheat! Setting up network using nmcli in Red Hat 7 in less than a 30 seconds - QUICK & EASY!!!
   • nmcli cheat! Setting up network using nmcl...  

The Complete Beginners Guide to Linux Network Configuration - GUI & Easy!
   • Complete Beginners Guide to Linux Network ...  

Shrink ext2 ext3 and ext4 file system and reduce the size of a logical volume with only one command.
   • Shrink ext2 ext3 and ext4 file system and ...  

Complete guide to file system shrinking and reducing the size of the underlying logical volume.
   • Complete guide to file system shrinking an...  

Other related video tutorials:
Calculate netmask, network and broadcast address - EASY!:
   • Calculate netmask, network and broadcast a...  

NetworkManager connection priority - manage network profile priority in Linux:
   • NetworkManager connection priority - manag...  

RHCE EX300 exam:
RHCE EX300 exam: Configure an iSCSI target on Red Hat Enterprise Linux
   • RHCE EX300 exam: Configure an iSCSI target...