Home / Networking Commands / ipconfig

ipconfig

IP Configuration Utility

What Does It Do?

The ipconfig command shows your computer's IP address and network settings. Think of it like checking your home address and phone number for your computer on the network.

It displays important information like your IP address, subnet mask, default gateway (your router), and DNS servers. This is usually the first command you run when troubleshooting network problems.

Advertisement

[ Insert Google AdSense Banner Code Here ]

When Should I Use It?

Check Your IP Address

Find out your computer's IP address on the network.

Troubleshoot Connection Issues

Verify your network settings when you can't connect to the internet.

Renew IP Address

Get a fresh IP address from your router (DHCP).

View Network Adapters

See all network connections (Wi-Fi, Ethernet, VPN).

Common Commands

ipconfig

Displays basic network configuration for all adapters.

ipconfig /all

Shows detailed information including MAC address, DHCP server, and DNS servers.

ipconfig /release

Releases your current IP address back to the DHCP server.

ipconfig /renew

Requests a new IP address from the DHCP server.

ipconfig /flushdns

Clears the DNS cache to fix website resolution issues.

Try It Yourself

Practice ipconfig commands in the interactive terminal below: