replicating DHCP settings

Is it possibile to replicate dhcp server settings from one mikrotik from another. Is there setting for that ?

What do you mean by replicate ?

  1. If you mean to use the same settings, you may export ‘ip dhcp-server export’ configuration and paste this to your new DHCP-server.
    Make sure that interface names matches.

  2. If you mean to extend DHCP over than one broadcasting domain, DHCP-relay is used for that. Look at the documentation for more information about relay.

Thanks,

No I dont mean Relay.

But I see I have to use scripting, I want to export for example POOL1 and copy it to another mikrotik.

I want to use this in a case main dhcp server goes down, then all my client cant get IP so then backup dhcp server will go UP and use this copied pool.

can you give me a hint.

But problem is can it export and import it automatically ?

It should not be a problem to export/import, when interface names and IP addresses are the same, where DHCP server will be configured.

After matching up interface names you can use this…

/ip dhcp-server export

Can it be done for just one pool, when centralized dhcp fails, then I want to enable many small dhcp servers, one server per interface on few mikrotiks, when master dhcp server works again others will be disabled. So can I export different pools for matching subnets ?