0

I am trying to configure static leases for DD-WRT, so that my phone gets the same IP address every time it connects via wifi. I have set up a static lease under Services/Services/Static Leases. This works the first time, but the second time that the phone connects (e.g. disable wifi and re-enable, or go out and come back home) the original lease is still active and the phone gets assigned a new, different IP address.

Is there some way to make DD-WRT re-issue the static lease? It's the same device, same MAC address etc. I just end up with two entries on the Status/LAN/DHCP Clients page for it.

enter image description here

9
  • 1
    Do you have any DHCP debug logs or packet captures to share?
    – Spiff
    Commented Oct 19, 2015 at 0:05
  • There is a possibility that this is a bug in the DD-WRT software: static leases should be re-issued to the proper MAC address, irrespective of the lease time. Commented Oct 19, 2015 at 5:30
  • Where can I get logs from? Yes, I'm thinking it could be a bug. I'm using the latest stable release for my router (Buffalo WZR-D1800H, v24-SP2). Should I upgrade? It's a couple of years old now.
    – user237698
    Commented Oct 19, 2015 at 7:52
  • You should definitely upgrade. The router database at dd-wrt.com is borked. Look at the forums and grab a newer/latest release.
    – duenni
    Commented Oct 19, 2015 at 7:59
  • I'm just a little nervous about using beta firmware. Is there a way to find a recent stable release? The FTP site doesn't seem to give any hints. I require stability.
    – user237698
    Commented Oct 19, 2015 at 9:48

1 Answer 1

0

What you want to achieve is an infinite lease time. For that you have to leave the lease time box empty during the creation of the static lease.

2
  • I'll try it and report back.
    – user237698
    Commented Nov 6, 2015 at 14:20
  • This doesn't seem to have fixed the problem.
    – user237698
    Commented Nov 7, 2015 at 10:00

You must log in to answer this question.