Which Protocols are used for PING?

后端 未结 5 929
走了就别回头了
走了就别回头了 2021-02-01 14:35

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 T

相关标签:
5条回答
  • 2021-02-01 14:55

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

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

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

    0 讨论(0)
  • 2021-02-01 14:57

    Internet Control Message Protocol

    http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol

    ICMP is built on top of a bunch of other protocols, so in that sense your TA is correct. However, ping itself is ICMP.

    0 讨论(0)
  • 2021-02-01 15:00

    Netscantools Pro Ping can do ICMP, UDP, and TCP.

    0 讨论(0)
  • 2021-02-01 15:07

    Ping can be used with a variety of protocols. The protocol value can be appletalk, clns, ip (the default), novell, apollo, vines, decnet, or xns. Some protocols require another Cisco router at the remote end to answer ping packets. ... (Cisco field manual: router configuration, By Dave Hucaby, Steve McQuerry. Page 64)

    ... For IP. ping uses ICMP type 8 requests and ICMP type 0 replies. The traceroute (by using UDP) command can be used to discover the routers along the path that packets are taking to a destination. ... (Page 63)

    0 讨论(0)
  • 2021-02-01 15:16

    The usual command line ping tool uses ICMP Echo, but it's true that other protocols can also be used, and they're useful in debugging different kinds of network problems.

    I can remember at least arping (for testing ARP requests) and tcping (which tries to establish a TCP connection and immediately closes it, it can be used to check if traffic reaches a certain port on a host) off the top of my head, but I'm sure there are others aswell.

    0 讨论(0)
提交回复
热议问题