Displays the current TCP/IP settings of the local machine.


ipconfig [/all | /release [adaptername] | [/renew [adaptername] | 
flushdns | /registerdns | /showclassid adaptername /setclassid 
adaptername [newclassID] ]



Displays the IP address, subnet mask, and default gateway for each interface on the machine.


Yields verbose output showing additional TCP/IP settings.

/release [ adaptername ]

Releases an IP address acquired using DHCP. On a multihomed machine, specify an adapter name using the name that appears for the adapter when you type ipconfig without parameters.

/renew [ adaptername ]

Requests a new IP address from a DHCP server (only available when the computer is configured as a DHCP client).


Displays the contents of the local DNS name cache on the client (new to Windows 2000). When DNS is used to resolve a DNS name into an IP address, the results are temporarily cached.


Flushes the list of locally cached DNS names on the client (new to Windows 2000). Flushing the cache removes these mappings and can be useful when troubleshooting DNS-related problems. Flushing the DNS cache on the client does not remove mappings that have been preloaded from the local Hosts file. (You must remove these mappings from the Hosts file to do this.)


Causes the client to re-register its hostname with DNS servers without restarting the client machine (new to Windows 2000). This may also be used in conjunction with Dynamic ...

Get Windows 2000 Administration in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.