Windows IP Configuration | \windows\system32\ipconfig.exe |
The Windows IP Configuration tool, used without any options, displays your computer's current IP address, subnet mask, and default gateway. This information can also be viewed by double-clicking a connection in the Network Connections window.
Windows IP Configuration takes the following parameters:
ipconfig [/ command ] [ adapter ]
Command | Description |
---|---|
/all | Displays all available configuration information. |
/release [ adapter ] | Releases the IP address(es) for the specified connection, disconnecting it from all network communication. See /renew. |
/renew [ adapter ] | Reestablishes communication for the connection. |
/flushdns | Purges the DNS cache. See NSLookup, earlier in this chapter. See see /displaydns to show the DNS cache. |
/registerdns | Refreshes all DHCP leases and reregisters DNS names |
/displaydns | 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 . |