Basic Helpful Networking commands for Windows

If you have been using Windows you must have experienced (some time or the other) typing networking commands on the command line. These commands help us in performing some networking operations and there exists so many that it is beyond the scope of this article.

One of our readers also wanted to know about the basic but useful networking Windows commands that can be used on command line, so here are the most common but useful ones.
Ipconfig (Windows IP Configuration)
Used to get the TCP/IP config values, this command is used as a replacement to the Winipcfg which was used earlier in the Windows 98 etc. The command also displays your IP address if you are connected to internet.

This command can be used with several other switches, the list of which can be obtained if you type ipconfig /? in the cmd. Out of the list of switches that you see, the /all switch is the one that lists out full configuration values. Read more here.

Ping
Ping is a simple command to test the quality of the network connection between a host and the server. This command sends some information to the designated server and waits for its response which determines how strong the connection is.
You can either ping websites directly like “ping techsalsa.com” or some ip address. Read more here.

Tracert
If you know, the data from Internet does not travel in straight path instead it hops from certain nodes or computers to other computers. Now a system may be bad in between, affecting the internet connection, which can be found by using this Tracert command as tracert google.com.

Pathping
Another command somewhat similar to both tracert and ping as this will first list the number of hops between host and the server and then ping every router in between waiting for the response to conclude the connection type. For switches type “pathping /?” in the cmd.

Net
Used to start, stop or view some network operations. It is used with switches the list of which can be obtained as “net ?”.

hostname
Displays the Microsoft networking computer name.

Netsh
Provides access to some other networking commands, the use of which can be found here.

Route
Used to manipulate TCP/IP routing information.

Netstat
Returns current tcp/ip connection and protocol statistics

Finger
Find info about the user

Getmac
Used to get the MAC address of the system connected to the network, available in Win7, vista and XP.

There are many other commands too but these are the basic and the most useful ones. Other commands you can add below as a comment.

http://compnetworking.about.com/od/workingwithipaddresses/a/ipconfig.htm

Leave a Reply