Koozali.org: home of the SME Server
Legacy Forums => Suggestions => Topic started by: Craig Jensen on January 06, 2003, 06:29:46 PM
-
This would be cool...
-
Craig Jensen wrote:
>
> This would be cool...
If you are talking about dhcp leases for the machines on your LAN, then it cannot be done. DHCP doesn't work that way. There is no way to revoke a DHCP lease. Once a client has a lease, it has a lease (until it expires). It may renew the lease, but the server can't ask it to do so. The same goes for relinquishing the lease. The client can do it; the server can do nothing but wait until is expires.
If you are talking about the DHCP lease your server has from your cable provider, then you can renew the lease by doing:
ifdown eth1
ifup eth1
from a root shell prompt.
Charlie
-
Is there a default duration of a lease? I will have to learn more
abut DHCP, and maybe assign static IP's. It sounds like most of the
control, once a lease is assigned, is on the client side.
Craig Jensen
-
here's a contrib that may help to review DHCP leases.
http://www.star-support.com/downloads/mitel/contrib/DHCP-manager-panel/
In order to change the standard dhcp settings, you must understand 'templating' your SME box (see http://www.e-smith.org/custom/). Then search these forums (all) for DHCP.
Hope it helps a bit.
Regards,
guestHH