8 console commands to configure the network in Windows
Vindovs / / December 19, 2019
Windows Control Panel offers a rather limited list of options for control over the network. If you need access to all the commands that can offer your system, you should start using the command line.
Do not worry if you have never used a command line before. It's pretty simple. We will tell you everything that is necessary in order to proceed with its use. Below you will find some of the most important commands to set up your home network.
1. PING
PING - one of the basic and most useful CMD-command. It displays the communication quality indicates whether your PC to send data on the destination IP-address, and if so, at what rate.
Here is an example command:
The team works on the following principle: it sends a certain number of data packets and determines how many of them came back. If some of them have not returned, she reported the loss. Packet loss leads to poor performance in games and Internet broadcasts. This is a great way to test your internet connection.
By default, the command sends four packets with a time-out for every four seconds. You can increase the number of packets in the following way:
ping www.google.com -n 10
You can also increase the duration of time-out (the value is displayed in milliseconds): ping www.google.com -w 6000
2. TRACERT
Means TRACERT Trace Route. Like PING, the command sends a data packet to solve network problems. However, it does not define the speed and send the return package, and its route.
Example of use:
The command displays a list of all routers through which the data is on the way to the end node. Why do we see three indicators duration for each router? Because TRACERT sends three data packet in case one of the routers will be lost, or for some reason, would require too much time.
3. PATHPING
Team PATHPING similar to the TRACERT, but it is more informative, and therefore requires more time for execution. It analyzes data packets and route determines which intermediate nodes of the loss occurred.
Example of use:
4. IPCONFIG
This command is most often used for debugging network in Windows. And not only in the amount of information it provides, but also in that it is combined with several keys to perform certain commands.
Example of use:
Used without keys IPCONFIG reflects all the network adapters on your computer, as well as how they work. IPv4 Addres and Default Gateway contain the most important information.
To clear the DNS-cache, use the following keys: ipconfig / flushdns
This surgery can help if the internet is working, but you can not get to certain sites or servers.
5. GETMAC
Each compatible with the standards IEEE 802 device has a unique MAC-address (Media Access Control). The manufacturer assigns each unit its own address, which is registered in the device itself.
Example of use:
You can see several MAC-addresses, depending on the number of network adapters installed on your computer. For example, Internet connection Wi-Fi and Ethernet will be selected the MAC-addresses.
6. NSLOOKUP
Means NSLOOKUP Name Server Lookup. The potential of this utility is enormous, but most people do not need it. For ordinary users is important only able to determine the IP-address of a domain name.
Example of use:
Keep in mind that some domains are not tied to a single IP-address, which means that you'll get a different address every time you enter a command. It is quite normal for large sites, because they are loaded with a large number of computers.
If you want to convert IP-address to a domain name, just type it into your browser and you will see where it leads. However, not all IP-addresses are to domain names. Many of them can not be achieved through a web browser.
7. NETSTAT
This utility is a tool for the collection of statistics, analysis and diagnostics. It is quite difficult if you use all its potential (for example, set up a local network of the enterprise).
Example of use:
By default, the command shows all active connections on your system. Active connection does not mean that there is a data exchange. It merely points to the fact that somewhere in the open port, and the device is ready for connection.
The team also has several keys that change the type of information displayed. For instance, the key -r displays the routing table.
8. NETSH
NETSH is Network Shell (Network Shell). This command allows you to customize almost any network adapter on your computer in more detail.
When entering NETSH command line goes into the shell mode. Inside it there are several contexts (routing, DHCP-related commands, diagnostics).
See all contexts as follows:
And to see all the teams in one context can be as follows:
You can dig deeper and see a list of all sub-commands in a single command:
For example, you can enter the following command to see all the network drivers and their performance in your system: netsh wlan show drivers
Please note that if you really want to achieve great success in setting up your network using the command line, you have to learn this command.