Sunteți pe pagina 1din 5

30/04/2020 Mikrotik - how to set static DHCP reservations | Networking For Integrators

Basics
Mikrotik
Ubiquiti
Tips
FAQ
Request new topic

Networking For Integrators

Basics
Mikrotik
Ubiquiti
Tips
FAQ
Request new topic

Have a question? Ask or Search

DHCP Reservations
/Mikrotik /DHCP Reservations

August 15, 2012


admin
Mikrotik
3 Comments

How to set up static DHCP reservations in WinBox


1. Go to IP, then DHCP-Server
2. Click on Leases
3. Click the line that shows the IP address of the device you would like to make a DHCP Reservation for
1. At this point you will be looking in the Active Address column, near the middle
4. Click Make Static at the top of the window
5. The Address and MAC Address columns will populate
6. Double-click the device you are working on
7. In Address, enter the permanent IP address you would like the device to have – an address outside of the DHCP range
8. Click Comment and enter a description for the device.  e.g. “front yard IP camera”
9. Click OK.
10. At this point the device still has the OLD IP address that it got when it was first plugged in.
11. Do whatever steps necessary to force the device to grab the new DHCP address.  This could be a reboot, pulling the network cable
and plugging it back in, clicking Repair on the network connection on a PC, etc.
12. The device should grab the new DHCP address.

This is how a standard DHCP lease looks:

Double-click it and open that DHCP Lease’s window.  When you click “Make Static”, the main DHCP Server window will update, but
the DHCP Lease window will NOT update. You have to close it and reopen it to see the “General” tab. (see pic below)

networkingforintegrators.com/2012/08/dhcp-reservations/ 1/5
30/04/2020 Mikrotik - how to set static DHCP reservations | Networking For Integrators

In the Address field on the General tab, you can type in the permanent static DHCP address you would like the device to have.  (Ideally
outside your DHCP Pool so the same address doesn’t get handed out twice.)  It will not change immediately – the device will grab the
new IP the next time it goes to renew its DHCP lease. You can normally force this to happen by rebooting the device or unplugging the
network cable and plugging it back in.

The Address is the static DHCP reservation.  The Active Address is what the device currently has.  After a reboot/dhcp refresh the
Active Address will change to what is in the Address field.  Add a Comment to make your life easier and you’re done.

Semipro tip: I sometimes enter a static DHCP reservation for devices that have a hard-coded static IP address. Even though the DHCP
reservation will never be ‘active’, it will be in the list with all the DHCP devices and it’s a great reminder that “Oh yeah, I do have a
device at 192.168.1.248 that I forgot about.”

networkingforintegrators.com/2012/08/dhcp-reservations/ 2/5
30/04/2020 Mikrotik - how to set static DHCP reservations | Networking For Integrators

Related Posts

My First MikroTik Navigating Terminal Accessing a Accessing a Winbox for OSX


and WinBox Mikrotik router by Mikrotik router
MAC address through WinBox
instead of IP with over the internet
WinBox

Zemanta

Share this:
Facebook
Google
Twitter
Email

Tagged:dhcpwinbox

Related Articles

Mikrotik cable-test

Winbox for OSX

[Quick Steps] – Hairpin NAT

Mikrotik + Fios router

Mikrotik – how to import a script in an .rsc file

Hairpin NAT – or how to use your DynDNS address internally or externally

networkingforintegrators.com/2012/08/dhcp-reservations/ 3/5
30/04/2020 Mikrotik - how to set static DHCP reservations | Networking For Integrators

3 Comments Networking For Integrators 🔒 Privacy Policy


1 Login

 Recommend t Tweet f Share Sort by Best

Join the discussion…

LOG IN WITH OR SIGN UP WITH DISQUS ?

Name

TAS • 6 years ago


Hi, thanks for this very helpful. Three quick questions -

1. Are you showing two different ways to get this done above? Sorry I
am a newbie.... It looks like after step 12 you are showing a way to do
it by double clicking the IP itself - true?

2. Is it necessary to choose an address for a device that outside the


pool? What is the likelihood the server would hand out the same
address?

3. Even when I hit make static, how come the "expires after" timer is
still counting down? Is that the way it works or am I doing something
wrong.

Thanks in advance - and thanks for your help.


△ ▽ • Reply • Share ›

admin > TAS • 6 years ago


1 - No it's all the same way, but yes you can double-click the
DHCP address to open that window, then click Make Static
from there. You can also click Make Static with it just
highlighted, it doesn't really make a difference.
2 - That's just a "best practice." I don't know that a Mikrotik
would have trouble with issuing the same address twice, but
some lesser (consumer grade) routers do goofy things like
that.
3 - Because the device is still running DHCP, which inherently

Latest Articles

Your Wi-Fi Sucks


Mikrotik cable-test
Winbox for OSX
Integrators

Popular Articles

Accessing a Mikrotik router through WinBox over the internet


MAC address prefix = Manufacturer
Your Wi-Fi Sucks
Mikrotik – Basic VLAN example

Login / Register / RSS

Register
Log in

networkingforintegrators.com/2012/08/dhcp-reservations/ 4/5
30/04/2020 Mikrotik - how to set static DHCP reservations | Networking For Integrators
Entries RSS
Comments RSS
WordPress.org

Archives

Archives Select Month


InMotionHosting

Amazing live tech support! I actually look forward to talking to these guys when I have a question.

© Copyright, A Swish Theme

Tweet

4
Like

networkingforintegrators.com/2012/08/dhcp-reservations/ 5/5

S-ar putea să vă placă și