Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ipconfig
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Console application program}} {{lowercase title|ipconfig}} {{Infobox software | name = ipconfig | logo = | screenshot = Ipconfig win xp.png | screenshot size = | caption = Screenshot of <code>ipconfig /all</code> output in [[Windows XP]] | developer = [[Microsoft]], ReactOS Contributors, [[Apple Inc.]] | released = | latest release version = | latest release date = | programming language = [[C (programming language)|C]] | operating system = [[Microsoft Windows|Windows]], [[ReactOS]], [[macOS]] | platform = [[Cross-platform]] | genre = [[Command (computing)|Command]] | license = Windows, macOS: [[Proprietary software|Proprietary]] [[commercial software]]<br /> ReactOS: [[GNU General Public License|GPL-2.0-or-later]] | website = }}{{Not to be confused with|ifconfig}} '''<code>ipconfig</code>''' (standing for "[[Internet Protocol]] configuration") is a [[console application]] program of some computer [[operating system]]s that displays all current [[TCP/IP]] network configuration values and refreshes [[Dynamic Host Configuration Protocol]] (DHCP) and Domain Name System (DNS) settings.<ref>{{cite web |url= https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig |title=ipconfig |date=16 October 2017 |work=Microsoft Docs |access-date=25 August 2020}}</ref> ==Implementations== The [[command (computing)|command]] is available in [[Microsoft Windows]], [[ReactOS]], and in [[Apple Inc.|Apple]] [[macOS]]. The ReactOS version was developed by Ged Murphy and is licensed under the [[GNU General Public License|GPL]].<ref>{{Cite web|url=https://github.com/reactos/reactos/blob/master/base/applications/network/ipconfig/ipconfig.c|title = Reactos/Ipconfig.c at master Β· reactos/Reactos|website = [[GitHub]]}}</ref> ===Microsoft Windows, ReactOS=== The <code>ipconfig</code> command supports the [[Command-line interface#Command-line option|command-line switch]] <code>/all</code>. This results in more detailed information than <code>ipconfig</code> alone. An important additional feature of <code>ipconfig</code> 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, <code>ipconfig /release</code> 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 <code>ipconfig /renew</code> is executed to request a new IP address.<ref>[http://www.wikihow.com/Refresh-Your-IP-Address-on-a-Windows-Computer Release and Renew Your IP Address]</ref><ref>[https://kb.wisc.edu/page.php?id=562 Windows β Displaying, Releasing and Renewing a DHCP Lease]</ref> 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 <code>ipconfig /release</code> and turning off the power for a period of time, to ensure that the old IP address is taken by another computer.<ref>[https://www.peekmyip.com/p/how-to-change-your-ip-address-on-any.html PeekMyIP: How to change your IP address]</ref> The <code>/flushdns</code> parameter can be used to clear the Domain Name System (DNS)<ref>{{Citation |title=Domain Name System (DNS) |work=Understanding IPv6 |pages=151β172 |url=http://dx.doi.org/10.1007/0-387-25614-8_9 |access-date=2024-03-06 |place=New York |publisher=Springer-Verlag |isbn=0-387-25429-3}}</ref> cache to ensure future requests use fresh DNS information by forcing hostnames to be resolved again from scratch.<ref>[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]</ref>) ===Apple macOS=== <code>ipconfig</code> 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.<ref>[https://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/ipconfig.8.html OS X developer manual]</ref> 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.<ref>{{Cite web |title=Ipconfig β network administration via the command line |url=https://www.ionos.ca/digitalguide/server/configuration/ipconfig/ |access-date=2022-08-23 |website=IONOS Digitalguide |language=en}}</ref> Like most [[Unix]]-based operating systems, Mac OS X also uses <code>[[ifconfig]]</code> 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 ==See also == *[[ifconfig]] ==References== {{Reflist}} ==Further reading== *{{Cite book|first=Γleen|last=Frisch|year=2001|title=Windows 2000 Commands Pocket Reference|publisher=[[O'Reilly Media|O'Reilly]]|isbn=978-0-596-00148-3}} *{{Cite book |first=William R. |last=Stanek |year=2008 |title=Windows Command-Line Administrator's Pocket Consultant, 2nd Edition |publisher=[[Microsoft Press]] |isbn=978-0735622623}} *{{Cite book|first=Daniel J.|last=Barrett|year=2012|title= Off Macintosh Terminal Pocket Guide: Take Command of Your Mac|publisher=[[O'Reilly Media|O'Reilly]]|isbn=}} ==External links== {{Wikibooks|Guide to Windows Commands}} *Windows **[https://technet.microsoft.com/en-us/library/bb490921.aspx Microsoft TechNet Ipconfig article] **[http://variableghz.com/2008/09/getting-serious-about-vnc/ VariableGHz article detailing ipconfig settings in Vista] **[http://www.computerhope.com/ipconfig.htm Windows 95, 98, ME; Windows 2000 and XP MS-DOS shell syntax] **[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig ipconfig] documentation for [[Microsoft Windows|Windows]] *Mac OS X **{{man|8|ipconfig|Darwin|view and control IP configuration state}} {{Windows commands}} [[Category:Windows communication and services]] [[Category:Windows administration]] [[Category:MacOS-only software made by Apple Inc.]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Infobox software
(
edit
)
Template:Lowercase title
(
edit
)
Template:Man
(
edit
)
Template:Not to be confused with
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Wikibooks
(
edit
)
Template:Windows commands
(
edit
)