Troubleshooting IP using ICMP. The Internet Control Message Protocol (ICMP) is used for a multitude of informational and error messaging purposes. The ping command first sends an echo request packet to an address, then waits for a reply. ... The echo request gets to the destination.