Re: dhcp server
On Tue, 12 Feb 2002, Martin Wuertele wrote:
> > When I restart the dhcp server all machines lose connectivity and need to
> > grab another lease. Is there any way to prevent this?
>
> what are your values for default-lease-time and max-lease-time? i use
>
> default-lease-time 600;
> max-lease-time 7200;
I am also using those default values. The problem does not arise when the
dhcp server goes down, but when it comes back up. Some machines end up
with a new IP and existing connections die. Like ssh connections. :(
> from man dhcpd.conf:
>
> "The default-lease-time statement
>
> default-lease-time time;
>
> Time should be the length in seconds that will be assigned
> to a lease if the client requesting the lease does not ask
> for a specific expiration time.
>
> The max-lease-time statement
>
> max-lease-time time;
>
> Time should be the maximum length in seconds that will be
> assigned to a lease if the client requesting the lease
> asks for a specific expiration time."
Reply to: