- ping 127.0.0.1 – This is a unique ping and is called an internal loopback test. It is used to verify the TCP/IP network configuration.
- ping IP address of host computer – A ping to a host PC verifies the TCP/IP address configuration for the local host and connectivity to the host.
- ping default-gateway IP address – A ping to the default gateway indicates if the router that connects the local network to other networks can be reached.
- ping remote destination IP address – A ping to a remote destination verifies connectivity to a remote host.
Testing connectivity with ping
原创
©著作权归作者所有:来自51CTO博客作者weiqijun的原创作品,请联系作者获取转载授权,否则将追究法律责任
Ping is a basic program that verifies a particular IP address exists and can accept requests. The computer acronym ping stands for Packet Internet or Inter-Network Groper. The name was contrived to match the submariners' term for the sound of a returned sonar pulse from an underwater object.
The ping command works by sending special Internet Protocol (IP) packets, called Internet Control Message Protocol (ICMP) Echo Request datagrams, to a specified destination. Each packet sent is a request for a reply. The output response for a ping contains the success ratio and round-trip time to the destination.
From this information, it is possible to determine if there is connectivity to a destination. The ping command is used to test the NIC transmit and receive function, the TCP/IP configuration, and network connectivity. The following types of ping commands can be issued:
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
testing
testing
testing -
SpringBoot Testing
前面我们对Mockito的用法有了一个了解
spring boot java mybatis 后端 spring -
ConConcurrentQueue Testing
concurrent queue testing
#define #include #endif -
Testing the waters
Testing the waters.
职场 休闲 waters -
[Angular Unit Testing] Testing Component methods
component:
sed i++ Angular