Terminal Dojo
Help العربية Sign inGet started

Command library / ipconfig

ipconfig

CMDDraft — pending expert review4 practice missions

Show or manage Windows network configuration

Prints this Windows host's IP configuration. Plain ipconfig gives a short summary; /all adds MAC addresses, DHCP and DNS server details. It can also fix stale network state: /flushdns clears the local DNS cache, and /release plus /renew forces a fresh DHCP lease.

Practice ipconfig

Usage

ipconfig [/all | /flushdns | /release | /renew]

Options and flags

Examples

Common mistakes

ipconfig -all ipconfig /all

cmd switches use a forward slash, not a dash — that's a Unix habit leaking into Windows.

Related commands

netstat