Ipconfig to display the network settings currently assigned and given by a network. So it displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol DHCP and Domain Name System DNS settings. This command can be utilized to verify a network connection as well as to verify network settings.
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 network adapters.
However ipconfig' supports several command line option. Here are few,
Here in this case it shows the same IP addressing information for each adapter as the default option. But this will display DNS and WINS settings for each adapter.
Here it terminates any active TCP/IP connections on all network adapters and releases those IP addresses for use by other applications.
This can be use to re-establishes TCP/IP connections on all network adapters. However both /renew and /release options only work on clients configured for dynamic (DHCP) addressing.