Set DHCP Lease To One Day
        
            Options        
            
        
 
            
                
                    businessuer                
                
                    Posts: 134  Ally Member
  Ally Member
         
             
         
         
             
         
         
             
                         
            
                         Ally Member
  Ally Member 
         
         
             
         
         
             
         
                
                                    
                                  in Nebula             
            
                    Let say person logs in 1 jan at 08:00 hrs and logs out at 1 Jan 17:00 hours.
DHCP Lease set to 2 days.
So will the lease expire at 3 Jan 08:00hrs or 17:00 hrs?
Will setting a lease duration of 1 day be too short because the router have to keep "re-learning" mac addresses?
Will it affect the hardware?
                DHCP Lease set to 2 days.
So will the lease expire at 3 Jan 08:00hrs or 17:00 hrs?
Will setting a lease duration of 1 day be too short because the router have to keep "re-learning" mac addresses?
Will it affect the hardware?
0    
            Accepted Solution
- 
            
 Both questions: IMO no.businessuer said:
 Will setting a lease duration of 1 day be too short because the router have to keep "re-learning" mac addresses?
 Will it affect the hardware?In a low-ratio hardware rotation environment (resident people only, two - to five missing person par day on 50-60 persons) having multiple-day lease won't be an issue. If a device come back at the last hours of lease, it will receive the same address.In a hi-ratio hardware rotation (bar, restaurant, commercial space, hotel) shorter the lease time, less wasted addresses waiting to expire.I choose a /23 subnet for the guests wireless network into an hotel with 60 rooms, considering three devices par room plus 180 devices for congress/dining halls (twice the size of the maximum capacity. Lease time 4 hrs.0
All Replies
- 
            You can set the Lease time to 2 minutes and it be fine. The client can ask for a renew by DHCP by unicast before the lease time and before the client renews by broadcast which reset the lease time. 
 0
- 
            Sorry but why is a broadcast necessary?0
- 
            businessuer said:Sorry but why is a broadcast necessary?Well you need a broadcast to get a IP but if you mean for renewing a IP the client may not send a unicast request and waits till rebinding which is a broadcast and it can ask for a reply from the server to be a broadcast or unicast. More about DHCP here: https://lazyadmin.nl/home-network/dhcp-lease-time/ 
 0
- 
            
 Both questions: IMO no.businessuer said:
 Will setting a lease duration of 1 day be too short because the router have to keep "re-learning" mac addresses?
 Will it affect the hardware?In a low-ratio hardware rotation environment (resident people only, two - to five missing person par day on 50-60 persons) having multiple-day lease won't be an issue. If a device come back at the last hours of lease, it will receive the same address.In a hi-ratio hardware rotation (bar, restaurant, commercial space, hotel) shorter the lease time, less wasted addresses waiting to expire.I choose a /23 subnet for the guests wireless network into an hotel with 60 rooms, considering three devices par room plus 180 devices for congress/dining halls (twice the size of the maximum capacity. Lease time 4 hrs.0
- 
            Hi @businessuer,
 Just like @PeterUK's explaination and @mMontana's suggestion, you can depend on your envirement to set suitable lease time, DHCP Server pool and subnet.
 Zyxel Melen0
Categories
- All Categories
- 439 Beta Program
- 2.8K Nebula
- 200 Nebula Ideas
- 126 Nebula Status and Incidents
- 6.3K Security
- 498 USG FLEX H Series
- 323 Security Ideas
- 1.6K Switch
- 83 Switch Ideas
- 1.3K Wireless
- 49 Wireless Ideas
- 6.8K Consumer Product
- 286 Service & License
- 457 News and Release
- 89 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 96 Security Highlight

 Guru Member
  Guru Member 
          
          
          
         
 
          
          
         
 
          
          
          
                     
                     
                    