0
0
Computer Networksknowledge~5 mins

ICMP and ping/traceroute in Computer Networks - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does ICMP stand for and what is its main purpose?
ICMP stands for Internet Control Message Protocol. Its main purpose is to send error messages and operational information indicating success or failure when communicating with another IP address.
Click to reveal answer
beginner
What is the function of the ping command?
The ping command uses ICMP to check if a device on a network is reachable. It sends a small message called an 'echo request' and waits for an 'echo reply' to confirm the device is online.
Click to reveal answer
intermediate
How does traceroute help in network troubleshooting?
Traceroute shows the path data takes from your computer to a destination by sending packets with increasing 'time to live' (TTL) values. It helps identify where delays or failures occur along the route.
Click to reveal answer
beginner
What type of ICMP message does ping send and expect to receive?
Ping sends an ICMP Echo Request message and expects to receive an ICMP Echo Reply message in response.
Click to reveal answer
intermediate
Why might a traceroute show an asterisk (*) instead of a response?
An asterisk (*) means the request timed out. This can happen if a router along the path does not send back an ICMP Time Exceeded message, often due to firewall rules or network policies blocking ICMP.
Click to reveal answer
What protocol does the ping command use to check connectivity?
AICMP
BTCP
CUDP
DHTTP
What does traceroute primarily measure?
AThe number of devices connected to your network
BThe bandwidth of your internet connection
CThe IP address of your device
DThe path and delay between your device and a destination
What does an ICMP Echo Reply indicate?
AThe destination device is offline
BThe destination device is reachable
CThe packet was lost
DThe network is congested
Why might a ping fail even if the device is online?
AThe device has no IP address
BThe device is turned off
CICMP packets are blocked by a firewall
DThe network cable is unplugged
What does the 'time to live' (TTL) value do in traceroute?
ALimits how many hops a packet can take before being discarded
BMeasures the speed of the network
CIdentifies the destination IP address
DEncrypts the packet data
Explain how the ping command works and what information it provides about a network.
Think about sending a message and waiting for a reply to check if a device is online.
You got /4 concepts.
    Describe the purpose of traceroute and how it helps identify network problems.
    Consider how traceroute shows each step data takes to reach a destination.
    You got /4 concepts.