ipconfig

Windows CMD · Network · available in the simulator

What it does

Displays and manages IP configuration.

Syntax

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

Options and parameters

  • /all

    Displays full configuration information for all adapters.

    ipconfig /all
  • /release

    Releases the IP address obtained via DHCP.

  • /renew

    Renews the IP address via DHCP.

  • /flushdns

    Flushes the DNS resolver cache.

    ipconfig /flushdns
  • /displaydns

    Displays the contents of the DNS resolver cache.

  • /registerdns

    Renews DHCP leases and reregisters DNS names.

  • /showclassid

    Displays the DHCP class IDs for the adapter.

  • /setclassid

    Modifies the DHCP class ID.

Usage examples

  • ipconfig /all
  • ipconfig /flushdns
Practise ipconfig

Related commands