Ipconfig

Console application program


title: "Ipconfig" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["windows-communication-and-services", "windows-administration", "macos-only-software-made-by-apple-inc."] description: "Console application program" topic_path: "technology/operating-systems" source: "https://en.wikipedia.org/wiki/Ipconfig" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Console application program ::

::data[format=table title="Infobox software"]

FieldValue
nameipconfig
screenshotIpconfig win xp.png
captionScreenshot of ipconfig /all output in Windows XP
developerMicrosoft, ReactOS Contributors, Apple Inc.
programming languageC
operating systemWindows, ReactOS, macOS
platformCross-platform
genreCommand
licenseWindows, macOS: Proprietary commercial software

| ::

| name = ipconfig | logo = | screenshot = Ipconfig win xp.png | screenshot size = | caption = Screenshot of ipconfig /all output in Windows XP | developer = Microsoft, ReactOS Contributors, Apple Inc. | released = | latest release version = | latest release date = | programming language = C | operating system = Windows, ReactOS, macOS | platform = Cross-platform | genre = Command | license = Windows, macOS: Proprietary commercial software

ReactOS: GPL-2.0-or-later | website = ipconfig (standing for "Internet Protocol configuration") is a console application program of some computer operating systems that displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.

Implementations

The command is available in Microsoft Windows, ReactOS, and in Apple macOS. The ReactOS version was developed by Ged Murphy and is licensed under the GPL.

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. 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.

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.)

Apple macOS

ipconfig in Mac OS X serves as a wrapper to the IPConfiguration agent, and can be used to control the Bootstrap Protocol and DHCP client from the command-line interface. For example, you can release and renew an IP address if it happened to be assigned incorrectly by the DHCP server during the automated assignment process. Like most Unix-based operating systems, Mac OS X also uses [ifconfig](ifconfig) for more direct control over network interfaces, such as configuring static IP addresses. The Ifconfig command in Linux has been replaced by the IP command

References

References

  1. (16 October 2017). "ipconfig". Microsoft Docs.
  2. "Reactos/Ipconfig.c at master · reactos/Reactos".
  3. [http://www.wikihow.com/Refresh-Your-IP-Address-on-a-Windows-Computer Release and Renew Your IP Address]
  4. [https://kb.wisc.edu/page.php?id=562 Windows – Displaying, Releasing and Renewing a DHCP Lease]
  5. [https://www.peekmyip.com/p/how-to-change-your-ip-address-on-any.html PeekMyIP: How to change your IP address]
  6. "Domain Name System (DNS)". Springer-Verlag.
  7. [http://blog.fmsinc.com/windows-8-1-pcs-connect-to-the-network-but-not-the-internet/ Windows 8.1 PCs Connect to the Network but not the Internet]
  8. [https://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/ipconfig.8.html OS X developer manual]
  9. "Ipconfig – network administration via the command line".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

windows-communication-and-serviceswindows-administrationmacos-only-software-made-by-apple-inc.