- Going to Start >> All Programs >> Accessories >> Command Prompt on Windows Vista/7. According to your settings, in older systems (XP, 2000, etc), you might find “Accessories” directly on “Start”
- Go to Start >> Run and then type cmd in the run dialog and press Enter.
IP Address and Connectivity
- Type the following command to the command-line prompt, replacing google.com with the website you want to get the information for:ping google.com
- Find the IP address of the website (more precisely, the server) on the first line, where it says “Pinging Website_Address_You_Entered [X.X.X.X] with 32 bytes of data:”
- Notice the connectivity between you machine and the server from the line where it says: “Packets: Sent = X, Received = X, Lost = X (X% loss),” where all the Xs will be replaced by numbers. This gives you an idea of how much percent of the packets sent to the server will be lost.
- Type the following command to the command-line prompt, replacing google.com with the website or server you want routing information for:tracert google.com
- Notice the listing of hops along the route path of packets from your machine to the server. This gives you an idea of how many routers/hops the packet has to travel before reaching the server, starting from your machine.
- Use the pathping utility to find information about network latency and network loss at intermediate hops between a source and destination. Pathping sends multiple Echo Request messages to each router between a source and destination over a period of time and then computes results based on the packets returned from each router. Type the following to the command-line prompt:pathping google.com
- Type the following on the command-line prompt, replacing google.com with the website or server you want DNS information for:nslookup google.com
- Find the DNS server (first lines) and the IP addresses of the server you queried about.
- Some of the commands explained above have other options that might be useful for finding out information about your internal network.
- If you’re using these command in a corporate network or a school network, some of these commands might not give you results. Most institutions have firewalls with settings to deny services provided by these tools.