Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2013 19:36:32 -0500 (EST)
From:      Daniel Feenberg <feenberg@nber.org>
To:        Modulok <modulok@gmail.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Revoke a DHCP lease early?
Message-ID:  <alpine.LRH.2.02.1303091919001.17168@nber7.nber.org>
In-Reply-To: <CAN2%2BEpaTEA=faB7B-Q8b1BuKm%2BwvGG=g-SK9n6DhrMknGjsb1Q@mail.gmail.com>
References:  <CAN2%2BEpaTEA=faB7B-Q8b1BuKm%2BwvGG=g-SK9n6DhrMknGjsb1Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 9 Mar 2013, Modulok wrote:

> List,
>
> I'm running isc-dhcpd to serve leases to clients. Is there a way to expire a
> lease before it normally would, i.e. force a client to re-negotiate a lease
> early? Perhaps some shell command akin to the following (which would be nice,
> but obviously doesn't work)::
>
>    dhcpd --revoke 192.168.1.24

I am pretty sure there is no message the dhcp server can send to a client 
to request it give up its IP address unless the client has asked for an 
address or renewal. dhcpd is a server, it doesn't initiate commands. I 
expect that if you modified the entry in the dhcpd.conf file and 
restarted dhcpd that the client would be assigned (and use) a new address 
the next time it tried to renew (which is typically when half the lease 
has been used up).

My view tends to be confirmed here -

   http://www.cites.illinois.edu/ipam/leases.html

daniel feenberg

>
> How do you revoke a client's lease prematurely?
>
> Thanks.
> -Modulok-
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LRH.2.02.1303091919001.17168>