How to Release and Renew IP Address on Windows, Mac, Linux

Configurare noua (How To)

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.

open command prompt as admin on windows

In User Account Control pop-up, click Yes.

In user account control for cmd, click yes

In CMD, type ipconfig /release and press Enter.

Next, type ipconfig /renew and press Enter.

ipconfig release renew windows

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.

open command prompt as admin in windows 7 or vista

In User Account Window, click Yes.

In user account control for cmd, click yes

Now type the following command in the Command Prompt: ipconfig /release and press Enter.

Type ipconfig /renew and press Enter.

ipconfig release renew windows

Windows XP

Press START>All Programs>AccessoriesRight-click Command Prompt and choose Run As…. Choose Administrator‘s account and enter password for it. Press OK.

run cmd as admin in windows xp

In Command Prompt, type ipconfig /release and press Enter.

Now, type ipconfig /renew and press Enter to finish.

ipconfig release renew windows

Mac OS

Click the Apple logo in the top-left corner of the screen and select System Preferences.

open system preferences in mac

Now, go to Network.

open network settings in mac

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.

open advanced settings on connected network in mac

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.

commands to release and renew ip address on linux

Tip solutie

Permanent

Voteaza

(17 din 37 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?