Using the Ipconfig Diagnostic Utility for Network Connections.
The following commands are run from
Command Prompt to determin or rule out/in network/internet issues.
Each command starts with
ipconfig.
Each command would be written:
Example:
ipconfig /all (ipconfig
space /all.
The most common commands we use are as follows: ipconfig Show information
ipconfig /all Show detailed information
ipconfig /renew Renew all adapters
ipconfig /renew EL* Renew any connection whose name starts EL
ipconfig /release *Con* Release all matching connections.Example:
Local Area Connection 1 or
Local Area Connection2 Note: That the
/Release and
/Renew options can be used only if the system is configured with
DHCP.
/? 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
/flushdns Purges the DNS Resolver cache
/registerdns Refreshes all DHCP leases and reregisters DNS names
/displaydns Displays the contents of the DNS Resolver Cache
/showclassid Displays all the DHCP ClassIds allowed for the specified adapter
/setclassid Modifies the DHCP ClassId
Notes:
The adapter connection name can use wildcard characters (
* and
?).
The default (with no parameters specified) is to display only the
IP address,
subnet mask, and
default gateway for each adapter that is bound to
TCP/IP.
For
/all,
Ipconfig displays all of the current
TCP/IP configuration values, including the
IP address,
subnet mask,
default gateway, and Windows Internet Naming Service (WINS) and
DNS configuration.
For
/release and
/renew, if no adapter name is specified, the
IP address leases for all adapters that are bound to
TCP/IP are released or renewed.
For
/setclassid, if no ClassId is specified, the ClassId is removed.