TCP/IP basic ICMP protocol (1)

Source: Internet
Author: User
Tags ping and traceroute

In the entire TCP/IP protocol family, ICMP is a negligible protocol for "users. The prerequisite for the previous agreement to make full use of its work is: "if everything is okay ".
However, in today's complex network environment, the aforementioned conditions may not be guaranteed: the configuration may be incorrect, the line may be disconnected, the device may be down, the router may be overloaded ,.... and so on. Therefore, we must have a mechanism to detect or notify various possible situations, which is the purpose of the ICMP protocol.
ICMP is most likely to be ignored because, in most cases, ICMP is only used for reference by the underlying network devices and is resolved. I'm afraid there are not many tools that really need to be executed by a labor-consuming user. The most representative tools are ping and traceroute. Let's unveil the secret of ICMP together...
ICMP protocol content
The full name of ICMP is Internet Control Message Protocol. From the technical perspective, ICMP is a "error detection and return mechanism", which enables us to detect the connection status of the network and ensure the accuracy of the connection. Its main functions include ﹕
· Detect whether a remote host exists.
· Establish and maintain route data.
· Re-import the data transfer path.
· Data traffic control.
ICMP allows machines to identify different connection conditions through different types and codes. Common categories are listed in the following table ﹕

ICMP is a very useful protocol, especially when we need to judge the network connection status. Next let's take a look at the commonly used ICMP instances to better understand the functions and functions of ICMP.
PING
Many people have used this command. It is the simplest tool to test whether two hosts can be connected smoothly ﹕


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.