Situatie
Release/Renew IP address is a procedure meant to solve network connectivity issues related to cached IP information. It can be done via Command Line on Windows or System Preferences on Mac OS. Release and Renew IP address means giving up the lease of DHCP IP address of the host computer and making a request for a new IP address. First of all, the ipconfig /release command is used to give up current IP lease and send the server a DHCP alert to mark the old IP address as available.
Solutie
Pasi de urmat
Windows 10, 8.1 and 8
- To release and renew IP address on Windows 10, 8.1 or 8, follow the steps given below.
- In Windows 10, 8 or 8.1, use Windows search to find Command Prompt.
- Right-click on Command Prompt and select Run as Administrator option.
In User Account Control pop-up, click Yes.
In CMD, type ipconfig /release and press Enter.
Next, type ipconfig /renew and press Enter.
Wait until the DHCP server assigns a new IP address to you.
Windows 7 and Vista
Follow these steps to use ipconfig /release and ipconfig/renew commands on Windows 7 or Vista.
- Click on Windows menu, then type cmd in Windows search bar.
- Right-click the Command Prompt result and choose Run as Administrator from the menu.
In User Account Window, click Yes.
Now type the following command in the Command Prompt: ipconfig /release and press Enter.
Type ipconfig /renew and press Enter.
Windows XP
Press START>All Programs>Accessories. Right-click Command Prompt and choose Run As…. Choose Administrator‘s account and enter password for it. Press OK.
In Command Prompt, type ipconfig /release and press Enter.
Now, type ipconfig /renew and press Enter to finish.
Mac OS
Click the Apple logo in the top-left corner of the screen and select System Preferences.
Now, go to Network.
On the left pane, select Wi-Fi or Ethernet (depending on which one you’re using). Then click Advanced… button on the right side of the Network menu.
Select TCP/IP tab. Here, you should see that Configure IPv4 is set to Using DHCP. Click Renew DHCP Lease button. Wait a couple of seconds until you see a change in IPv4 address. The process is done now.
Linux/Ubuntu
The guide below provides an equivalent of ipconfig /release and ipconfig /renew commands on Linux. Use these steps to force DHCP Client to Renew IP Address.
- Press CTRL+ALT+T to launch Terminal on Linux.
- In Terminal, type sudo dhclient – r and press Enter to release current IP.
- Then type sudo dhclient and press Enter to get a new IP address from DHCP server.
Leave A Comment?