Link to home
Start Free TrialLog in
Avatar of kam_uk
kam_uk

asked on

DHCP lease and expiry

Hi

In regards to DHCP leases, can anyone tell me what happens when the lease expires but the client is still connected to the network? And what about when the client disconnects?

Basically, I have a wireless network with 30 IP addresses that are given out via DHCP. At the moment, the DHCP lease period is set to 24 hours. Since this is wireless, there are people joining and disconnecting all the time, unlike a wired environment with client PC's where they tend to remain.

If Laptop1 comes along and grabs an IP address at 13:00, then disconnects at 14:00, does this mean that IP is 'reserved' until 13:00 the next day?

Likewise, if we changed the lease time to 30 mins, will Laptop1 have to request a new IP at 13:30, or does it automatically keep the existing one although the lease time has expired, due to the fact that it is still connected?
ASKER CERTIFIED SOLUTION
Avatar of Bidonet
Bidonet
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kam_uk
kam_uk

ASKER

Thanks...

So with the 24 hour lease and a large number of devices constantly trying to join, we won't see problems with existing clients losing their Wi-Fi connection (since they will renew the lease at half time), but we could see problems with new clients trying to connect (because there are no spare IP's in the DHCP scope)?

If you plan to get more than 30 clients within a 24 hours period, you should reduce your release period otherwise all 30 IP addresses will be reserved.