currently I’m use my linux router with ISC DHCP server with below setting which is assign each user with an static IP .
in meanwhile in my test environment I use mikrotik routeros and I have configured as DHCP server as well and my plan is to change my router & dhcp server from linux box to mikrotik and migration all my users over 100 user with zero downtime. but till now i didn’t find the right configuration which make the dhcp same way of my linux box
I need to assign each client an special IP none generated from pool.
Make static may not be the way to do 100 users, but if you do one case and export the configuration before and after, you can compare the exports and then write CLI commands based on that example. This can be a very useful technique since the documentation is often short on examples. Based on that kind of experiment, something like this should work for you too:
it’s work , issue it was with client-id after export the configuration before and after, and compare the exports found the client-id look like mac-address but have one more field start with 1: and any field start with 00: or with 0c: will change it to 0: and c: like that
example
Can someone explain what the server-name should be in the add lease command? I assume it’s something internal int he router, but not sure if it’s something I create or something else?