Hello everyone.
We’ve noticed an interesting bug/feature with the DHCP Server.
We have a DHCP server configured to use ip pools in form of a subnet. It works, even though there is no trace of it on wiki.mikrotik.com:
https://wiki.mikrotik.com/wiki/Manual:IP/Pools says that pools should be configured in the form of from1-to1.
However, when the ip pool is set like 192.168.12.0/23, the mikrotik will successfully hand out IP addresses, except one thing - it will give out something like 192.168.13.255, which is a broadcast ip address, and it screws up routing.
/ip pool add name=Pool_Office2 ranges=192.168.12.0/23
Either document or fix it, please.
I assume this trick might work with any command using ranges= input value. It doesn’t matter if you use winbox or a serial console. The problem is 100% reproducible in GNS3, and occasional in real life.
Also, one of 15 mikrotik dhcp relay-server pairs suddenly started to give out addresses from bottom to top(from 192.168.27.1 to 192.168.17.255 in example, instead of 192.168.27.255 to 192.168.27.1), but that’s tolerable.
grumble grumblemikrotik, wtf?! even the dhcp is quirkygrumble grumble