Internet Protocol Configuration (ipconfig) is a Windows console application that has the ability to collect all data regarding the current configuration value of the Transmission Control Protocol / Internet Protocol (TCP / IP) and then display this data on the screen. Ipconfig also refreshes the Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) settings every time it is called. When called without additional parameters, ipconfig only displays the IP address, default gateway, and subnet mask for all available adapters.
Internet Protocol Configuration (ipconfig) is a Windows console application that has the ability to gather all data regarding current Transmission Control Protocol/Internet Protocol (TCP/IP) configuration values and then display this data on a screen. Ipconfig also refreshes the Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) settings each time it is invoked. When invoked without additional parameters, ipconfig simply displays the IP address, default gateway and subnet mask for all available adapters.
How to use ipconfig
From the command prompt, type ipconfig to run the utility with default options. The output of the default command contains the IP address, network mask, and gateway for all physical and virtual
If you want more detailed information about your network connection, type ipconfig /all at the prompt. Here you can get the same information as ipconfig with the addition of your MAC (hardware) address, DNS and DHCP server addresses, IP lease information, etc. If your IP address is 192.168.x.x, 10.x.x.x, or 172.16.x.x, then you are receiving an internal IP address from a router or other device. The IP address that the world sees is that of the router. If you are receiving a 169.254.x.x address, this is a Windows address that generally means your network connection is not working properly.
ipconfig /renew or ipconfig/release
If you are having trouble with your connection, it may be fixed by releasing and renewing your IP address. Type ipconfig /release at the prompt and press enter. Then type ipconfig /renew and press enter again. If your connection is okay, a valid IP address, subnet mask and default gateway will be returned to you after a few seconds.
This option re-establishes TCP/IP connections on all network adapters. As with the release option, ipconfig /renew takes an optional connection name specifier.
Both /renew and /release options only work on clients configured for dynamic (DHCP) addressing.