Why Can You Ping 127.0.0.1 Even When Offline? Understanding Loopback Addresses
This article explains the nature of 127.0.0.1, localhost and 0.0.0.0, why pinging the loopback address works without a network connection, and how the operating system routes such traffic through a virtual network interface.