Welcome to the Computer Science and Technology Study Materials section from CoreNetworkZ EdTech Solutions, a leading mock test and competitive exam preparation platform, for students preparing for SSC, DSSSB, and Kerala PSC examinations. Today, I will explain ICMP.
I will explain ICMP and related questions asked in the Government competitive examinations.
What is ICMP?
John Samuel, a CCNA student at CoreNetworkZ EdTech Solutions, asked this question in one of our induction classes.
ICMP = Internet Control Message Protocol
ICMP (Internet Control Message Protocol) is a network layer protocol that generates error reports when facing problems with receiving or delivering packets.
It is a connectionless protocol with the primary duty of error reporting.
How does This Study Material help PSC, SSC, and DSSSB Aspirants?
SSC, DSSSB, and Kerala PSC conduct examinations for various IT posts.
Understanding ICMP is essential for candidates appearing for the DSSSB PGT/TGT Computer Science, Kerala PSC Degree Level Exam, SSC Scientific Assistant (CS), VSSC Technical Assistant, and System Analyst posts. These networking fundamentals are core parts of the Computer Science syllabus.
Kerala PSC Degree Level examinations have a Computer Science section where students can expect questions that require them to explain the reasons behind ICMP error codes. You can check the Kerala PSC Degree Level Common Prelims Syllabus under the Computer Science section. I recommend you download the syllabus using this official link.
Reference: https://www.keralapsc.gov.in/sites/default/files/2021-02/syllubus.pdf
So, why is ICMP important?
Ashiq Muhammed, a B.Tech 3rd year student from Delhi, asked, "What is the importance of ICMP in a network?" He is preparing for SSC Scientific Assistant (CS) examination.
Let me answer Ashiq in this section. The primary reason for the importance of ICMP is its error reporting and the support for ping and tracert.
ICMP helps troubleshoot the connection between two hops.
Why Do We Need ICMP?
Sonya Merchant, a client of CoreNetworkZ EdTech Solutions, asked, "Why do you network engineers need this protocol?"
Let us check why we need ICMP.
Let me explain one critical duty of a network engineer: network troubleshooting. Checking the connectivity between two devices is the primary focus of network troubleshooting.
We have many utilities to check the connectivity and availability of the destination device.
But all these utilities are based on ICMP, as defined in RFC 792.
The Internet Control Message Protocol (ICMP) is used to transmit error and control messages between devices that support the TCP/IP protocol suite.
ICMP operates behind utilities such as ping and tracert. Now, I will answer a question asked by a reader in the comment section.
Akhil Raj, a regular reader of CoreNetworkZ EdTech Solutions, asked, "Can you explain the functions of ICMP and provide a list of the error messages it generates?"
Let us now explore the key functions of the Internet Control Message Protocol.
Important Functions of ICMP
Let me answer the first part of Akhil's question here.
Send echo requests from a TCP/IP device to another.
Responds to Echo request.
It helps to find routing path issues.
ICMP echo message verifies the availability of the destination.
List of Messages Generated by ICMP
In this section, I will answer the second part of Akhil Raj's question. He asked about the list of messages generated by ICMP.
Address Request
Address reply
- Destination unreachable
To learn more about the Destination Unreachable message generated by the Internet Control Message Protocol, visit the links below.
Subnet Mask Request
Time Exceeded
| ICMP Type | Meaning / Message | Exam Scenario |
|---|---|---|
| Type 0 | Echo Reply | The "Success" response to a Ping. |
| Type 3 | Destination Unreachable | Router cannot find a path to the host. |
| Type 8 | Echo Request | The initial "Hello" sent by the Ping tool. |
| Type 11 | Time Exceeded | TTL reached zero (used by Tracert). |
How to Use ICMP in Troubleshooting a Network?
You have already learned about the Internet Control Message Protocol (ICMP). Now, let us explore its practical applications in real-world scenarios.
I have a home network with several devices connected to the Internet via an ISP-provided modem.
Additionally, I manage a small office network with ten computers. Let us consider a hypothetical connectivity issue between my home computer and the office network.
So, how should I begin troubleshooting if I am unable to access the office network from home?
The first step is to ping one of the devices on the office network from my personal computer at home.
As explained earlier, the ping utility operates based on ICMP.
It sends ICMP echo request packets from my home computer to the office computer. Here, we can observe two key functions of ICMP at work:
-
It tests the connectivity between my home computer and office computer.
-
It also generates error messages (if a connectivity issue occurs).
I believe my students enjoyed today's tutorial. To pass the CCNA and JNCIA examinations, I recommend you read the following additional resources.
Reference
- https://community.cisco.com/t5/networking-knowledge-base/icmp-internet-control-message-protocol/ta-p/3116636
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/security_guide/sec-managing_icmp_requests
- https://www.juniper.net/documentation/us/en/software/junos/transport-ip/topics/topic-map/icmp.html
- https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/b78f5642-0cb3-4d37-9a71-e08731a5d000
- https://www.keralapsc.gov.in/sites/default/files/2021-02/syllubus.pdf
No comments:
Post a Comment