I am trying to assign static IP addresses to clients that don’t expire, but have been unable to find a solution, at the moment I have set them to 1 day. Any help would be gratefully appreciated
Have you tried this?
IP->DHCP Server->Leases->find IP address to make static->click Make Static?
It will set the address to a static one. Next time that device (based on mac) returns, he will get same ip.
Jotne,
I have tried that but the expires after still counts down, and connection is lost from device when the lease expiries, so I am looking for a way to make it fully static without a lease time attached to it.
I do get the same IP every time.
Just to test I did set DHCP lease time to 5 min.
Connected a PC. Make IP static.
Waited 10 min.
PC conencts with same IP.
Lease listed with out “D” (dynamic) since its static.
Yes the timer goes down, but IP stays the same all time.
That’s how dhcp operates, the assignments are always limited in time, altough with “static” assignment its always same ip. It seems that your client isn’t renewing it’s ip, which normally happens when 1/2 of time allowed is reached.
Check why the client isn’t renewing, or configure static ip on the client itself.
@twistsd
If you set DHCP lease time to 5 min and look at the DHCP server Leases, you will see that the counter counts down from 5 min to 2:30, then go back to 5 min and start over. This is how DHCP works. The client will tak to the DHCP server after half the lease time and the DHCP server reset the counter.
Thanks for the help. I have set the lease time to 5mins, reset the router and it all seems to be working, the lease time counts down to 2.30 mins and the restarts again at 5 mins, and devices stay connected. I was not used to seeing the expire time for static address from other manufactures.
Is there also a way to set a specific ip to a device and then make it static? And if yes how do i do this.