How can I set a static IP address for a specific device?

So I have a few devices that I really need to have the same IP address all the time. How exactly does one accomplish this with the mikrotik? For example I have a printer that really works best when it has the same IP address all the time. Is there a way to do a static DHCP so that the router always gives it the same IP address?

Sure, you can set the DHCP server to always assign a given IP to a certain MAC, or you can assign those IP’s to non existing MAC’s and set the device to a static IP.

See:
http://forum.mikrotik.com/t/add-a-static-ip-in-the-dhcp-list/153009/1

Or you could make holes in the IP pool, by setting non contiguous ranges, leaving out the static IP’s

Can’t get any simpler than that. Worked like a charm. Thank you. :smiley:

I suggest you to use on pool IP range x.x.x.101 → x.x.x.199 (99 dynamic devices on home suffice… or not?..)
and when you set static lease change the y.y.y.1xx to y.y.y.201 next device y.y.y.202 next y.y.y.203 and so on till y.y.y.254 for each device (~54 static devices on home suffice… or not?..),
on that way you do not have “leased static” IPs mixed with dynamic pool.

OK dumb question … I should have asked when I asked the original question but … how do you un-static it once you’ve made it static? How do you remove the static and make it dynamic again? I don’t see a button there called un-static. I tried clicking the static button again under the assumption that it might just be kind of like an on/off switch but that didn’t work.

You just delete the static. The next time the device makes a dhcp request, the dynamic entry will appear. (Though probably not with the previous IP address.)

That makes sense. Thank you.

Or just disable it if you want to track what address was used for that device. No cost but when you decide to have it backo, you just re-enable the rule.