NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Hot54321
Dec 30, 2023Apprentice
Increase DHCP LeaseTime setting?
Hi, Where can I find this setting to increase DHCP Leasetime? This simple setting it seems its not include in the firmware? Why is that? This is a basic setting that should in the firmware.
schumaku
Dec 30, 2023Guru - Experienced User
Please explain what for exactly... DHCP renewal is a fully transparent process, no need to reconnect or the like. No matter if we talk of 60 minutes, 480 minutes, 1440 minutes or longer.
A correct working DHCP client is able to refresh it's allocated IP address virtually forever - without ever expiring. Certainly as long as the DHCP server is not restarted or reset. And without going through a DHCP Discover process assigning the DHCP client a new IP address
Fancy some excursion into the DHCP process? Here you go:
----
1. When the lease reaches 50% (T1) of its validity period, the DHCP client unicasts a DHCP Request message to the DHCP server to request lease renewal. If the server renews the lease (counted from 0), it sends a DHCP Ack message to the client. If the server rejects the renewal request, it sends a DHCP Nak message to the client, which must then send a DHCP Discover message to apply for a new IP address.
2. If no response is received from the DHCP server when the lease reaches 87.5% (T2) of its validity period, the DHCP client broadcasts a DHCP Request message to request lease renewal. Similar to T1, if the client receives a DHCP Ack message, the server has renewed the lease; if the client receives a DHCP Nak message, the client must send a DHCP Discover message to apply for a new IP address.
3. If no response is received when the lease expires, the client stops using the IP address and sends a DHCP Discover message to apply for a new IP address.
When a DHCP client no longer needs to use its allocated IP address and the lease has not expired, the client sends a DHCP Release message to the DHCP server to request IP address release. The server saves the configuration of this client and records the IP address in the allocated IP address list. The IP address can then be allocated to this client or other clients. To request a configuration update, a client can send a DHCP Inform message to the server.
---
A correct working DHCP client is able to refresh it's allocated IP address virtually forever - without ever expiring. Certainly as long as the DHCP server is not restarted or reset. And without going through a DHCP Discover process assigning the DHCP client a new IP address
Fancy some excursion into the DHCP process? Here you go:
----
1. When the lease reaches 50% (T1) of its validity period, the DHCP client unicasts a DHCP Request message to the DHCP server to request lease renewal. If the server renews the lease (counted from 0), it sends a DHCP Ack message to the client. If the server rejects the renewal request, it sends a DHCP Nak message to the client, which must then send a DHCP Discover message to apply for a new IP address.
2. If no response is received from the DHCP server when the lease reaches 87.5% (T2) of its validity period, the DHCP client broadcasts a DHCP Request message to request lease renewal. Similar to T1, if the client receives a DHCP Ack message, the server has renewed the lease; if the client receives a DHCP Nak message, the client must send a DHCP Discover message to apply for a new IP address.
3. If no response is received when the lease expires, the client stops using the IP address and sends a DHCP Discover message to apply for a new IP address.
When a DHCP client no longer needs to use its allocated IP address and the lease has not expired, the client sends a DHCP Release message to the DHCP server to request IP address release. The server saves the configuration of this client and records the IP address in the allocated IP address list. The IP address can then be allocated to this client or other clients. To request a configuration update, a client can send a DHCP Inform message to the server.
---
Hot54321
Dec 31, 2023Apprentice
I want to it decrease my lease time for example to 1 hour instead of 24Hours.
How to achieve that?
It is automatically that the DHCP lease time is 24Hours, but I want to de-crease it to 1 hour.
- schumakuDec 31, 2023Guru - Experienced User
Hot54321 wrote:
I want to it decrease my lease time for example to 1 hour instead of 24Hours.
How to achieve that?
It is automatically that the DHCP lease time is 24Hours, but I want to de-crease it to 1 hour.Facing a problem with a DHCP running out due to a lot of walk-in visitors as microchip8 says? Either way, it won't magically fix the unspecified DNS issues you are apparently behind.
microchip8 wrote:
Some people like a very short least time, like 2 hours or so, in places where lots of clients come and go so that the DHCP pool doesn't get exhausted that easy.
- Hot54321Dec 31, 2023Apprentice
I dont have DNS issue on my R7000, I just want to de-crease the DHCP lease time to 1 hour instead of 24H.
So how can I this achieve this?- michaelkenwardDec 31, 2023Guru - Experienced User
Hot54321 wrote:
I just want to de-crease the DHCP lease time to 1 hour instead of 24H.
Why?
When trying to fix problems, it is usually a good idea to start with a description of the destination you want to reach rather than running up here with questions about how to get there. That avoids the risk of getting the "If I wanted to get there, I wouldn't start from here" answer to that old joke about someone asking a stranger for directions.
So far you have simply restated the original question several times. Is there any reason why you don't want to answer the question that schumaku and microchip8 have asked.
If you can answer the "why?" question, they may be able to offer suggestions on how to achieve whatever it is that you want to do.