as I'm not that happy with the docs in regard to how the /ip/dhcp-server picks the right IP configuration defined in /ip/pool and /ip/dhcp-server network, I would like to share my interpretation, hoping it helps others as well.
Feel free to correct me.
- IP pool can be any range, it does not have to much the intended subnet for the DHCP Server. Connections would just simply fail if /ip/pool and /ip dhcp-server network address are not within the same subnet.
- DHCP Server identifies the intended network by the Address and Network (/ip/address) of the interface on which the DHCP Server shall run on
- The /ip dhcp-server network which belongs to the DHCP-Server is identified by the match of /ip/address of DHCP Server's Interface and the defined Gateway in /ip dhcp-server network.
- /ip dhcp-server network address defines Broadcast and Netmask address
documentation
https://wiki.mikrotik.com/wiki/Manual:IP/Pools
https://help.mikrotik.com/docs/display/ROS/IP+Pools
https://wiki.mikrotik.com/wiki/Manual:I ... r#Networks
https://help.mikrotik.com/docs/display/ ... CP-Network