Displays all current TCPor IP network configuration values and refreshes Dynamic Host Configuration Protocol DHCP and Domain Name System DNS settings. Used without parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters.
- The ipconfig command is the command-line equivalent to the winipcfg command, which is available in Windows Millennium Edition, Windows 98, and Windows 95. Although Windows XP does not include a graphical equivalent to the winipcfg command, you can use Network Connections to view and renew an IP address. To do this, open Network Connections, right-click a network connection, click Status, and then click the Support tab.
- This command is most useful on computers that are configured to obtain an IP address automatically. This enables users to determine which TCP or IP configuration values have been configured by DHCP, Automatic Private IP Addressing APIPA, or an alternate configuration.
- If the Adapter name contains any spaces, use quotation marks around the adapter name that is, “Adapter Name“.
- For adapter names, ipconfig supports the use of the asterisk * wildcard character to specify either adapters with names that begin with a specified string or adapters with names that contain a specified string. For example, Local* matches all adapters that start with the string Local and *Con* matches all adapters that contain the string Con.
- This command is available only if the Internet Protocol TCP or IPprotocol is installed as a component in the properties of a network adapter in Network Connections