DHCP is a protocol used to assign IP addresses to the Hosts when they are connected to the network. Automatically assigned DHCP addresses are leased to the hosts and can be released when it will not be used. The following instructions can be used for all modern Windows operating systems like Windows XP, Windows 7, Windows 8, Windows 10, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows Server 2016, Windows Server 2019.
Released IP Address and IP Configuration
ip /release will release the current IP configuration which includes IP address, Default gateway, DNS server, network mask, etc. First, we will open the MS-DOS or command line with Administrator privileges from the start menu. Type msdos or command line to the start menu and click to the command prompt right and select
Run as administrator like below.
> ipconfig /release
Renew IP Address and IP Configuration
When the IP address is released there will be no IP address configuration. If we want to get a new IP configuration we should execute the ipconfig /renew command which will get a new IP address and related configuration from the DHCP server automatically.
> ipconfig /renew