Ipconfig
Template:Short description
Template:Lowercase title
{{#invoke:Infobox|infobox}}Template:Template other {{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y| AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo class | logo size | logo title | logo upright | logo_alt | logo_caption | logo_class | logo_size | logo_title | logo_upright | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | qid | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot class | screenshot size | screenshot title | screenshot upright | screenshot_alt | screenshot_class | screenshot_size | screenshot_upright | service_name | size | standard | title | ver layout | website }}Template:Main otherTemplate:Not to be confused with
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.<ref>{{#invoke:citation/CS1|citation
|CitationClass=web
}}</ref>
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.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
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.<ref>Release and Renew Your IP Address</ref><ref>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 ipconfig /release and turning off the power for a period of time, to ensure that the old IP address is taken by another computer.<ref>PeekMyIP: How to change your IP address</ref>
The /flushdns parameter can be used to clear the Domain Name System (DNS)<ref>Template:Citation</ref> cache to ensure future requests use fresh DNS information by forcing hostnames to be resolved again from scratch.<ref>Windows 8.1 PCs Connect to the Network but not the Internet</ref>)
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.<ref>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>{{#invoke:citation/CS1|citation
|CitationClass=web
}}</ref> 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. The Ifconfig command in Linux has been replaced by the IP command
See also
References
Further reading
External links
- Windows
- Mac OS X