Ticket #706 (closed task: fixed)
Increase DHCP Leased Time.
| Reported by: | lblau@… | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 0.11 | Component: | dhcp |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hi,the default DHCP IP Address leased time are 30mins. Anyway we can increase this number?? Currently deployed ebox ver. 0.8.1, as a DHCP server for 3 VLANs, recently encountered sudden some PC lost their IP address, and found out that the ebox DHCP server no longer available, so had to HALT/Power down the ebox server and reboot, then it is OK, even a REBOOT from your GUI does not work. Had to HALT it first, and during this process, all PC in the 3 Vlans cannot access the network resources. In the pass, we are using Windows DHCP service, with a leased time of 1 day, so even in the event that the Windows server HANG, user are not affected, but with this ebox server, when it hangs, all user PC lost their IP addresses immediately.
You can change at /usr/share/ebox/stubs/dhcp/dhcpd.conf.mas the leased times putting, e.g., default-lease-time 86400; and max-lease-time 604800; for 1 day as default and 1 month as maximum.
Then, restart dhcp module:
/etc/init.d/ebox dhcp restart
Please, take care if you upgrade eBox that the changes will be overridden.