Home >Common Problem >How to use the ping command to check for network failures

How to use the ping command to check for network failures

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-05-19 16:31:4722926browse

Check method: First enter the dos window and execute the "ping 127.0.0.1" command to check whether the protocol is normal; then execute the "IPCONFIG" command to check the network connection; then execute "ping website address" to check whether it is connected to the Internet; Finally, execute "netsh" to view the local connection properties.

How to use the ping command to check for network failures

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

First use the Ping command to diagnose whether the local TCP/IP protocol is installed normally. The detection method is as follows: press win R to run, then enter the "CMD" command in the run dialog box, and press ENTER to enter the command operation interface , as shown below:

How to use the ping command to check for network failures

Enter ping 127.0.0.1 and press enter to start checking whether the local TCP/IP protocol is installed normally? The result is that it can respond normally. It means that the local TCP/IP network protocol installation is normal

How to use the ping command to check for network failures

# Check the IP address, subnet mask, and default gateway of the local connection and other network links. After entering the command IPCONFIG, Press Enter

How to use the ping command to check for network failures

to check whether the computer is connected to the Internet. Enter: ping www.baidu.com in the command box and press Enter

How to use the ping command to check for network failures

If the above IP address setting is wrong, then enter the command: netsh interface ip set address local connection static 192.168.131.131 255.255.255.0 192.168.131.1

By viewing the local The properties of the connection can be seen and the setting is successful

How to use the ping command to check for network failures

How to use the ping command to check for network failures

For more computer-related knowledge, please visit the FAQ column!

The above is the detailed content of How to use the ping command to check for network failures. 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