Network troubleshooting using ping , tracert , ipconfig, nsloopup, pingpath
C:\windows \system32 > ipconfig
C:\windows \system32 > ipconfig /all
IPConfig: The IPconfig command displays all current TCP/IP network configuration values. It gives you basic information to get your IP address , your router’s IP address , DNS server IP address, DHCP server IP address.
C:\windows \system32 > ping
C:\windows \system32 > ping google.com
Ping : Allow you to send a signal to another device on the network to see if it is active.
it works uses the ICMP (Internal control message protocol) to send out an “echo request” to the destination device , and gets back an “echo response” if the device you are trying to reach in fact active.
C:\windows \system32 > tracert google.com
Tracert : Tracert let’s you see , the step by step route a packet takes to the destination you specify.
so, If you send a packet to google.com , before the packet actually reaches google.com servers. It will go through many different routers before it finally reaches google.com
you can also use the term HOPS instead of routers. so , if it takes 10 routers to get to google.com , you can instead say ” It took 10 hops”
C:\windows \system32 > nslookup google.com
NetLookUp: This command will fetch the DNS records for a given domain name or IP address . Remember , The IP address and Domain names are stored in DNS servers. so the NSLOOKUP command lets you quarry the DNS records to gather information.
C:\windows \system32 > pathping google.com
The pathping command is a route tracing tool that combines features of the ping and tracert commands with additional information that neither of those tools provides. The pathping command sends packets to each router on the way to a final destination over a period of time, and then computes results based on the packets returned from each hop. Since the command shows the degree of packet loss at any given router or link, it is easy to determine which routers or links might be causing network problems.
When pathping is run, you first see the results for the route as it is tested for problems. This is the same path that is shown by the tracert command. The pathping command then displays a busy message for the next 125 seconds (this time varies by the hop count). During this time, pathping gathers information from all the routers previously listed and from the links between them. At the end of this period, it displays the test results.
In addition : for Security checking of PC you can use these command
start -> cmd
C:\ netstat \?
C:\ netstat -ano