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.
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!