O'Reilly logo

Windows 2000 Administration in a Nutshell by Mitch Tulloch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ipconfig

Synopsis

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

Syntax

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

Options

none

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

/all

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).

/displaydns

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.

/flushdns

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.)

/registerdns

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required