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 professionals can develop their latest data center skills

When there are a plethora of industry certificati...

Sharing of views | IoT data requires sharing protocols

IoT devices generate a lot of data, and even thou...

IT teams abandon DIY SD-WAN for managed hybrid models

When software-defined WAN first emerged, demand f...

Talk about Kerberos kinit command and ccache mechanism

1. Introduction Hello everyone, I recently encoun...

Edge computing expected to thrive post-coronavirus

Before the global outbreak of the coronavirus, ed...

Behind the popularity of blockchain concept, the real value lies here

In the era of Internet big data, people come into...

Summary information: CUBECLOUD/zorocloud/Eurasia Cloud/Bluemi Cloud

Recently, we have received product promotion info...

The 5G era is coming. Will the WiFi you use every day disappear?

When it comes to WiFi, everyone is familiar with ...