Is there any way to setup more than 100 DHCP servers on an RouterOS (x86) system. I have about 200 /28 vlans that i need DCHP for. This is my second time to run into this, the last time i used an 2008 Server box to do DHCP and then setup forwarders for all of the VLANS. It sure would be easier if I could just do it all within RouterOS. RouterOS allows me to create up to 100 and then gives the following error:
setup failed to add ip pool: failed to generate valid ippool name
The hardware I am using is very fast so i am not worried about performance issues. (see link)
I’d suspect that the wizard only uses two digit numbers, it generates pool names like this: “dhcp_pool1”. Maybe raise an official ticket with support@mikrotik.com to get that extended. As a workaround you can rename the pools that already exist to something a little more useful than a random number that doesn’t tell you anything about its use.
If you do go with renaming and don’t care about the names (since they’re not useful right now, anyway), you could also use the below to rename all of them at once:
:foreach pool in=[/ip pool find] do={
:local name [/ip pool get $pool name];
/ip pool set $pool name="$name-renamed";
}
That will add “-renamed” to every existing pool, freeing up 100 names again.