Lease renewing every 5 minutes...?

Discussion in 'Tomato Firmware' started by Davatar, Aug 25, 2009.

  1. Davatar

    Davatar Addicted to LI Member

    I'm running Tomato Firmware v1.25.8634 ND USB Std on an Asus WL-520GU, and it looks like it's doing a lease renewal (presumably with my ISP) every 5 minutes. It goes like this:
    Aug 24 21:35:40 tomatohost udhcpc[257]: Sending renew...
    Aug 24 21:35:40 tomatohost udhcpc[257]: Lease of [external IP address] obtained, lease time 600

    and then repeats exactly 5 minutes later... on and on... with the log occasionally peppered with a cron error
    (cron.err crond[106]: USER root pid 423 cmd ntpsync --cron
    or cron.err crond[106]: USER root pid 465 cmd logger -p

    I noticed similar behavior (looping renewal) on earlier versions of Tomato, so I don't know if it's a setting that I somehow hosed, or if it's "normal" behavior, or what... Any insights, please?

  2. andlil

    andlil Addicted to LI Member

    That is normal with regards to the lease renewal, you get an IP with lease time of 600 sec (10 min) and as per the spec it tries to renew the IP halfway through, every 5 min.

    The cron error is best explained by someone else :)

  3. fyellin

    fyellin LI Guru Member

    I'm curious who your ISP is. I've never seen lease times that short.
  4. MeatballCB

    MeatballCB Guest

    I'm seeing the exact same thing on my Asus WL-520GU / 1.25 firmware'd router, though mine seems to be refreshing every 10 minutes (I can watch the status page and watch it tick down.)

    Normally I could care less, but a few times a day, I'll notice my connection hang/stutter for 20-30 seconds and if I go look, it's right when the lease time has counted down to zero. Must be something going wrong with the Lease renewal process.

    I'm also pretty sure the 10 minute lease renewal is not from the ISP, but it's actually the router/firmware that's trying to renew every 10 minutes. If I check the GUI on my actual DSL modem, I can see the DHCP address it has on the WAN port is older than 10 minutes old...

    Is there any way to change that default 10 minute renewal period?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice