ipconfig – windows networking command explained

ipconfig – windows networking command explained

IP Configuration command line Tool for windows (ipconfig)

Earlier versions of windows had “winipcfg” tool for performing ip configuration activities. “winipcfg” was replaced by “ipconfig” windows IP configuration tool from windows XP onwards. It is used to display the TCP/IP network configuration values.

To┬árun it, enter “ipconfig” in the command prompt. This will display your IP address as follows:

In case your computer is part of a LAN using a router, the IP displayed by this command will be your Computers IP on the LAN and not the IP that connects to teh internrt. To obtain the IP address of your LAN on internet, you can try any DSL Reports whois.

The IP given is the local address on the network. This information can be used in diagnosing network problems. The “gateway” or router address on the local network is also displayed by this command.

Various switches that can be used with IPConfig

ipconfig switches can be invoked by entering “ipconfig /{switch}”. To display a list of all available switches, enter “ipconfig/?” or “ipconfig -?”. The most commonly used switches by a home user are :

  • all – to display a detailed ip configuration you can use ipconfig/all
  • release- to release your IP address.
  • renew – asking your network adapter to renew your machine’s ip address
  • flushdns- this switch is used to clear all DNS info

The above mentioned switches are very handy for trouble shooting your internet connection issues.


About the author

Imroz Baig wrote 95 articles for Techstarz.

He is one of the founder members of Techstarz. He holds an engineering degree in computer science and an mba in systems. Imroz is based in mumbai and works for a privately owned software development firm. He blogs at techstarz and his personal blog at imrozbaig.com

You can leave a response, or trackback from your own site.

Leave a Reply

What is 14 + 9 ?
Please leave these two fields as-is:
Please answer the simple math question to post comment. This is to avoid spams.
Copyright © Techstarz.com. All rights reserved.