ICMP Protocol (Internet Control Message Protocol): A Guide
ICMP (internet control message protocol) is a communication system with many functions.
Your system is prepared to send data to another system. Will the messages go through properly? Or is something blocking clear and crisp communication?
Devices use the Internet Control Message Protocol (or ICMP) to share status information just like this. The protocol could be critical if your network encounters a communication problem, and you need to diagnose it quickly.
Every day, the average employee wastes 22 minutes on IT issues. If you're running the network, keeping things running smoothly is critical. ICMP can help you do just that.
But ICMP does have a dark side. Sometimes, hackers use it to flood your server with so many requests that you lose connectivity altogether.
What Is the ICMP Protocol?
In 1981, the Network Working Group developed the Internet Control Message Protocol to help interconnected devices communicate quickly and easily.
As the developers pointed out, ICMP isn't made to make a network more reliable. Instead, it's designed to help teams troubleshoot and fix problems quickly so they can stay online.
ICMP is used by network devices, including computers and routers. You might use the system for:
- Diagnostics. Find out if a server is open and accepting messages. If it's not, find out why.
- Error reporting. Determine why some or all of your data isn't reaching the intended recipient.
- Speed. Find out how long it takes for a packet to move from one place to another.
Three functions are critical in the ICMP protocol. They are:
- Ping. Send a message to a destination server. You'll get a copy of that message back in return. This command helps you determine availability and speed.
- Traceroute. Send a request and get a note back from every router that handles the request en route to your requested destination.
- Unreachable. In the midst of a traceroute, you may hear that your destination can't be reached. When this happens, you'll be blocked from sending more messages to that location.
ICMP messages are often used to help teams understand whether the data they send is received at all, and if it is, whether it gets there in a timely way. Messages you get back refer to IP operations.
How Does Internet Control Message Protocol Work?
The ICMP protocol requires no handshakes or formal connections. Instead, it operates as a connectionless protocol. And the data you get back is in numeric form. You'll need to decode it to make sense of it.
Developers often use charts to explain what ICMP messages look like.
Each message is made up of four parts.
- Type: This field contains a number that defines the message's general category.
- Code: This field contains a number that offers more information about the message's type.
- Checksum: This field contains a numeric representation of security. Errors or mismatches here indicat