dhcp_pool Limit?

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)

http://www.balticnetworks.com/routermaxx-10-port-gigabit-1u-rackmount-router-core-2-edition.html?options=cart



Any help would be very much appreciated.

Yes, it is possible to have more than 100 DHCP servers.
Please post your commands used to create DHCP server.

[admin@MikroTik] > /ip dhcp-server
[admin@MikroTik] /ip dhcp-server> setup
Select interface to run DHCP server on

dhcp server interface: 3302
Select network for DHCP addresses

dhcp address space: 10.221.118.0/28
Select gateway for given network

gateway for dhcp network: 10.221.118.1
Select pool of ip addresses given out by DHCP server

addresses to give out: 10.221.118.2-10.221.118.14
Select DNS servers

dns servers: 208.67.222.222,208.67.220.220
Select lease time

lease time: 3d
failure: setup failed to add ip pool: failed to generate valid ippool name
[admin@MikroTik] /ip dhcp-server>

Does it work when you don’t use the wizard but add things manually?

/ip pool
add name=3302-dhcp-pool ranges=10.221.118.2-10.221.118.14
/ip dhcp-server
add address-pool=3302-dhcp-pool authoritative=yes disabled=no interface=3302 lease-time=3d name=dhcp-3302
/ip dhcp-server network
add address=10.221.118.0/28 dns-server=208.67.222.222,208.67.220.220 gateway=10.221.118.1

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.

AHHA!!
Success is sweet!!
Thanks to everyone!! I really appreciate the information.