• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 4. Windows XP Applications and Tools > Windows IP Configuration

Windows IP Configuration \windows\system32\ipconfig.exe

Display the current IP address(es) of the active connection(s).

To Open

Command Prompt ipconfig


ipconfig [/command] [adapter]


The Windows IP Configuration tool, used without any options, displays your computer’s current IP address, subnet mask, and default gateway. Knowing your computer’s IP address is important for many reasons, such as allowing other users to connect to you using Remote Desktop Connection or calling you with Microsoft NetMeeting.

Windows IP Configuration takes the following parameters:


Used with some of the commands listed below, adapter specifies the name of a network connection (see “Network Connections”, earlier in this chapter) on which to act. Adapter can contain wildcards, such as *. Omit adapter (if allowed) to act on the default connection.


Displays all available configuration information.

/release [ adapter ]

Releases the IP address(es) for the specified connection, effectively disconnecting that connection from all network communication. Use /renew to re-establish communication.

/renew [ adapter ]

Renews the IP address for the specified adapter, effectively reestablishing communication for the connection.


Purges the DNS Resolver cache. See “NSLookup”, discussed earlier in this chapter, for details. See see /displaydns to show the contents of the DNS cache.


Refreshes all DHCP leases and reregisters DNS names


Displays the contents of the DNS Resolver Cache (see /flushdns).

/showclassid adapter

Displays all the DHCP class IDs allowed for adapter.

/setclassid adapter [ classid ]

Modifies the DHCP class id for adapter.


  • The IP address of any given network connection is also shown in the connection’s Status window, viewed by double-clicking the connection in the Network Connections window. See “Network Connections”, earlier in this chapter, for details.

  • Figure 4-1, at the beginning of this chapter, shows an example of how the Windows IP Configuration utility is used in the Command Prompt window.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint