Conventionally, network interfaces in Linux are enumerated sequentially as eth0, eth1, eth2, and so on.
The following table list the traditional names of interfaces with their descriptions:
Interface name |
Description |
eth0, eth1, and so on |
Ethernet interfaces |
wlan0, wlan1, and so on |
Wireless interfaces |
eth0:1, eth0:2, and so on |
Alias interfaces |
ppp0, ppp1, and so on |
Dial-up interface |
bond0 |
First-bonded network device |
virbr0 |
Internal bridge for virtual hosts |
lo |
Loopback interface |
Now, CentOS 7 has new default naming conventions. The interface name is based on hardware, topology, and device type.
The following table illustrates the network interface naming convention in CentOS 7:
Character in naming convention |
Description |
First two characters represent type of interface |
|
Next characters represent type of adapter |
|
Last character is a number N, to represent an index, ID, or port |
|
If a fixed name could not be determined using new interface naming scheme then the old conventional naming scheme such as eth0 or eth1 is used. The example of new interface naming scheme is given here:
- eno1: First embedded network interface
- enp1s0: The first PCI card network interface with hotplug slot index 0