What is the purpose of the following ICMP message types ICMP
What is the purpose of the following ICMP message types: ICMP Redirect, ICMP Time Exceeded, and ICMP Parameter Problem?
Solution
ICMP redirect type of error message:
ICMP stands for Internet Control Message Protocol.
ICMP Redirect
Explanation:
The message “redirect” informs the host to send the subsequent data grams or packets to the next router to reach destined receiver to which the host is sending messages.
In simple words, a Host sends a message that configured to default router,R1 that will enable to find the receiver IP address on the router,R1.
After verification of routing table, the router sends a “redirects” the data gram packets to the next router, R2 for the receiver IP address.
ICMP Time Exceeded
Explanation:
When a message is sent over a network revolves around the network until it found the destination IP. The TTL(Time to Live) is set to IP data gram to not turn in the network infinitely but until some limited time.
ICMP Parameter Problem
Explanation:
The data gram packet contains an error in header section that IP address or default router might be discarded.
| ICMP Redirect | Explanation: The message “redirect” informs the host to send the subsequent data grams or packets to the next router to reach destined receiver to which the host is sending messages. | 

