The loopback interface (lo) is a virtual network card that hands packets straight back to the same host. The whole 127.0.0.0/8 block and ::1 are reserved for it.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Virtual NIC | local program | TCP/IP stack | REQUEST | to 127.0.0.1 |
| 2 | Virtual NIC | TCP/IP stack | lo · 127.0.0.1/8 | DATA | route: dev lo |
| 3 | Virtual NIC | lo · 127.0.0.1/8 | TCP/IP stack | RESPONSE | straight back |
The loopback interface (lo) is a virtual network card that hands packets straight back to the same host. The whole 127.0.0.0/8 block and ::1 are reserved for it.
ping 127.0.0.1 succeeding proves the local TCP/IP stack itself is working.