Question: how icmp echo request works?
Answer: The Ping program works much like a sonar echo-location. It sends a small packet of information containing an ICMP ECHO_REQUEST to a specified computer, which then sends an ECHO_REPLY packet in return. The IP address 127.0. 0.1 is set by convention to always indicate your own computer.