哪些协议用于PING? [英] Which Protocols are used for PING?

查看:245
本文介绍了哪些协议用于PING?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我知道这个问题的答案是ICMP-我所有的教科书都这么说,互联网也这么说,每个人都这么说...除了我的助教.因此,TA ping不仅与ICMP一起使用,而且与IP,arp等一起使用.那么... ping使用哪些协议?除了ICMP吗?

Okay, I know that the answer to this question is ICMP - all my textbooks are saying so, the Internet is saying so, everyone is saying so... except for my TA. According to this TA ping is used not only with ICMP, but also IP, arp, and some other. So... which are the protocols used for ping? Other than ICMP?

推荐答案

ICMP表示Internet控制消息协议,并且始终与IP协议耦合(有2个ICMP变体,一个用于IPv4,一个用于IPv6.)

ICMP means Internet Control Message Protocol and is always coupled with the IP protocol (There's 2 ICMP variants one for IPv4 and one for IPv6.)

回声请求和回声响应是用于实现 ping的ICMP的两个操作代码. .

echo request and echo response are the two operation codes of ICMP used to implement ping.

除了原始的ping程序外,ping可能仅表示检查远程节点是否响应的动作,这可以在协议栈的多个层上完成-例如 ARP ping 用于测试本地网络上的主机.术语ping也可以在更高的协议层和API上使用,例如按数据库层协议完成的检查数据库是否正常的操作.

Besides the original ping program, ping might simply mean the action of checking if a remote node is responding, this might be done on several layers in a protocol stack - e.g. ARP ping for testing hosts on a local network. The term ping might be used on higher protocol layers and APIs as well, e.g. the act of checking if a database is up, done at the database layer protocol.

ICMP位于IP之上.下面的内容取决于您所使用的网络,而与ping操作本身无关.

ICMP sits on top of IP. What you have below depends on the network you're on, and are not in themselves relevant to the operation of ping.

这篇关于哪些协议用于PING?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆