The ipconfig command is used on Windows, while the ifconfig command is used on Linux, Mac OS X, and other Unix-like operating systems. These commands allow you to configure your network interfaces and view information about them.

For example, you can use the ipconfig /all command on Windows to view all your configured network interfaces, their IP addresses, DNS servers, and other information.

Or, you can use the ipconfig /flushdns command to flush your DNS cache, forcing Windows to get new addresses from its DNS servers every time you contact a new hostname. Other commands can force your computer to release its IP address and get a new one from its DHCP server. This utility can quickly display your computer’s IP address or help you troubleshoot problems.


The ipconfig command entered by itself displays summary information about a PC’s IP address configuration. This parameter gives more verbose information, including such information as DNS and WINS server IP addresses.
/release or /release6
These options release a DHCP lease for an IPv4 and IPv6 address, respectively.
/renew or /renew6
These options renew a DHCP lease for an IPv4 and IPv6 address, respectively.

Reference: Keith Barker Sec+ Study Guide and

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.