IPCONFIG Diagnostic Utility: Parameters and Usage (117662)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 4.0

This article was previously published under Q117662

SUMMARY

IPCONFIG.EXE is a new utility included with Windows. The purpose of this utility is to provide the user with diagnostic information related to TCP/IP network configuration. IPCONFIG also accepts various Dynamic Host Configuration Protocol (DHCP) commands, allowing a system to update or release its TCP/IP network configuration.

MORE INFORMATION

Example:

IPCONFIG [/? | /all | /release [adapter] | /renew [adapter]]

/?: Displays this help message.
/all: Displays full configuration information.
/release: Releases the IP address for the specified adapter.
/renew: Renews the IP address for the specified adapter.

With no parameters, IPCONFIG will display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

With the /all switch, IPCONFIG will display all the current TCP/IP configuration values including the IP address, subnet mask, default gateway and Windows Internet Naming Service (WINS) and DNS configuration.

If adapter name is not specified with either the /Release or /Renew switch, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

NOTE: The /Release and /Renew switches can only be used on a system that is configured with DHCP.

Modification Type:MajorLast Reviewed:5/6/2003
Keywords:kbnetwork KB117662