Viewing Settings With Ipconfig
Read a device's address, gateway, and DNS from the command line.
What Ipconfig Shows
ipconfig (Windows) and ifconfig or ip (Linux/macOS) display a device's current network settings: its IP address, subnet mask, default gateway, and more. When you need to know how a machine is configured right now, this is the tool. Confirming the local settings is one of the first checks in almost any connectivity problem.
ipconfigThe Core Four
The essentials ipconfig reports are the IP address, the subnet mask, the default gateway, and (with /all) the DNS servers. Together these four define how the device communicates. A missing or wrong value in any of them, like a blank gateway, immediately explains many "no internet" complaints.
All lessons in this course
- Testing Reachability With Ping
- Mapping the Path With Traceroute
- Viewing Settings With Ipconfig
- Querying DNS With Nslookup