Forrest logo
back to the ipconfig tool

ipconfig:tldr:31828

ipconfig: Renew the IP addresses for a network adapter.
$ ipconfig /renew ${adapter}
try on your machine

The command "ipconfig /renew ${adapter}" is used to renew the IP address of a network adapter on a Windows computer.

Here's a breakdown of the command:

  • "ipconfig" is a command-line utility in Windows that displays the TCP/IP network configuration information of a computer. It provides details about the IP address, subnet mask, and default gateway of network adapters.

  • "/renew" is an option or parameter that can be used with the "ipconfig" command. It specifically tells the command to renew the DHCP lease of the network adapter. When a DHCP (Dynamic Host Configuration Protocol) lease is renewed, the computer requests a new IP address from the DHCP server.

  • "${adapter}" is a placeholder or variable that represents the specific network adapter you want to renew the IP address for. You need to replace "${adapter}" with the name or index of the adapter you want to renew. The adapter name could be something like "Ethernet" or "Wi-Fi".

For example, if you want to renew the IP address of the Ethernet adapter, you would use the command "ipconfig /renew Ethernet". This will send a request to the DHCP server to assign a new IP address to the Ethernet adapter.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ipconfig tool