Tools & Commands · Linux and Windows Commands
ipconfig
Addressing · Beginner
A Windows command that shows a computer's addresses, masks, and gateways. The /all form adds hardware addresses, the configuration server, and name servers.
Use it when a Windows PC has the wrong office network settings. If you see a 169.254 address, the PC gave up on leasing a normal address.
Example: ipconfig /all prints the wireless adapter's address, the 255.255.255.0 mask, the gateway, and the name servers.
Command
Platform: Windows
ipconfig /all
Read the adapter that is actually connected. IPv4 Address, Subnet Mask, and Default Gateway belong together. A 169.254 address means automatic configuration failed.
Common misconception
- This command is Windows-specific. Linux and macOS use different utilities for the same information.