hvw59601 wrote:
Camaleón wrote:
> On Sun, 08 Jan 2012 16:43:24 +0000, Camaleón wrote:
>
> (...)
>
>> And from man page I can't see an option which you can configure from
the
>> client side to define a renewal interval... hum.
>
> Hugo... let's go debugging.
>
> Open a console and type:
>
> telnet 192.168.0.190
> username: 1234 (type yours)
> password: xxxx (type yours)
>
> Then type:
>
> dhcp server lease list ?
------------------------------------------------------------------------
______ Thomson TG585 v8
___/_____/\
/ /\\ 8.6.E.9
_____/__ / \\
_/ /\_____/___ \ Copyright (c) 1999-2010, THOMSON
// / \ /\ \
_______//_______/ \ / _\/______
/ / \ \ / / / /\
__/ / \ \ / / / / _\__
/ / / \_______\/ / / / / /\
/_/______/___________________/ /________/ /___/ \
\ \ \ ___________ \ \ \ \ \ /
\_\ \ / /\ \ \ \ \___\/
\ \/ / \ \ \ \ /
\_____/ / \ \ \________\/
/__________/ \ \ /
\ _____ \ /_____\/
\ / /\ \ /___\/
/____/ \ \ /
\ \ /___\/ /____/ \ \ /
\ \ /___\/
\____\/
------------------------------------------------------------------------
_{TELMEX}=>dhcp server lease list
Lease Pool TTL State Clientid
0 192.168.1.190 LAN_private 23:59:23 USED [01]
e0:cb:4e:ce:bd:8e
{TELMEX}=>
>
> And see what's the current TTL (Time To Live) value for the current
> assigned lease (it should be 24 hours minus the time of the last renewal
> request from client).
>
>>From here (telnet) you can also configure the router's LAN DHCP
settings:
>
> dhcp server pool list (to display the current pool's name)
{TELMEX}=>dhcp server pool list
Pool Address Range Intf Admin Alloc State
0 LAN_private 192.168.1.[64-253] LocalNetwork up dynamic static
{TELMEX}=>
> dhcp server pool config (to configure the pool)
{TELMEX}=>dhcp server pool config
name = LAN_private
[state] = enabled
[allocation] = dynamic
[intf] = LocalNetwork
[index] =
[poolstart] = 192.168.1.64
[poolend] = 192.168.1.253
[netmask] = 24
[gateway] = 192.168.1.254
[server] = 192.168.1.254
[primdns] =
[secdns] =
[dnsmetric] = 0
[primwins] =
[secwins] =
[primwins] =
[secwins] =
[leasetime] = 864000
[renewtime] = 6000
[rebindtime] = 6000
[unnumbered] = disabled
[localgw] = disabled
[localdns] = enabled
:dhcp server pool config name=LAN_private leasetime=864000
renewtime=6000 rebindtime=6000
Error : Unable to configure LAN_private
<snip>
I did not quite show that right: this is what 'dhcp server pool config'
looks like:
_{TELMEX}=>dhcp server pool config
name = LAN_private
[state] = enabled
[allocation] = dynamic
[intf] = LocalNetwork
[index] =
[poolstart] = 192.168.1.64
[poolend] = 192.168.1.253
[netmask] = 24
[gateway] = 192.168.1.254
[server] = 192.168.1.254
[primdns] =
[secdns] =
[dnsmetric] = 0
[primwins] =
[secwins] =
[leasetime] = 86400
[renewtime] = 60
[rebindtime] =
[unnumbered] = disabled
[localgw] = disabled
[localdns] = enabled
:dhcp server pool config name=LAN_private
{TELMEX}=>
And there you see IMO where those renewals of 57 secs. come from:
'[renewtime] = 60'
Now I have to find a way to change that :-)
Hugo
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jeddn5$kal$1...@dough.gmane.org