If you work in IT, there are a few things you need to know no matter what. These are the basic skills that anyone in the IT industry needs. One of these skills is the ability to renew and release IP addresses.
There’s a lot to do in your IT career, and it’s really useful for reconnecting your computer to the Internet or local LAN. Renewing your IP address can also help you resolve IP conflicts.
Renew the IP address
To renew your IP address, go to BeginningFollowing Jogging and the guy CMD, to open a new command prompt window. In newer versions of Windows, just click Start and type CMD.
Now type the following command:
ipconfig / renew
Regardless of which network adapters are currently connected to the computer, they will be shut down and their addresses will be renewed using the DHCP server. If you can’t recover your IP address, you can read my previous post on troubleshooting The IP address cannot be renewed .
Note that you can display all IP configuration information using the parameter / everyone .
ipconfig / all
Release the IP address
To release the IP address, type the following command:
ipconfig / release
This command will release the IP address of all connected adapters. If you often have to release and renew an IP address, it may be easier to create a batch file and add the commands there. Here’s what you’ll copy and paste into your file:
ipconfig / release ipconfig / renew pause
Save the file anywhere off the desktop, then right-click on it and choose command send to – Desktop (Create shortcut ). Double-click the shortcut to run the script that you can see in the command window.
DNS resolver commands
Note that you can also refresh all DHCP leases and re-register DNS names using the parameter registered dns .
ipconfig / registerdns
If you want to clear the DNS resolution cache on the local machine, you can use the parameter flushdns .
ipconfig / flushdns
To view the contents of the DNS resolver cache, use the parameter displaydns .
ipconfig / displaydns
If you found it interesting, you can also learn how to change IP address via command line. If you have other problems, such as being able to connect to the wireless router but not the internet, please read my previous post. To enjoy!