5. ICMP Flashcards
What is the primary role of ICMP in network communication?
ICMP is used for error reporting and diagnostics, helping maintain and troubleshoot network functionality.
What are ICMP Echo Request and Echo Reply messages used for?
They are used by the ping command to test connectivity and measure round trip time between devices.
What is the purpose of an ICMP Destination Unreachable message?
To notify the sender that a packet could not reach its intended destination due to issues such as unavailable routes or unreachable hosts.
How does the Time Exceeded message in ICMP help prevent packet looping?
It informs the sender that the packet’s TTL (Time-To-Live) has expired, indicating it has been discarded to avoid infinite looping.
What is the significance of ICMP Redirect messages?
Redirect messages inform hosts of a better route to a destination, optimizing routing paths.
Why might ICMP messages be blocked by a firewall?
To prevent potential misuse in network reconnaissance, such as ping sweeps or ICMP flooding in denial-of-service attacks.