10.2.4. Network interface names
On a Linux machine, the device name lo or the local
loop is linked with the internal 127.0.0.1 address. The
computer will have a hard time making your applications work if
this device is not present; it is always there, even on computers
which are not networked.
The first ethernet device, eth0 in the case of a
standard network interface card, points to your local LAN IP
address. Normal client machines only have one network interface
card. Routers, connecting networks together, have one network
device for each network they serve.
If you use a modem to connect to the Internet, your network
device will probably be named ppp0.
There are many more names, for instance for Virtual Private
Network interfaces (VPNs), and multiple interfaces can be active
simultaneously, so that the output of the ifconfig or ip commands might
become quite extensive when no options are used. Even multiple
interfaces of the same type can be active. In that case, they are
numbered sequentially: the first will get the number 0, the second
will get a suffix of 1, the third will get 2, and so on. This is
the case on many application servers, on machines which have a
failover configuration, on routers, firewalls and many more.