Release and Renew IP Address (2022 Tutorial)

Written by Robert Bailey

Release and Renew IP address to repair connectivity issues

Release/Renew IP address is an operation that will help you to fix different connection issues. In Windows, you can do this action through the command prompt, while MacOS offers a graphical interface for this operation. Wiping out the old IP address can easily fix the connection problems. The first command for Windows that will be explained in the text – ipconfig /release – will force the system to forget your “old” IP and mark it as vacant on the DHCP server. The second one – ipconfig /renew – asks the DHCP server for a new IP for your device.

“Any workarounds to logging into Fortnite right now? Been trying non-stop, but haven’t been able to login since the event. Still really looking forward to trying out those lightsabers!!”, — writes Twitter user @NickEh30.

These commands are used widely for fixing the networking issues since they are working despite all changes in Windows done since Windows XP was released.

Release/Renew IP commands are usually finalized by the Flush DNS command, which releases the DNS cache and submits requests to apply new IP address data.

Refer to the tutorial below for releasing and renewing the IP address on Windows 10, 8, 8.1, 7, Vista, XP, Mac, and Linux. Also, be sure that your network adapter is tuned correctly to obtain an IP address automatically. Otherwise, the above-said commands won’t function well.

Robert Bailey
Robert Bailey
IT Security Expert

It is better to prevent, than repair and repent!

When we talk about the intrusion of unfamiliar programs into your computer’s work, the proverb “Forewarned is forearmed” describes the situation as accurately as possible. Gridinsoft Anti-Malware is exactly the tool that is always useful to have in your armory: fast, efficient, up-to-date. It is appropriate to use it as an emergency help at the slightest suspicion of infection.
Gridinsoft Anti-Malware 6-day trial available.
EULA | Privacy Policy | Gridinsoft

@topcybersecuritySubscribe to our Telegram channel to be the first to know about news and our exclusive materials on information security.

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

Windows 10, 8.1 and 8

For releasing and renewing the IP address on Windows 10, 8.1 or 8, refer to the steps reviewed below.

  1. In Windows 10, 8 or 8.1, apply Windows search to locate Command Prompt.
  2. Right-click on Command Prompt and choose Run as Administrator mode. Command Prompt
  3. In User Account Control alert, select Yes.
  4. In CMD, type ipconfig /release and hit Enter.
  5. Then, specify ipconfig /renew and hit Enter. Release and Renew IP - ipconfig /release
  6. Take time until the DHCP server sets a new IP address to you.

Windows 7 and Vista

Refer to these steps to apply ipconfig /release and ipconfig/renew commands on Windows 7 or Vista.

  1. Click on Windows menu, then specify cmd in Windows search bar.
  2. Right-click the Command Prompt option and select Run as Administrator via the menu. Windows 7 menu
  3. In User Account Window, select Yes.
  4. Then, specify the following command in the Command Prompt: ipconfig /release and hit Enter.
  5. Indicate ipconfig /renew and hit Enter. Release and Renew IP - ipconfig /renew

Mac OS

  1. Refer to the Apple logo in the top-left area of the display and choose System Preferences. Mac System Preferences
  2. Proceed to Network. Mac Network
  3. In the left section, choose Wi-Fi or Ethernet (based on which one you use by default). Next, choose Advanced… button on the right part of the Network menu. Wi-Fi or Ethernet Mac Advanced
  4. Choose TCP/IP tab. At this point, you will notice that Configure IPv4 is tuned to Using DHCP. Choose the Renew DHCP Lease button.
  5. Take time until you encounter an amendment in IPv4 address. The procedure is completed now.


The tutorial below gives an equivalent of ipconfig /release and ipconfig /renew commands on Linux. Refer to these steps to force DHCP Client to Renew IP Address.

  1. Use the CTRL+ALT+T hotkey command to start the Terminal on Linux.
  2. In Terminal, specify sudo dhclient – r and hit Enter for releasing the present IP.Linux/Ubuntu Release and Renew IP
  3. Next, specify sudo dhclient and hit Enter to obtain a new IP address via the DHCP server.

Helpful DNS Resolver Commands for Windows

A part from the Renew and Release IP commands, you might decide or have to apply some of the commands set forth below.

  • ipconfig /flushdns. This command aids in clearing the DNS Resolver cache so that the new IP data would be delivered right away.
  • ipconfig /registerdns. This command refreshes all DHCP leases and assigns DNS names initially.
  • ipconfig /displaydns. Displays present contents located in DNS Resolver Cache.

Repair IPconfig release renew not functioning

IPConfig /Release and /Renew commands functions only when your network adapter is tuned to obtain the IP address automatically. To say it in a different manner, you ought to have DHCP activated. You can set these parameters by means of Windows Network and Sharing Center.

  1. Proceed to Network and Sharing Center, then choose Change adapter settings.
  2. Right-click your network adapter and select Properties.
  3. Locate Internet Protocol Version 4 ( TCP /IPv4) and select Properties.
  4. Choose Obtain IP Address automatically and hit OK for confirmation.
User Review
3 (4 votes)
Comments Rating 0 (0 reviews)

German Japanese French

About the author

Robert Bailey

Security Engineer. Interested in malware, reverse engineering, white ethical hacking. I like coding, travelling and bikes.

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.