Home  >  Article  >  What is the protocol used during ping

What is the protocol used during ping

藏色散人
藏色散人Original
2020-11-04 13:45:5533864browse

The protocols used in the ping process are: 1. Through the DNS protocol, the domain name followed by ping is converted into an IP address; 2. Through the ARP resolution service, the MAC address is parsed from the IP address for use in the data link. Road layer transmission.

What is the protocol used during ping

When using ping, the protocol used

When using ping www.xxx.com in the LAN , which protocols are used?

Convert the domain name followed by ping to an IP address through the DNS protocol. (The transport layer protocol used by DNS is UDP)

Through the ARP resolution service, the MAC address is parsed from the IP address for transmission at the data link layer.

Ping is to test whether another host is reachable, send an ICMP echo request to the target host, and wait for the ICMP echo response. (ICMP is used to transmit control information between IP hosts and routers such as whether the network is smooth and whether the host is reachable)

The above is the detailed content of What is the protocol used during ping. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn