ipconfig (internet protocol configuration) in Microsoft Windows is a console application that displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol DHCP and Domain Name System DNS settings. Similar GUI tools named winipcfg and wntipcfg also exist. The former pre-dates ipconfig. The role played by these tools is similar from various implementations of ifconfig in Unix and Unix-like operating systems.
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. 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.
ipconfig /all. Displays current IP settings in detail
ipconfig /release. Instructs the network host to release the DHCP assigned.
ipconfig /renew. Instructs the network host to request a new IP address from the DHCP server. Also, using the renew command implies a release.