O'Reilly logo

Windows Server 2003 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 
| /displaydns | /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 (available only when the computer is configured as a DHCP client)

/displaydns

Displays the contents of the local DNS name cache on the client. When DNS resolves a DNS name into an IP address, the results are temporarily cached.

/flushdns

Flushes the list of locally cached DNS names on the client. Flushing the cache removes these mappings and can be useful when troubleshooting DNS-related problems. Flushing the DNS cache on the client doesn’t 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 reregister its hostname with DNS servers without restarting the client machine. This may also be used with Dynamic DNS.

/showclassid adaptername

Displays all the DHCP class IDs allowed for the adapter. WS2003 ...

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