All is working but the static lease is not working.
When I set a lease, other computers won't get any IP from DHCP anymore.
DHCP is only working if there is not any static lease in the list. With e.g. this:
it is not working at all.
I tried a lot of things. Only one IP, the DHCP Lease on 5 Minutes, the static lease on one year.
All the time, as soon as there is a static lease, other computers won't get an IP and won't connect.
Is this wellknown or am I just doing something totally wrong?
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Tue Mar 13, 2012 17:56 Post subject:
im running the same build, std_nokiad on my tm and I have no problems with static leases. I have 4 static on the router, some devices set up static on the device (xbox for instance), and the rest dhcp. I use no client lease time on the static leases and I am using uDHCPd for the dhcp demon (not dnsmasq).
what is your dhcp pool? your static leases are all over the place.. 20, 30, 110, 120, & 150?? _________________ [Moderator Deleted]
... I use no client lease time on the static leases and I am using uDHCPd for the dhcp demon (not dnsmasq).
what is your dhcp pool? your static leases are all over the place.. 20, 30, 110, 120, & 150??
Ah, I didn't know that, maybe this is the problem, I have the DHCP pool only from (192.168.0.)201 to 240.
Do the static leases need to be in the pool?
It sound logical though, I think I mixed it up with static IP (instead of lease).
So then I need to put the pool from 30 to 150, if I still want to use these IP addresses?
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Wed Mar 14, 2012 1:40 Post subject:
franc wrote:
Ah, I didn't know that, maybe this is the problem, I have the DHCP pool only from (192.168.0.)201 to 240.
Do the static leases need to be in the pool?
It sound logical though, I think I mixed it up with static IP (instead of lease).
So then I need to put the pool from 30 to 150, if I still want to use these IP addresses?
No, your static leases *do not* need to be in the "pool". Likely your problem is that you have specified a time on the leases. I am not sure why that option got added, but I have never had a time specified on a "static" lease. Try removing the lease time and see if that works. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
I wondered too why there is a lease time, this gives not much sense. First I tried a very long lease, about a year.
I will try without any time tomorrow.
thank you.
I found it!!!
At least!
It has nothing to do with the lease time but with the "+" in one of the name fields, as I showed above in the screenshot!
One of my static leases was called "Defy+" as name, without the "+" all works well.
I guess the parsing of the fields is buggy.
I should be able to name it however I want, because this is just a personal name-field!
I had this + already earlier in unconscientious suspicion, but I didn't followed it, so silly I was.