Home » Networking » Networking Command Line Tools

Networking Command Line Tools

Windows operating system has various in-built command line tools. These are some of the tools network administrators used for troubleshooting and also to retrieve information.

PING

Checks if you can connect to another server / computer
It basically sends a couple of packets that get bounced or echoed off the computer back to your computer. It will then tell you how long it takes in ms (milliseconds)

TRACERT

Shows the user the route a packet takes to get to its destination.
Each server it bounces off to get to its destination is called a hop

 

Read: OSI Model Layers Organization

 

NETSTAT

Shows all current connections using your network connection
To stop it tracking active connections hold on CTRL + C

IPCONFIG

Shows all of your network settings “/all ” is really handy to check if you have an APIPA address or a DHCP address and easy to diagnose the problem with your network configuration.
You can release a DHCP address using ipconfig /release
You can request a new IP from DHCP using ipconfig /renew
When having issues trying to access files / websites / connecting to computers it could be that the hostname is cached in the DNS and the DNS cache has to be refresh by using: ipconfig /flushdns

NET

Allows you to view a network from the command line.
Typing net view will return a list of all the Windows Computers on the network.
If you know the computer name you can type net view followed by the computer name to show the shared folders and files on a computer

NSLOOKUP

Enables you to determine exactly what information the DNS server is giving you about a certain hostname or website URL
To leave this application use CTRL + C or type exit.

Recommend To Read: Some Useful Command Prompt You Must Know

About Alfred Francis Osei

Leave a Reply

Your email address will not be published. Required fields are marked *

*