Network interface naming conventions

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, ppp1and 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

  • en: Ethernet interface
  • wl: Wlan interface
  • ww: WWAN interface

Next characters represent type of adapter

  • o: Onboard adapter
  • s: Hotplug slot
  • p: PCI card
  • x: MAC address

Last character is a number N, to represent an index, ID, or port

  • N: 0, 1, 2, and so on

 

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
If the biosdevname feature is enabled in the server, then this naming scheme is overridden with a different naming scheme.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.237.255