![Forrest logo](/images/logo.png)
ipconfig:tldr:23ee2
The "ipconfig" command is used in Windows operating systems to display the IP (Internet Protocol) configuration information for all network interfaces on a computer. It provides information about the IP address, subnet mask, default gateway, and other network-related details.
By running the "ipconfig" command in the Command Prompt or PowerShell, you can quickly view and troubleshoot network connectivity issues. Additionally, it helps in identifying the network settings of a specific network adapter (such as Ethernet, Wi-Fi) and obtaining information related to DNS (Domain Name System) servers.
Here are some commonly used variations of the "ipconfig" command:
- "ipconfig /all": Displays detailed information about all network interfaces, including MAC (Media Access Control) addresses, DHCP (Dynamic Host Configuration Protocol) lease expiration, and more.
- "ipconfig /release": Releases the IP address assigned to a specific adapter.
- "ipconfig /renew": Renews the IP address for a specific adapter, usually requested from a DHCP server.
- "ipconfig /flushdns": Clears the DNS cache, helpful when troubleshooting DNS-related issues.
Overall, the "ipconfig" command is utilized for retrieving a variety of network configuration details and performing basic network troubleshooting tasks in Windows.