How to use the ipconfig command to refresh and reset IP address
This article will show you how to use the ipconfig command to find the IP address in Windows and the advanced options of this command. The illustrations in the article were taken on Windows 10, so it may differ from other Windows versions. This guide also helps you find your MAC (hardware) address, DHCP server, DNS server, and other useful information. This information can be helpful when troubleshooting poor ResNet connectivity.
How to find IP address using ipconfig command
Step 1 . Enter cmd in the search box, then right-click Command Prompt and select Run as administrator . On Windows 10/11, you immediately have the Run as administrator option on the right side of the search results, select it.
The User Account Control window appears, click Yes .
Step 2 . At the C:> command prompt type ipconfig , then press Enter . You will see information about the IP address, subnet mask, and default gateway. If your address is 192.168.xx, 10.xxx or 172.16.xx, this is an internal IP address from the router or other device. The IP address that everyone sees is the router's. If you receive the address 169.254.xx, which is a Windows address, this means your network connection is not working properly.
Step 3 . If you want more detailed information about your network connection, enter ipconfig /all at the command prompt. You can get similar information as ipconfig with the addition of MAC (hardware) address, DNS and DHCP server addresses, information for IP lease, etc. Same as above, if your IP address is you are 192.168.xx, 10.xxx or 172.16.xx, you get the internal IP address from the router or other device. If you receive the address 169.254.xx, this is a Windows address, which means your network connection is not working properly.
Step 4 . If you have problems with the ResNet connection, you can release and renew the IP address to fix the problem. Type ipconfig /release and press Enter , then type ipconfig /renew and press Enter again. If the connection goes without any problems, you will receive a valid IP address, subnet mask, and default gateway in a few seconds.
Advanced ipconfig commands
- ipconfig/? : Displays a help message.
- ipconfig/all : Displays all configuration information.
- ipconfig/allcompartments : Displays information about all parts of the network.
- ipconfig/release : Release IPv4 address for specific adapter.
- ipconfig/release6 : Release for specific adapter.
- ipconfig/renew : Allocate a new IPv4 address to a specific adapter.
- ipconfig/renew6 : Allocate a new IPv6 address to a specific adapter.
- ipconfig/flushdns : Flush cache .
- ipconfig/registerdns : Refresh all DHCP leases and re-register DNS names.
- ipconfig/displaydns : Displays the contents of the DNS Resolver cache.
- ipconfig/showclassid : Shows all DHCP class IDs allowed for the adapter.
- ipconfig/setclassid : Edit DHCP class ID.
Wishing you success!
You should read it
- Quick fix tip when Internet connection is 'broken'
- 10 commands Windows 7 network administrators need to know
- Find IP address and MAC address
- 10 useful commands in Windows you should know
- How to find the default gateway IP address
- New feature on Facebook, allowing inserting music into photos and videos
- Scientists create machines that can read your mind, up to 70% accurate
- 6 main settings must check when Skype is not working
May be interested
- How to bring WordPad back to Windows 11 24H2thankfully, if you want to bring wordpad back to windows 11 24h2, there is a way to do it.
- How to fix error VCRUNTIME140.DLL was not found, is missing in Windowswhen opening an application or program on a windows computer, if you encounter the error the program can't start because vcruntime140.dll is missing from your computer (the program cannot operate because the vcruntime140.dll file is missing), or the code execution cannot proceed because vcruntime140.dll was not found then you need to do some of the following to fix this problem.
- 11 simplest ways to open Task Manager on Windowstask manager contains many utility applications on your computer, allowing users to check the applications, processes and services currently running on the computer. users can use task manager to launch, stop programs and stop processes....
- How to check your computer's history to see if someone has accessed and used your computer?if you suspect someone is accessing and using your computer illegally, you can apply some of the tricks below to check the computer's on/off history, view recent activities on the computer to confirm. accept and reaffirm that.
- How to delete junk files and clean your computer to run fasterregularly cleaning the computer as well as deleting junk files will help our pcs and laptops run faster, and our work progress will therefore be more productive, however, the main purpose is still to be able to use it quickly, without experiencing inhibition when the machine is slow and especially keeping the machine lasting longer.
- How to open camera on Windows 7/8/10/11 laptopto open the camera on your computer, you just need to enter the keyword camera into the search bar, or use the support software.