Linux – What does the eth0 interface name mean in Linux

linuxnetworking

What do the Linux interface names mean?

  • eth0
  • eth1
  • wlan0

My current assumption is that when we are connected to the Internet via LAN cable it's eth0 or eth1 and when we are connected with internet via WiFi it's wlan0.

Best Answer

Your assumption is correct.

The names however can be set/chosen by the user or the operating system that you are using. eth0 and eth1 is used because it's more intuitive than choosing an arbitrary name because "LAN cable" connection, like you said is Ethernet (hence the eth in eth0, eth1). Similarly when you connect to WiFi, it's "WirelessLAN" (hence the wlan in wlan0).

Related Question