Published Knowledge
Inspect Windows Network Configuration with ipconfig
Reviewed knowledge
This article has been approved for use in Gnojo.
Overview
The ipconfig command displays Windows TCP/IP configuration. It can show addresses, subnet masks, default gateways, DNS servers, and DHCP details that help diagnose connectivity problems. Its release, renew, and flush options change network state and should be used only when the symptom justifies them.
Troubleshooting Checklist
- Open Command Prompt. Standard access is sufficient for the read-only display commands.
- Run ipconfig to get a quick overview of network adapters.
- Run ipconfig /all for detailed configuration information.
- Identify the IP address, subnet mask, and default gateway for your active adapter.
- Note the DNS server addresses being used.
- Use ipconfig /release followed by ipconfig /renew only for an adapter that receives its address through DHCP. This temporarily interrupts that adapter's connection, so do not use it during a remote support session without a recovery plan.
- Use ipconfig /flushdns only when stale DNS cache information is a plausible cause of a name-resolution problem.
Common Indicators
- Cannot access websites or network resources.
- Limited or no connectivity status in Windows.
- Unable to ping other devices on the local network or the internet.
- Slow internet browsing or network access.
- Trouble connecting to shared folders or network printers.
- Error messages related to IP address conflicts or DNS resolution failures.
Commands
ipconfig
Displays the current TCP/IP network configuration for all active network adapters, including IP address, subnet mask, and default gateway.
ipconfig /all
Provides a comprehensive display of TCP/IP configuration for all network adapters, including physical (MAC) address, DHCP server, DNS servers, and lease information.
ipconfig /release
Releases a DHCP-assigned IPv4 address for the specified adapter. This interrupts that adapter's connection until an address is renewed.
ipconfig /renew
Renews DHCP configuration for the specified adapter. It is commonly used after ipconfig /release when diagnosing DHCP address assignment.
ipconfig /flushdns
Clears the DNS resolver cache. This is useful when troubleshooting DNS name resolution problems, as it forces the system to re-query DNS servers for hostnames.
Related Topics
Knowledge Check
Which 'ipconfig' command provides the most detailed information about all network adapters, including physical address and DHCP server details?
- ipconfig
- ipconfig /release
- ipconfig /all
- ipconfig /flushdns
Continue Learning
Explore related Gnojo articles that build on this topic.
Related Commands
Commands demonstrated or referenced in this article.
Command Prompt
Beginner
ipconfig
Displays TCP/IP configuration details for Windows network adapters.
View Command
PowerShell
Beginner
Get-NetIPConfiguration
Shows active interfaces with IP addresses, default gateways, and DNS servers.
View Command
Official Sources and References
Continue Learning
Explore related Gnojo articles that build on this topic.
Related Commands
Commands demonstrated or referenced in this article.
ipconfig
Displays TCP/IP configuration details for Windows network adapters.
View CommandGet-NetIPConfiguration
Shows active interfaces with IP addresses, default gateways, and DNS servers.
View Commandipconfig
External technical reference
Article Details
- Article ID
- inspect-windows-network-ipconfig
- Schema version
- 1.0
- Review status
- approved
- Reviewed by
- Codex Runtime Verification
- Reviewed at
- 2026-08-08T22:22:12.040703+00:00