What can you do with the Windows utility Command Prompt? I’m glad that you asked. You can do a lot of things with your command prompt. In this article, I will discuss a little bit about ‘IPCONFIG’. Much like MSCONFIG stands for Microsoft Systems Configuration; ‘IPCONFIG’ stands for Internet Protocol Configuration.
Go to your start menu and type ‘CMD’ into your ‘search programs and files’ search box. CMD is the abbreviation for command prompt. It is in this utility that that we will primarily be working. You can also get to this utility by typing cmd.exe or command.com into your ‘search programs and files’ search box.
Here is an example of what your command prompt window will look like in most Windows Operating Systems. The Operating System that I am using is Windows 7 just for your information. As you see in the example, Type ipconfig to view all of your IP information. From this menu you will be able to see your IPv4 address, IPv6 address, Subnet Mask, and Gateway. This information is useful in trying to troubleshoot network problems. Let’s see another screen shot with my IP information.
Here is a screenshot of my IP information. As I said before you can view IP, Subnet, and Default Gateway information. Your IP address is the internet address that is locally assigned to your computer that identifies your computer on your local network. The Subnet Mask lets you know how many computers are able to connect to your network and class of network you have. Your Default Gateway address is the address that you would need in order to connect out to the internet.
If your computer is getting an IP address and still not accessing the internet maybe running an IPCONFIG command might do the trick. There are three different commands that you can try that are essentially the same as Enabling and Disabling your network adapter.
Useful IPCONFIG Commands
- ipconfig /release
- ipconfig /flushdns
- ipconfig /renew
When running IPCONFIG it is best to run them in the above order. You will need to type in ipconfig /release, then, hit enter. Whenever you see your C:\ appear in the command prompt utility then you can start to type ipconfig /flushdns, then, hitting enter to run the command. Finally, you would need to type in ipconfig /renew in order to renew your IP address. Your IP address would not get renewed if you don’t type in ipconfig /renew.
/release will release your IP address so your machine can be freed up to access another IP address. /flushdns will purge the DNS cache. /renew will renew your IP address to a good IP address.
IPCONFIG is a great utility to resolve network connectivity issues where the internal network controller is at fault. Take this scenario for instance: if you were to type in ipconfig into your command prompt and were to see an IP of 169.254.?.?; then, there is definitely a problem where your integrated controller is not receiving an internet address from the DHCP server. Your DHCP (Dynamic Host Configuration Protocol) is the service that applies an automatic IP address to your computer so it can access the internet without having to configure an address yourself.
If you would like to test your integrated network controller to verify whether or not it is good then you could do so by using a network utility known as PING. If you ping the network address of your controller it should come back timed out, or as a reply. If you receive a reply from that address then it is in use and working. If you get a timed out message then there is definitely an issue with your Network Integrated Controller (NIC).
The NIC’s IP address is 127.0.0.1 and is known as its loopback address. The loopback address is the local address of your NIC. If you want to PING 127.0.0.1 then you will be pinging your own network cared instead of out to the internet. If you want to ping an address somewhere on the internet; then, a good address is 188.8.131.52, which is the address of one of Google’s servers. Google also has an IP address of 184.108.40.206 that you could use to ping another one of their servers.
PING is a great utility to verify whether or not your computer can see and communicate to addresses inside and outside of your network. It is a good sign that your computer is connected and working on the internet if you can ping someone else’s IP address and get a reply back.
I hope that you have enjoyed this article, and where it is there is sure to be more like it. Peace, Love, and Christ ‘cause you know He died for you.