The ipconfig command is a utility that you need to know when using your computer such as helping to view IP address configuration information, re-apply ip from DHCP server, clear DNS cache , ... So this article would like to guide how to use the command. ipconfig so that you do not know can refer to.
1. How to find the IP address using the ipconfig command
- Step 1: Open Command Prompt
Use Windows + R key combination > Type " cmd "> Select OK .
- Step 2: Enter the ipconfiig command to see the IP address
Complete open Command Prompt> Enter ipconfig command > Press Enter .
![How to use ipconfig command to refresh, reset IP address for the computer]()
- Link-local IPv6 Address: IPv6 address on your computer.
- IPv4 Address: IPv4 address on your computer (usually Vietnamese infrastructure uses IPv4).
- Subnet Mask: The current network range of the above address layer.
- Default Gateway: The main address of your network, which provides the network for the entire system.
- Step 3: Reset the IP address
Type ipconfig / release > Press Enter .
- Step 4: Refresh the IP address
Enter the command ipconfig / renew to get a new IP address from the DHCP server. The output shows the ipconfig / renew command output which will indicate the new IP address from the DHCP server.
![How to use ipconfig command to refresh, reset IP address for the computer]()
2. Advanced ipconfig commands
- ipconfig /? : Displays help messages.
![How to use ipconfig command to refresh, reset IP address for the computer]()
- ipconfig / all : Shows all configuration information.
![How to use ipconfig command to refresh, reset IP address for the computer]()
- ipconfig / allcompartments : Shows information about all parts of the network.
- ipconfig / flushdns : Clear DNS Resolver cache.
- ipconfig / registerdns : Refresh all DHCP lease and re-register DNS name.
- ipconfig / displaydns : Displays the contents of the DNS Resolver cache.
![How to use ipconfig command to refresh, reset IP address for the computer]()
- ipconfig / SHOWCLASSID : Show all the DHCP class IDs allowed for adapter.
- ipconfig / SETCLASSID : Edit DHCP class ID.
See also :
>>> 4 ways to reset Windows computer to the original state are simple and effective
>>> How to change DNS on Windows, Mac computers is simple and fast
>>> How to change the password of Wi-Fi Tenda, TP-Link, Viettel, VNPT, FPT at home
Hope this article will help you in using ipconfig command on Command Prompt. Good luck!