Every computer and device in a network is assigned an IP address that can be static or dynamic depending upon the configuration of the router and the Internet Service Provider. If you are using a dynamic IP configuration, then the IP of each device on your network is refreshed after a defined interval.
This process is handled by the DHCP server which is a service running on the router. When the specified time frame is over the DHCP server assigns a new IP address to the device which is called DHCP Lease. Usually, the time is 24 hours or 1440 minutes after which the IP is renewed. But often time users might encounter network errors such as frequent disconnection from an online server. The server might require a persistent IP address and the router’s DHCP settings might be renewing the IP more often so you might need to prolong the lease time for a more stable connection to the remote server.
Change DHCP Lease Time Using Router
In this method, we will access the router interface to configure the DHCP Lease time since the DHCP Lease is controlled by the router and there is no native interface on Windows 10 through which you can configure these settings. These settings are controlled by the server and your system is a client. You can, however, use the command prompt to view your current IP address and the time when it is set to be renewed.
- Go to Windows Menu and open the Command Prompt
- Enter the ‘ipconfig /all‘ command and press Enter.
- You can see the time when the new IP was leased and when it will expire
- Now, open your browser and type the IP address of the router, it is usually 192.168.0.1 but you can also see that on the back of your router to find out. This will allow you to log in to the router’s interface.
- Enter your user name and password to log in.
- In your router’s interface click on the DHCP Settings.
- You should see an option that says Address lease Time, enter the desired lease time here in minutes, for example, if you want the lease to expire after two hours you can enter 120 minutes and click Save.
- Your router may reset after you apply the settings this usually takes a few seconds after that you can open the command prompt and see that the IP lease time has been changed.