ipconfig – IP Configuration Command

ipconfig command displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. without parameters ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet mask, and default gateway for all adapters.
To work with these commands open the “cmd” from run or windows surch. Here are some useful commands and their results.

To display the basic TCP/IP configuration for all adapters,
type:ipconfig

Displays Help at the command prompt.
type:ipconfig /?

To display the full TCP/IP configuration for all adapters,
type:ipconfig /all

To Renews DHCP configuration for all adapters (if an adapter is not specified) or for a specific adapter if the adapter parameter is included. This parameter is available only on computers with adapters that are configured to obtain an IP address automatically.
type: ipconfig/renew

To renew a DHCP-assigned IP address configuration for only the Local Area Connection or any specific adapter,
type:ipconfig /renew Local Area Connection

To Sends a DHCP release message to the DHCP server to release the current DHCP configuration and discard the IP address configuration for either all adapters (if an adapter is not specified)
type: ipconfig /release

or for any specific adapter if the adapter parameter is included.
type: ipconfig /release []

To Display the contents of the DNS client resolver cache,
Type:ipconfig /displaydns

To flush the DNS resolver cache when troubleshooting DNS name resolution problems,
type:ipconfig /flushdns

Initiates manual dynamic registration for the DNS names and IP addresses that are configured at a computer.
type: ipconfig /registerdns

To display the DHCP class ID for all adapters with names that start with Local,
type:ipconfig /showclassid Local*

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top