DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

DHCP Lease Time

  • lectrician
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 Sep 2008 12:39 #51921 by lectrician
DHCP Lease Time was created by lectrician
Is is possible to alter the lease time for DHCP?

I am running a DHCP server for an open WiFi area, and it would be nice to get a rough idea of usuage by looking at the DHCP assignments.

At the moment, a person can aquire an IP Address, use the internet for a couple of minutes, and then never return. The DHCP assignement remains for a fair while though.

Please Log in or Create an account to join the conversation.

More
16 Feb 2009 14:10 #54388 by andycooper
Replied by andycooper on topic Re: DHCP Lease Time

Lectrician wrote: Is is possible to alter the lease time for DHCP?

I am running a DHCP server for an open WiFi area, and it would be nice to get a rough idea of usuage by looking at the DHCP assignments.

At the moment, a person can aquire an IP Address, use the internet for a couple of minutes, and then never return. The DHCP assignement remains for a fair while though.



You can set the lease time through telnet. For example to set lease time to an hour (3600 seconds), the last line is a check to see if it has applied.

At a command prompt:

telnet

srv set leasetime 3600

srv set leasetime ?

Please Log in or Create an account to join the conversation.

  • lectrician
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
25 Mar 2009 19:44 #55037 by lectrician
Replied by lectrician on topic DHCP Lease Time
Bump, Bump, Bumpaty Bump!

Sorry, forget I even posted this!

I have tried this command through telnet and it says the command is unknown?

This is the Vigor 2800G?

Please Log in or Create an account to join the conversation.

More
24 Mar 2010 11:34 #61325 by benji
Replied by benji on topic DHCP Lease Time
Try:

Code:
srv dhcp leasetime ?
[/code]

Please Log in or Create an account to join the conversation.

More
24 Mar 2010 16:16 #61339 by coderus
Replied by coderus on topic DHCP Lease Time
Will these changes be persisted over a reboot ?

Please Log in or Create an account to join the conversation.

More
24 Mar 2010 16:22 #61342 by benji
Replied by benji on topic DHCP Lease Time
I havent tested this specific setting but I dont see why it shouldnt. Other telnet only settings do that I have used.

Please Log in or Create an account to join the conversation.

Moderators: ChrisSami