Professional Documents
Culture Documents
Mechanism (ICMP)
BY DR NTALASHA
Best effort semantics and error detection
The ping program is one of the most commonly used utilities for
network management on a network.
The ping program is used to test and see if a given destination can
be reached.
Ping uses ICMP echo request and echo reply messages.
When invoked, ping sends an IP datagram that contains an ICMP
echo request message to the specified destination. After sending the
request, it waits a short time for the reply.
If no reply arrives, ping retransmits the request.
If no reply arrives for the retransmissions (or if an ICMP destination
unreachable message arrives), ping declares that the remote
machine is not reachable.
ICMP software on a remote machine replies to the echo request
message. According to the protocol, whenever an echo request
arrives, the ICMP software must send an echo reply.
Using ICMP to trace a route