28/09/2026
๐ก ICMP Explained | Internet Control Message Protocol ๐
ICMP (Internet Control Message Protocol) is a network-layer protocol used to send error messages, diagnostic information, and connectivity status between network devices.
It is commonly used by tools such as Ping and Tracert for network troubleshooting.
๐น What is ICMP Used For?
โ
Test network connectivity
โ
Identify unreachable devices
โ
Report network errors
โ
Troubleshoot routing problems
โ
Check packet loss and connectivity
โ
Help identify network paths
โ
Diagnose network communication issues
๐ Common ICMP Message Types
๐น Echo Request โ Sent when you run Ping
๐น Echo Reply โ Response received from the destination
๐น Destination Unreachable โ Destination or service cannot be reached
๐น Time Exceeded โ TTL expires, commonly used by Tracert
๐ ๏ธ Useful Commands
Test connectivity:
ping 8.8.8.8
Test a hostname:
ping google.com
Trace the network path:
tracert 8.8.8.8
Continuous Ping:
ping 8.8.8.8 -t
Stop Continuous Ping:
Ctrl + C
โ ๏ธ Important Point
ICMP is not TCP or UDP, so it does not use TCP/UDP port numbers.
Also, a failed Ping does not always mean the destination is down. ICMP may be blocked by a firewall or network device.
๐ง Simple Example
Your PC
โ
ICMP Echo Request
โ
Router / Network
โ
Destination
โ
ICMP Echo Reply
โ
Your PC
โญ Remember
ICMP = Error Reporting + Connectivity Testing + Network Diagnostics
Ping โ ICMP Echo Request/Reply
Tracert โ Uses ICMP responses to help identify the network path
Follow for more Networking, Active Directory, Windows Server, PowerShell, and IT troubleshooting tutorials! ๐ฅ