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 find the MAC address using the command line in Linuxtoday, tipsmake.com will talk about an important command in linux, ip. this command works on all linux distributions, including ubuntu, arch linux, debian, fedora, etc. '
- Microsoft introduced a 'refresh' feature on Windows 8the operating system expected in 2012 supports two refresh and reset features, allowing you to return to the initial default state or wipe the data.
- Should refresh, reset, restore or reinstall Windows?usually, when troubleshooting on your computer, you should refresh, reset, restore, or even reinstall windows. you probably know that some of them will fix the problem while keeping the files intact or removing everything from your computer.
- How to find the default gateway IP addressit is important to know the default gateway's ip address (usually the router) on a home or business network, if you want to successfully fix network problems or access management on the router's web platform.
- Configure IP network address with MS-DOS commandusually to configure and set the ip address for machines in the network you just need to configure in network connections and set the ip address in the tcp / ip protocol with the windows interface. now we introduce a method to configure the ip address using the command line command sometimes this way will be used in necessary cases.
- How to fix IP 169 address errorwhen you cannot connect to the internet and your computer seems to have an ip address starting with 169, the computer has an ip address error 169. this type of error occurs when a windows computer requests an ip address but does not receive.
- Find IP address and MAC addressin this tutorial we will show you how to find ip addresses and mac addresses on windows 7 and mac os x computers.
- The reset session command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- How to Factory Reset Windows 10 PC with Command Promptif your windows 10 pc for some reason unexpectedly slows down, behaves abnormally, or you're about to sell it and want to return your system to its 'original' state, the best way to do a factory reset (factory reset) the device, you'll want to do a factory reset.
- Learn Refresh and Reset functions on Windows 8windows users often have to reinstall the operating system (or restore from ghosts) whenever a serious system failure occurs. on windows 8, microsoft has overcome this drawback