Did You Know?
ipconfig utility can be used to find the computer's IP address on Windows as well as on Linux/Unix machines.
Whenever you face networking issue, the most common solution is to run a troubleshooting program that will detect and fix the issues. However, most commonly occurring networking problems can be solved by using simple commands like ping, tracert, ipconfig, etc. Here, we have highlighted the networking tools which are vital for a network technician.
The IP address is needed to carry out further troubleshooting commands. If this command returns a 0.0.0.0 default gateway, then you may be experiencing router problems.
You may try the variant of this command, to solve your networking problems. Another extension to this command is ipconfig/flushdns. This clears DNS cache of any unauthorized IP addresses or technical glitches.
One of the most important commands used in networking is ping. This command is used to check the connectivity between the host and destination. The main advantage of using this troubleshooting command is to find out the problem area in the given network.
If you run a ping check from any computer in a network, you will get the status of the router. You will get four replies for your ping query. If you don't get the replies, it indicates problems with your network card or default getaway.
The other advantage of using a ping command is to check the connectivity to any website/Internet. In order to do so, you need to enter the website name after the ping command.
If you receive replies from the website, there is virtually no issue. But if you don't, there are chances that you have a faulty cable, DSL modem, or ISP connection problem. To further narrow down on the root cause of the problem, ping 188.8.131.52. If you get replies but are unable to get replies from the website, there is DNS configuration issues.
This means that each network passes the data to another network until it reaches its destination. However, you may observe asterisks in the hop data. The first asterisk that you come across, represents the network which has problems.
In case there are problems with these addresses, the function of the whole network is hampered. The nslookup command gives a list of IP addresses that are associated with a domain name. If you are unable to get any information regarding the IP address, there are problems with the DNS.
The netstat command returns the list of all hosts connected to the router and also their status (Listening, Established, Closed, Wait, etc.) By knowing this status, you will know the port number (and IP address) of the TCP/UDP connection that is faulty (in closed or wait state).
The most common problem that can found out in the arp table is sharing of same IP address by two systems. Two hosts (one of which is definitely the wrong one) are using the same IP address, and chances of the wrong host responding to the IP are high. This will affect your network.
You need to check if the Ethernet and IP address pairs are correct. For this, you should make a list of each host's Ethernet address. By comparing your list and the table displayed by arp command, you can identify the problem (host) easily.