Since the beginning of windows, people at Microsoft are focused on a more user-friendly layout that’s why we have settings and control panel. If you want more control or you are an advanced user you should give a try to command prompt (cmd). We have a guide on the basics of a command prompt have a look if you want to get started on command prompt.
In this guide, we will be talking about Networking commands of cmd. These commands can help you with knowing IP addresses, measuring ping and packet losses, route tracing, and about a stable internet connection.
Table of Contents
Ping command is one of the very basic commands but important. By this command, you can test a network connection with a certain site. Ping command not only tells about connection but also how much it takes time to establish a connection. The syntax for this command is type ping and then the website name or IP address.
You can see the ping command will be sent 4 packets and then measure how many it has received. Also, it gives us in how much time this process has taken in this process.
By default, it sends 4 packets but you can change this setting with adding a little option in the command.
ping www.google.com -n 15
You can see setting the value to 15 this will be sent 15 packets so you can have a better idea of your internet connection.
Related: How to use a Ping command.
For traceroute, we use the tracert command. Like ping, tracert also sends a data packet and then tracks the route. It is useful to identify the problem in large networks where many routes are taken to arrive at one point.
Tracert sends three packets to each server. For best use average three times to get more accurate results.
Realted: How to use tracert command.
Path ping is like tracert but it gives more detail. Basically it combines the function of ping and tracert. It will send the packets from your computer to a given destination then it will analyze the information and lastly record the packet loss on a per-hop basis.
This command first traced the route and then analyzed the packet loss of each server.
IP config is a very basic command and it gives detail information about your computer’s online IP addresses, subnet masks, local link addresses.
If you have an internet connectivity problem it will not show the information under the wireless LAN adapter.
It is not a giveaway mac gift but a command in our networking command prompt list. We use this command to get a MAC(media access control) address of our computer which is self-explanatory by looking command name.
Mac address has many useful applications: servers can know what device it is by knowing mac address and data packets are also sends towards mac addresses.
This command is used to look for IP addresses behind certain domains. For big websites that are routed through many servers and do not have any fixed IP. You can know the name by searching for that IP address in the browser but it is normal that many IP addresses will not render any domain name because of security issues.
It is a very powerful command and shows all networks which are connected to your computer. This will show information in the form of established connections, close wait or time wait. But it does not mean established connections are sharing any information, it only means the port is open with that network and ready to share.
This command stands Network shell. It turns command prompt into network shell and gives user a complete control over every network in terms of information than any of previous command.