How to find the causes of various network failures?

How to find the causes of various network failures?

Network outages, freezes, unstable connections, and intermittent connections are common network problems. What are the causes of these problems and how to find them is a headache! Master the application of the following 5 commands, and the causes of all network problems will be clear at a glance.

How to check the local IP address and router address?

[[250490]]

Knowing your computer's IP address and the address of the router is the basis for finding network faults. The following commands are all completed in the system command prompt window. We open the system run menu, or use the shortcut key ctrl+R to call out the run window, and enter cmd, press Enter to enter the command prompt window:

(I) ipconfig

In the command prompt window, enter the command to view IP information: ipconfig and press Enter, as shown below: 192.168.0.107 is the IP address of the local machine; gateway: 192.168.0.1 is the management address of the router.

What to do if the network is not working?

(II) ping command

The ping command is a very practical command that is used to determine whether the local host is connected to the destination address or device, and to infer whether the TCP/IP parameters are set correctly.

If the network is not accessible in this example, first check whether the local machine is communicating with the router normally. Enter the following command in the command prompt:

ping 192.168.0.1. When the number after TIL jumps, it means that there is no problem with the network communication between the computer and the router. If a request timeout prompt appears, it means that there is a problem with the network, which is usually caused by the IP address configuration, router, or network cable link.

What causes high network latency?

(III) tracert network node tracking

When we find that the Internet response is very slow, we don't know which node is the cause, such as router, external line, DNS error, etc., which all cause network delay; for example, if we are slow to access Baidu, we can enter: tracert www.baidu.com in the command prompt window to trace the routing nodes passed through to reach the destination network to find out where the network delay is. As shown in the figure below, we can see that there are problems with three nodes.

(iv) netsh winsock reset (reset network).

I can access QQ, but I cannot browse the web. Why? This problem is usually caused by problems with the network DNS, IP/TCP protocol port. You can enter netsh winsock reset in the command prompt window to restore the network to its initialization state. Restarting the computer can solve the problem of being unable to open the website.

(V) nslookup domain name IP mutual query

Sometimes we know the IP address of a website but not its domain name, or we know the domain name but not the IP address. To convert IP and domain names, we use the nslookup command.

For example, if we want to query the IP address of Sina, we can enter: nslookup www.sina.com.cn and see:

There are bound to be mistakes in the article, and we welcome your corrections!

<<:  What other uses does a wireless router have besides WiFi access?

>>:  In 2018, Donghua Network Intelligence built a powerful IT operation and maintenance engine "comprehensive monitoring + process management" which was popular

Recommend

How often does an Ethernet cable lose signal?

While many of us connect to Wi-Fi to browse the w...

How wireless technology is changing the world

How does wireless charging technology work? Befor...

Talk: It's time to talk about what IPv4 and IPv6 are

On November 25, 2019, the RIPE NCC, which is resp...

I heard that the client will disappear within three years.

[[400044]] This article is reprinted from the WeC...

The unwritten rules in data center operation and maintenance

Data centers are important places for information...

New infrastructure: Should we pursue this biggest “trend” in 2020?

If you want to find a keyword that can dominate t...