Professional Documents
Culture Documents
All slides are customized by Engr. VernonD. For educational purposes only. inspired by Cisco Networking Academy
IP
• Uses best effort delivery of messages
• No mechanism to ensure that the data is delivered
• Data may fail to reach its destination due to
• Hardware failure - router fails, destination device disconnected
• Improper configuration
• Incorrect routing information
• No mechanism for sending error and control messages
• it uses the ICMP to send and receive error and control messages to hosts on a network
Internet Control Message Protocol (ICMP)
• Notifies the sender that there was an error in the delivery
• Used in network troubleshooting
• Error reporting protocol for IP
• It reports these errors back to the source of the datagram
• ICMP messages are encapsulated into datagrams
• The following is the format of an ICMP message
All slides are customized by Engr. VernonD. For educational purposes only.
Ping Tests Destination Reachability
All slides are customized by Engr. VernonD. For educational purposes only.
• Issues four echo requests
• Receives four echo replies
• Confirming IP connectivity
between the two devices
All slides are customized by Engr. VernonD. For educational purposes only.
Detecting Excessively Long Routes
All slides are customized by Engr. VernonD. For educational purposes only.
ICMP message type
• All ICMP message formats start with these same three fields:
• Type
• Type of ICMP message
• Code
• More information specific to the message type
• Checksum
• To verify the integrity of the data
Identifier and Sequence Number are unique to the echo request / reply messages.
They are used to match the echo replies to the corresponding echo request
All slides are customized by Engr. VernonD. For educational purposes only.
Destination unreachable message
All slides are customized by Engr. VernonD. For educational purposes only.
ICMP redirect/change requests
router advertisement
All slides are customized by Engr. VernonD. For educational purposes only.
Router solicitation message
All slides are customized by Engr. VernonD. For educational purposes only.
Congestion and flow control messages
All slides are customized by Engr. VernonD. For educational purposes only.
Recap
• IP & ICMP
All slides are customized by Engr. VernonD. For educational purposes only.