How to use ipconfig command to refresh, reset IP address for the computer
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 an IP address using the ipconfig command
- Step 1: Open Command Prompt
Use the 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 .
- 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.
2. Advanced ipconfig commands
- ipconfig /? : Displays help messages.
- ipconfig / all : Shows all configuration information.
- 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.
- ipconfig / SHOWCLASSID : Show all the DHCP class IDs allowed for adapter.
- ipconfig / SETCLASSID : Edit DHCP class ID.
Hope this article will help you in using ipconfig command on Command Prompt. Good luck!
You should read it
- How to use ipconfig command
- How to find the default gateway IP address
- How to Refresh IP Address
- Find IP address and MAC address
- How to fix IP 169 address error
- How to find the MAC address using the command line in Linux
- Configure IP network address with MS-DOS command
- 10 useful commands in Windows you should know
- How to find, set and change IP addresses on Linux
- How to Get MAC Address Using Remote IP Address
- How does IP address and MAC address work in parallel?
- Instructions for using IP address 192.168.2.2