Command Prompt is a Windows feature, it’s such a feature with which we can use our PC without mouse or any external device. I mean anything or whatever we need like creating file, editing, deleting, moving, copying , opening any software , closing anything ,uninstalling anything and many more all these can be performed with the help of CMD . There are specific commands to do all the above things. Since all the commands need to be remembered to do those things so we generally avoid CMD to do those small jobs. Instead we use Mouse or touch pad. Besides all these CMD helps to solve different problems like removing shortcut virus, troubleshooting network connections, to know the properties of your PC and many things.
Here we will see few Best network CMD commands which helps you to solve your network connection problems.
Network CMD Commands
1. ipconfig
This command gives you the details of your Ethernet, WLAN (Wi-fi ) connection details like IP(Internet Protocol) address , DNS(Domain Name System ) and other information of your connections.
Ipconfig /all
This cmd code gives the complete details including adapter , BIOS , MAC address , auto configuration, DHCP( Dynamic Host Configuration Protocol) and all the details shown when ‘ipconfig’ was used.
Ipconfig /renew
Using this cmd code will renew all your IP addresses that you are currently (leasing) borrowing from the DHCP server. This command is a quick problem solver if you are having connection issues, but does not work if you have been configured with a static IP address.
Ipconfig /release
This cmd command allows you to drop the IP lease from the DHCP( Dynamic Host Configuration Protocol ) server.
Ipconfig /flushdns
This command is only needed if you’re having trouble with your networks DNS configuration. The best time to use this code is after network configuration frustration sets in, and you really need the computer to reply with flushed.
2. nslookup
Nslookup is used for diagnosing DNS problems. If you can access a resource by specifying an IP address but not it’s DNS you have a DNS problem.
3. ping
Ping is the most basic TCP/IP(Transmission Control Protocol) command, and it’s the same as placing a phone call to your best friend. You pick up your telephone and dial a number, expecting your best friend to reply with “Hello” on the other end. Computers make phone calls to each other over a network by using a Ping command. The Ping commands main purpose is to place a phone call to another computer on the network, and request an answer. Ping has 2 options it can use to place a phone call to another computer on the network. It can use the computers name or IP address.
4. netstat
Netstat displays a variety of statistics about a computers active TCP/IP Connections. This tool is most useful when you’re having trouble with TCP/IP applications such as HTTP, and FTP.
5. net view
This cmd command helps you know the devices connected to the same network to which your PC is connected. It shows the names of the devices connected to the same network.
6. arp –a
Arp –a shows the devices connected to the same network with their IP address and Mac address
7. hostname
This is the simple trick to know the Name of your PC which is visible to other Computers which are connected to the same network .
These are the CMD codes to be used as per your problem. Generally I have seen most people asking for the problem of “Limited” internet access. To solve this problem, you should first check your IP address. Choose unique last three digits of your Router ip address (Each device will have unique IP address).
After choosing IP address go for DNS now. To get default DNS of your network use ‘ipconfig /all’ command in default mode (IP and DNS will be automatically obtained) and note down the DNS. After changing the IP address use the same default DNS which you have noted or you can use Google DNS 8.8.8.8 , 8.8.4.4 which ever gets connected use that. In this way you can get out of “Limited Internet access” problem.
I hope these CMD commands are more than enough to solve any kind of network connection Problem.
If you have any doubts feel free to comment. If you like this share it …