[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhclient renewal



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


>
> (I remember I had to specifically use the telnet interface for setting up
> one feature of the DHCP server which did not stick when it was configured
> using the web interface)
>

Going further I discovered a menu interface and froze the whole thing up so that I had to do a hardware reset to the box.

What specifically am I trying to reconfigure in that pool?

Hugo


Reply to: