010-100 · Question #36
Which network interface always exists in a Linux system?
The correct answer is A. lo. The loopback interface 'lo' is the only network interface guaranteed to exist on every Linux system because it is created automatically by the kernel at boot, independent of any hardware.
Question
Which network interface always exists in a Linux system?
Options
- Alo
- Bsit0
- Cwlan0
- Dvlan0
- Eeth0
How the community answered
(61 responses)- A72% (44)
- B15% (9)
- C3% (2)
- D2% (1)
- E8% (5)
Why each option
The loopback interface 'lo' is the only network interface guaranteed to exist on every Linux system because it is created automatically by the kernel at boot, independent of any hardware.
The 'lo' loopback interface is a software-only virtual interface instantiated by the Linux kernel itself during boot on every system regardless of physical hardware; it provides the 127.0.0.1 address used for local inter-process communication and requires no network adapter, driver, or configuration to exist.
The 'sit0' interface is an IPv6-in-IPv4 tunnel device that is only present when the 'sit' kernel module is loaded, which does not happen on every Linux system by default.
The 'wlan0' interface only exists when a compatible wireless network adapter is present in the system and its driver is loaded, so it is absent on systems without wireless hardware.
The 'vlan0' interface is created only when VLAN tagging is explicitly configured by an administrator and is not automatically present on any standard Linux installation.
The 'eth0' interface depends on the presence of a compatible wired Ethernet adapter, and on modern systems using predictable network interface naming the device may be named 'ens3', 'enp2s0', or similar rather than 'eth0'.
Concept tested: Linux loopback interface as universal network interface
Source: https://www.kernel.org/doc/html/latest/networking/loopback.html
Topics
Community Discussion
No community discussion yet for this question.