AfterAcademy Tech
•
29 Feb 2020

When you are not connected to the internet and search for any website then you get an error message like destination unreachable or time limit exceeded etc. These messages are displayed through the ICMP protocol. The IP protocol does not have any mechanism for error reporting and sending query messages. This problem is resolved by the ICMP protocol.
Online streaming of videos and games generally uses the IGMP protocol for more efficient use of the resources. In this blog, we will learn about these two protocols of the TCP/IP. So, let's get started.
ICMP or Internet Control Message Protocol is one of the major protocols of the TCP/IP. ICMP is a mechanism used by the host, routers, and gateways to send error messages back to the sender. As the IP does not provide any mechanism for error reporting and control, ICMP has been designed to compensate for these deficiencies of the IP. However, it only reports the error and doesn't correct the error.
The ICMP messages are divided into two categories:
The error messages report the problems which may be faced by the hosts or routers when they process the IP packet.
The ICMP protocol can diagnose some network problems also. Query messages help the hosts to get some specific information from a router or another host.
Let's say you want to check the connectivity between your computer and the Google server. You can do this by writing the command “ping www.google.com” in the command line.

When the ping command is invoked then the ICMP echo request message is sent to the target host(google, here). If the target is connected to the network and operational then it sends an echo reply message as an acknowledgement.
IGMP is also a protocol of the TCP/IP. Internet Group Message Protocol is an Internet protocol that manages multicast group membership on IP networks. Multicast routers are used to send the packets to all the hosts that are having the membership of a particular group. These routers receive many packets that are to be transmitted to various groups and they just can't broadcast it as it will increase the load on the network.
So to overcome this problem a list of groups and their members is maintained and IGMP helps the multicast router in doing so. The multicast router has a list of the multicast address for which there are any members in the network. There is a multicast router for each group that distributes the multicast traffic of the group to the members of that group.
This is was a brief overview of ICMP and IGMP protocols. Hope you learned something new today.
Do share this blog with your friends to spread the knowledge. Visit our YouTube channel for more content. You can read more blogs from here.
Keep Learning 🙂
Team AfterAcademy!!
AfterAcademy Tech
In this blog, we will learn about Protocols. We will also learn about the types, key elements, and functionalities of protocols used in computer network and data communication.

AfterAcademy Tech
In this blog, we will learn one of the flow control method i.e Stop and Wait Protocol. We will discuss various situations that can occur while transmitting the data. We will also mathematically derive the efficiency and the throughput of this protocol.

AfterAcademy Tech
In this blog, we will learn about what is RIP and how does it work. We will also discuss what are versions of RIP and various RIP timers. In last will see the advantages and disadvantages of this protocol.

AfterAcademy Tech
In this blog, we will learn what is Address Resolution Protocol and how it helps in communication between two devices. We will also discuss what are the problems that can arise while using this protocol and see sample examples of ARP packets which are captured.
