Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
InfrastructureJuniorOccasionalPractical

What information does `ipconfig` provide on Windows, and when is `ipconfig /all` useful?

Answer

`ipconfig` shows core TCP/IP configuration such as IPv4/IPv6 addresses, subnet masks and default gateways. `ipconfig /all` adds detailed adapter information such as DHCP and DNS configuration. Options such as `/flushdns`, `/release` and `/renew` change state, so they should not be used merely to inspect a machine.

Strong answer includes

  • basic ipconfig shows address, mask and gateway
  • /all adds adapter, DHCP and DNS details
  • distinguishes inspection from state-changing options

Practical example

When a Windows test agent cannot reach an internal service, `ipconfig /all` can reveal that it received the wrong DNS server or gateway, which is more informative than repeatedly retrying the application.

#windows#networking#ipconfig

Sources

Windows commands referenceMicrosoft · Command Prompt utilities including ipconfig, netstat, tasklist, taskkill, sc, findstr, ping, tracert and nslookup