From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Screenshot of ipconfig /all output in Windows XP
Screenshot of ipconfig /all output in Windows XP
Developer(s) Microsoft, ReactOS Contributors, Apple Inc.
Operating system Microsoft Windows, ReactOS, macOS
Type Command

In computing, ipconfig (internet protocol configuration) is a console application of some operating systems that displays all current TCP/IP network configuration values and can modify Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.[1]


Microsoft Windows, ReactOS

The ipconfig command supports the command-line switch /all. This results in more detailed information than ipconfig alone.

An important additional feature of ipconfig is to force refreshing of the DHCP IP address of the host computer to request a different IP address. This is done using two commands in sequence. First, ipconfig /release is executed to force the client to immediately give up its lease by sending the server a DHCP release notification which updates the server's status information and marks the old client's IP address as "available". Then, the command ipconfig /renew is executed to request a new IP address.[2][3] Where a computer is connected to a cable or DSL modem, it may have to be plugged directly into the modem network port to bypass the router, before using ipconfig /release and turning off the power for a period of time, to ensure that the old IP address is taken by another computer.[4]

The /flushdns parameter can be used to clear the Domain Name System (DNS) cache to ensure future requests use fresh DNS information by forcing hostnames to be resolved again from scratch.[5]


ipconfig in Mac OS X serves as a wrapper to the IPConfiguration agent, and can be used to control the BootP and DHCP client from the command-line interface.[6] Like most UNIX-based operating systems, Mac OS X also uses ifconfig for more direct control over network interfaces, such as configuring static IP addresses.

See also


  1. ^ Microsoft Windows XP ipconfig support page
  2. ^ Release and Renew Your IP Address
  3. ^ Windows – Displaying, Releasing and Renewing a DHCP Lease
  4. ^ whatsmyipaddress: How to change your IP address
  5. ^ Windows 8.1 PCs Connect to the Network but not the Internet
  6. ^ OS X developer manual

External links

  • Windows
    • Microsoft TechNet Ipconfig article
    • VariableGHz article detailing ipconfig settings in Vista
    • Windows 95, 98, ME; Windows 2000 and XP MS-DOS shell syntax
  • Mac OS X
Retrieved from "https://en.wikipedia.org/w/index.php?title=Ipconfig&oldid=868545538"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Ipconfig
This page is based on the copyrighted Wikipedia article "ipconfig"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA